import React from 'react'; import StaticPageScaffold from '@/components/layout/StaticPageScaffold.tsx'; import { useTranslation } from '@/hooks/useI18n.tsx'; interface PrivacySection { title: string; content: string; } const PrivacyPage = () => { const { t, t_raw } = useTranslation(); // The translation key 'privacyPage.sections' should return an array of {title, content} objects const sections = t_raw('privacyPage.sections') as PrivacySection[]; return (

{t('privacyPage.lastUpdated', { date: new Date().toLocaleDateString('ru-RU') })}

{Array.isArray(sections) && sections.map((section, index) => (

{section.title}

{section.content}

))}
); }; export default PrivacyPage;