"use client"
import Header from '@/components/Header'
import Footer from '@/components/Footer'
import Button from '@/components/objects/Button'
import Link from '@/components/objects/Link'
import LastPlayed from '@/components/widgets/LastPlayed'
import Image from 'next/image'
import { Mail } from 'lucide-react'
import { useTranslation } from 'react-i18next'
export default function Home() {
const { t } = useTranslation()
const mainStrings: string[][] = [
t('home.whoAmI', { returnObjects: true }) as string[],
t('home.whatIDo', { returnObjects: true }) as string[],
t('home.whereYouAre', { returnObjects: true }) as string[]
]
const mainSections = [
t('home.sections.whoIAm'),
t('home.sections.whatIDo'),
t('home.sections.whereYouAre')
]
return (
{t('home.profile.name')}
{t('home.profile.description')}
{mainSections.map((section, secIndex) => (
{section}
{mainStrings[secIndex].map((text: string, index: number) => (
{text}
{secIndex === 2 && index === 1 && (
<>
CVE-2025-29927
.
>
)}
))}
))}
);
}