import { WebContentAnalyzer } from '@/ai/text/components/web-content-analyzer'; import { constructMetadata } from '@/lib/metadata'; import { getUrlWithLocale } from '@/lib/urls/urls'; import { BotIcon, FileTextIcon, GlobeIcon, ZapIcon } from 'lucide-react'; import type { Metadata } from 'next'; import type { Locale } from 'next-intl'; import { getTranslations } from 'next-intl/server'; export async function generateMetadata({ params, }: { params: Promise<{ locale: Locale }>; }): Promise { const { locale } = await params; const t = await getTranslations({ locale, namespace: 'Metadata' }); const pt = await getTranslations({ locale, namespace: 'AITextPage' }); return constructMetadata({ title: pt('title') + ' | ' + t('title'), description: pt('description'), canonicalUrl: getUrlWithLocale('/ai/text', locale), }); } export default async function AITextPage() { const t = await getTranslations('AITextPage'); return (
{/* Header Section */}
{t('title')}

{t('analyzer.title')}

{t('subtitle')}

{/* Web Content Analyzer Component */}
{/* Features Section */}

{t('features.scraping.title')}

{t('features.scraping.description')}

{t('features.analysis.title')}

{t('features.analysis.description')}

{t('features.results.title')}

{t('features.results.description')}

); }