import { getTranslations } from "next-intl/server"; export default async function ParentCompanySection() { const t = await getTranslations("parentCompany"); const metrics = [ { value: t("metric1Value"), label: t("metric1Label") }, { value: t("metric2Value"), label: t("metric2Label") }, { value: t("metric3Value"), label: t("metric3Label") }, { value: t("metric4Value"), label: t("metric4Label") }, { value: t("metric5Value"), label: t("metric5Label") }, ]; const bizTypes = [ { title: t("biz1Title"), stats: t("biz1Stats") }, { title: t("biz2Title"), stats: t("biz2Stats") }, { title: t("biz3Title"), stats: t("biz3Stats") }, { title: t("biz4Title"), stats: t("biz4Stats") }, ]; return (
{t("bgLabel")} {t("stockCode")}

{t("title")}

{t("subtitle")}

{metrics.map((m) => (
{m.value} {m.label}
))}
{t("bizLabel")}
{bizTypes.map((b) => (
{b.title} {b.stats}
))}
); }