import { Link } from 'react-router-dom'; import { useAuthStore } from '../store/authStore'; import { Button } from '../components/ui'; import { MessageSquare, Zap, Shield, Palette, Code, BarChart3, ArrowRight, Check, Star } from 'lucide-react'; export function HomePage() { const { isAuthenticated } = useAuthStore(); const features = [ { icon: MessageSquare, title: 'Advanced Chat Interface', description: 'Modern, responsive chat UI similar to ChatGPT with real-time messaging.' }, { icon: Code, title: 'Rich Content Rendering', description: 'Supports Markdown, Mermaid diagrams, syntax highlighting, and more.' }, { icon: Palette, title: 'Multiple Themes', description: 'Dark mode, light mode, and custom themes for personalized experience.' }, { icon: Zap, title: 'Fast & Responsive', description: 'Built with modern React and optimized for performance.' }, { icon: Shield, title: 'Secure Authentication', description: 'JWT-based authentication with secure user management.' }, { icon: BarChart3, title: 'Analytics Ready', description: 'Track usage, conversations, and user engagement metrics.' } ]; const pricingPlans = [ { name: 'Free', price: '$0', period: '/month', description: 'Perfect for getting started', features: [ '10 conversations per month', 'Basic AI models', 'Standard support', 'Web access' ], popular: false }, { name: 'Pro', price: '$19', period: '/month', description: 'For power users', features: [ 'Unlimited conversations', 'Advanced AI models', 'Priority support', 'API access', 'Custom themes', 'Export conversations' ], popular: true }, { name: 'Enterprise', price: '$99', period: '/month', description: 'For teams and businesses', features: [ 'Everything in Pro', 'Team collaboration', 'Admin dashboard', 'SSO integration', 'Custom branding', 'Dedicated support' ], popular: false } ]; return (
{/* Navigation */} {/* Hero Section */}

Build Amazing {' '}AI Chat Apps

The most complete SaaS template for building intelligent chat applications. Modern UI, advanced content rendering, and enterprise-ready architecture.

{isAuthenticated ? ( ) : ( <> )}
{/* Features Section */}

Everything you need to build amazing chat experiences

Our template includes all the components and features you need to create a professional chat application.

{features.map((feature, index) => (

{feature.title}

{feature.description}

))}
{/* Pricing Section */}

Simple, transparent pricing

Choose the plan that's right for you. All plans include our core features with different usage limits.

{pricingPlans.map((plan, index) => (
{plan.popular && (
Most Popular
)}

{plan.name}

{plan.price} {plan.period}

{plan.description}

    {plan.features.map((feature, featureIndex) => (
  • {feature}
  • ))}
))}
{/* CTA Section */}

Ready to build the future of chat?

Join thousands of developers who trust our platform to build amazing chat experiences.

{/* Footer */}
); }