'use client'; import Link from 'next/link'; import { useAuth } from '@/lib/hooks/useAuth'; import { Button } from '@/components/ui/common/Button'; import { ThemeToggle } from '@/components/ui/common/ThemeToggle'; import { Building2, Beaker, Calendar, Shield, Clock, Users } from 'lucide-react'; export default function HomePage() { const { user } = useAuth(); return (
{/* Header */}
DyoLink
{user ? ( ) : ( <> )}
{/* Hero Section */}

Connect Dental Clinics & Labs Seamlessly

Streamline communication between dental professionals. Start with a 30-day free trial, no credit card required.

{!user && ( )}
{/* Features */}
} title="For Clinics" description="Manage patients, appointments, and send cases to labs instantly." /> } title="For Labs" description="Receive cases, track progress, and communicate with clinics." /> } title="Team Management" description="Add up to 5 team members during trial. Scale as you grow." /> } title="30-Day Trial" description="Full access to all features. No credit card required." /> } title="Real-time Updates" description="Get instant notifications on case status changes." /> } title="Secure & Compliant" description="HIPAA-compliant with enterprise-grade security." />
{/* Footer */}
); } function FeatureCard({ icon, title, description, }: { icon: React.ReactNode; title: string; description: string; }) { return (
{icon}

{title}

{description}

); }