"use client" import Header from '@/components/Header' import Footer from '@/components/Footer' import Button from '@/components/objects/Button' import LastPlayed from '@/components/widgets/NowPlaying' import Image from 'next/image' import {CreditCard, Mail, PillBottle, Scale, UserCircle} from 'lucide-react' import { BsArrowClockwise } from "react-icons/bs"; import { FaHandcuffs } from "react-icons/fa6" import { SiGithubsponsors, SiNextdotjs, SiTailwindcss, SiDocker, SiLinux, SiTypescript, SiClaude, SiPostgresql } from 'react-icons/si' import { useTranslation } from 'react-i18next' import {TbHeartHandshake, TbUserHeart, TbMessage} from "react-icons/tb"; import {BiDonateHeart} from "react-icons/bi"; 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 (
My Profile Picture

{t('home.profile.name')}

{t('home.profile.description')}

LIVE
{mainSections.map((section, secIndex) => (

{section === t('home.sections.whereYouAre') ? (
{section}
) : section === t('home.sections.whoIAm') ? (
{section}
) : section === t('home.sections.whatIDo') ? (
{section}
) : (section)}

{section === t('home.sections.whatIDo') && (
)} {mainStrings[secIndex].map((text: string, index: number) => (

{text}

))}
))}

{t('home.contact.title')}

{t('home.contact.description')}

{t('home.donation.title')}

{t('home.donation.description')}

{t('home.donation.charities.title')}

{t('home.donation.donate.title')}

); }