import { useTranslation } from 'react-i18next'; import { Helmet } from 'react-helmet-async'; import { FileText, FileOutput, Minimize2, ImageIcon, Film, Hash, Eraser, } from 'lucide-react'; import ToolCard from '@/components/shared/ToolCard'; import AdSlot from '@/components/layout/AdSlot'; interface ToolInfo { key: string; path: string; icon: React.ReactNode; bgColor: string; } const tools: ToolInfo[] = [ { key: 'pdfToWord', path: '/tools/pdf-to-word', icon: , bgColor: 'bg-red-50' }, { key: 'wordToPdf', path: '/tools/word-to-pdf', icon: , bgColor: 'bg-blue-50' }, { key: 'compressPdf', path: '/tools/compress-pdf', icon: , bgColor: 'bg-orange-50' }, { key: 'imageConvert', path: '/tools/image-converter', icon: , bgColor: 'bg-purple-50' }, { key: 'videoToGif', path: '/tools/video-to-gif', icon: , bgColor: 'bg-emerald-50' }, { key: 'wordCounter', path: '/tools/word-counter', icon: , bgColor: 'bg-blue-50' }, { key: 'textCleaner', path: '/tools/text-cleaner', icon: , bgColor: 'bg-indigo-50' }, ]; export default function HomePage() { const { t } = useTranslation(); return ( <> {t('common.appName')} — {t('home.heroSub')} {/* Hero Section */}

{t('home.hero')}

{t('home.heroSub')}

{/* Ad Slot */} {/* Tools Grid */}

{t('home.popularTools')}

{tools.map((tool) => ( ))}
{/* Ad Slot - Bottom */} ); }