import { Link } from 'react-router-dom'; import { motion } from 'motion/react'; import { Receipt, ChevronRight, BarChart3, Users, Zap, ShieldCheck, ArrowRight, Sparkles } from 'lucide-react'; import { auth } from '../firebase'; import { useEffect, useState } from 'react'; import { onAuthStateChanged, User } from 'firebase/auth'; export default function Home() { const [user, setUser] = useState(null); useEffect(() => { const unsubscribe = onAuthStateChanged(auth, (u) => setUser(u)); return () => unsubscribe(); }, []); return (
{/* Navigation */} {/* Hero Section */}
{/* Decorative Background */}
Next Gen Business Suite

Run your business
without the friction.

The all-in-one platform for modern entrepreneurs. Automate your invoicing, manage customers, and track growth with precision.

Start for Free
{/* Dashboard Preview */}
Dashboard Preview
{/* Floating Elements */}

Revenue

₹1,24,500

{/* Features Grid */}

Built for speed.
Designed for scale.

Everything you need to manage your business operations in one unified dashboard.

{[ { icon: , title: "Smart Invoicing", desc: "Create professional GST-ready invoices in seconds. Automated tax calculations and beautiful templates." }, { icon: , title: "CRM & Contacts", desc: "Track customer history, manage relationships, and grow your database with zero effort." }, { icon: , title: "Deep Analytics", desc: "Real-time insights into your revenue, top products, and business performance metrics." } ].map((feature, i) => (
{feature.icon}

{feature.title}

{feature.desc}

))}
{/* CTA Section */}

Ready to transform
your business?

Join thousands of entrepreneurs who are scaling their businesses with BizFlow. No credit card required.

Get Started Now
{/* Footer */}
); }