import React, { useState, useEffect, useRef } from 'react'; const MySafety24x7 = () => { const [isMenuOpen, setIsMenuOpen] = useState(false); const [scrolled, setScrolled] = useState(false); const scrollProgressRef = useRef(null); useEffect(() => { const handleScroll = () => { const scrollTop = window.scrollY; const scrollHeight = document.documentElement.scrollHeight - document.documentElement.clientHeight; const scrollPercentage = (scrollTop / scrollHeight) * 100; if (scrollProgressRef.current) { scrollProgressRef.current.style.width = scrollPercentage + '%'; } setScrolled(scrollTop > 100); }; window.addEventListener('scroll', handleScroll); // Fade-in Observer const fadeElements = document.querySelectorAll('.fade-in'); const fadeObserver = new IntersectionObserver((entries) => { entries.forEach(entry => { if (entry.isIntersecting) { entry.target.classList.add('visible'); } }); }, { threshold: 0.1, rootMargin: '0px 0px -100px 0px' }); fadeElements.forEach(el => fadeObserver.observe(el)); // Counter Observer const statsContainer = document.querySelector('.stats-container'); let counterObserver; if (statsContainer) { counterObserver = new IntersectionObserver((entries) => { entries.forEach(entry => { if (entry.isIntersecting) { const counters = entry.target.querySelectorAll('.stat-number'); counters.forEach(counter => { const target = parseInt(counter.getAttribute('data-target')); const duration = 2000; const step = target / (duration / 16); let current = 0; const updateCounter = () => { current += step; if (current < target) { counter.textContent = Math.floor(current).toLocaleString(); requestAnimationFrame(updateCounter); } else { counter.textContent = target.toLocaleString() + (target === 99 ? '%' : '+'); } }; updateCounter(); }); counterObserver.unobserve(entry.target); } }); }, { threshold: 0.5 }); counterObserver.observe(statsContainer); } return () => { window.removeEventListener('scroll', handleScroll); fadeObserver.disconnect(); if (counterObserver && statsContainer) counterObserver.unobserve(statsContainer); }; }, []); const handleNavClick = (e, id) => { e.preventDefault(); setIsMenuOpen(false); const element = document.getElementById(id); if (element) { const offsetTop = element.offsetTop - 80; window.scrollTo({ top: offsetTop, behavior: 'smooth' }); } }; return ( <>
India's most trusted QR-based safety platform connecting vehicle owners, visitors, and emergency services — all through a simple scan.
MySafety24x7 is revolutionizing personal and community safety through innovative QR-based technology
MySafety24x7 is an Indian safety mobile app and QR-based alert platform focused on vehicle alerts, visitor authorization, smart IDs, and emergency assistance. Our mission is to make communities safer through innovative technology that connects people in real time.
Whether you need to alert a vehicle owner about an open window, authorize a visitor at your doorstep, share your contact details instantly, or reach emergency services — we've got you covered.
Powerful features designed to keep you connected, protected, and in control
Let people scan your vehicle's QR code to notify you about parking issues, open windows, flat tires, lights/ignition left on, damage, or locked pets/children. Real-time alerts keep your vehicle safe.
Authorize visitors at your home with a simple QR scan. Know who's at your door before you open it — perfect for enhanced home security and visitor management.
Share your identity or contact details instantly via QR scan. No more typing — just scan and connect with professionals and acquaintances seamlessly.
Quick access to police, ambulance, fire, and women's helplines. Includes RTO challan viewing and cloud document storage with renewal reminders for complete peace of mind.
Store important documents securely in the cloud with automatic renewal reminders. Never miss a deadline for your vehicle insurance, PUC, or driving license.
View and manage your RTO challans directly from the app. Stay updated on traffic violations and pay them instantly without visiting government offices.
High-quality, weather-resistant QR decals designed for vehicles and homes
Our premium QR decal stickers are made from high-quality, weather-resistant materials designed to withstand all weather conditions. Perfect for cars, bikes, trucks, and any vehicle that needs smart protection.
Reach out to our team — we're available 24x7 to assist you
8, 1-1, Palace Rd,
opp. Nagar, Bengaluru,
Karnataka 560052