import { Link } from "@/i18n/routing"; import { Card, Typography } from "poyraz-ui/atoms"; import { VOLUNTEER_COMMUNITY_ITEMS } from "@/data/volunteer-community"; import { useTranslations, useLocale } from "next-intl"; import { getLocalizedValue } from "@/lib/locale"; export function VolunteerCommunityContent() { const t = useTranslations("About"); const locale = useLocale(); return (
{t("backToAbout")}
{VOLUNTEER_COMMUNITY_ITEMS.map((item) => ( {item.title} {t("timelineLabel")} {getLocalizedValue(item.timeline, locale)} {item.link ? ( {t("linkLabel")}{" "} {item.link.replace("https://", "")} ) : null} {t("focusLabel")} {getLocalizedValue(item.focus, locale)} ))}
); }