'use client' import { Container, Grid, Card, CardContent, Typography, Box, Button, Paper, useTheme, } from '@mui/material' import { MenuBook, Chat, Favorite as Prayer, Search, AutoStories, Favorite, } from '@mui/icons-material' import { useRouter } from 'next/navigation' import { useTranslations, useLocale } from 'next-intl' export default function Home() { const theme = useTheme() const router = useRouter() const t = useTranslations('home') const locale = useLocale() const features = [ { title: t('features.bible.title'), description: t('features.bible.description'), icon: , path: '/bible', color: theme.palette.primary.main, }, { title: t('features.chat.title'), description: t('features.chat.description'), icon: , path: '/chat', color: theme.palette.secondary.main, }, { title: t('features.prayers.title'), description: t('features.prayers.description'), icon: , path: '/prayers', color: theme.palette.success.main, }, { title: t('features.search.title'), description: t('features.search.description'), icon: , path: '/search', color: theme.palette.info.main, }, ] return ( {/* Hero Section */} {t('hero.title')} {t('hero.subtitle')} {t('hero.description')} {/* Features Section */} {t('features.title')} {t('features.subtitle')} {features.map((feature, index) => ( router.push(`/${locale}${feature.path}`)} > {feature.icon} {feature.title} {feature.description} ))} {/* Stats Section */} 66 {t('stats.books')} 31,000+ {t('stats.verses')} 24/7 {t('stats.aiAvailable')} {/* CTA Section */} {t('cta.title')} {t('cta.description')} ) }