"use client"; import Image from "next/image"; import { Link } from "@/i18n/routing"; import { Badge, Card, Typography } from "poyraz-ui/atoms"; import { Sheet, SheetContent, SheetTitle, SheetTrigger } from "poyraz-ui/molecules"; import { StaggerContainer, StaggerItem } from "@/components/motion-wrapper"; import { BOOKMARKS } from "@/data/bookmarks"; import { certificates } from "@/data/certificates"; import { EDUCATION } from "@/data/education"; import { EXPERIENCE } from "@/data/experience"; import { useTranslations, useLocale } from "next-intl"; import { getLocalizedValue } from "@/lib/locale"; export function AboutContent() { const t = useTranslations("About"); const locale = useLocale(); return (
{t("aboutText")}
{EDUCATION.map((item) => ( {getLocalizedValue(item.title, locale)} {item.institution} {getLocalizedValue(item.period, locale)} ))}
{t("allCertificates")}
{certificates.map((item) => (
{getLocalizedValue(item.name,
{getLocalizedValue(item.name, locale)} {item.organization} {getLocalizedValue(item.date, locale)}
))}
{EXPERIENCE.map((item) => ( {getLocalizedValue(item.role, locale)} {item.company} {getLocalizedValue(item.period, locale)} ))}
{t("referencesTitle")} {t("referencesDesc")} {t("volunteerTitle")} {t("volunteerDesc")} {t("bookmarksTitle")}
{BOOKMARKS.map((item) => (
{item.title} {item.tag}
{getLocalizedValue(item.description, locale)} {item.href.replace("https://", "")}
))}
); }