"use client" import { useState, useEffect } from 'react' import { motion } from 'framer-motion' import { Shield, Lock, Zap, Globe, ArrowUp, Key } from 'lucide-react' import { PasswordGenerator } from '@/components/PasswordGenerator' import { FAQ } from '@/components/FAQ' import { FloatingCTA } from '@/components/FloatingCTA' export default function HomePage() { const [showScrollTop, setShowScrollTop] = useState(false) useEffect(() => { const handleScroll = () => { setShowScrollTop(window.scrollY > 400) } window.addEventListener('scroll', handleScroll) return () => window.removeEventListener('scroll', handleScroll) }, []) const scrollToTop = () => { window.scrollTo({ top: 0, behavior: 'smooth' }) } const features = [ { icon: Lock, title: "End-to-End Client-Side Encryption", description: "Your passwords are generated locally in your browser. Nothing is ever sent to our servers." }, { icon: Zap, title: "Works Offline (PWA)", description: "Install as an app and generate passwords even without an internet connection." }, { icon: Globe, title: "100% Privacy-First", description: "Transparent code that you can audit. No tracking, no data collection, no server communication." } ] return (
Generate strong, unique passwords in seconds — fully client-side, private, and secure.
Built with privacy and security as the foundation, not an afterthought.
{feature.description}
Customize your password settings and generate secure passwords instantly.
Everything you need to know about PassMaster and password security.