import { ComingSoon, InfoList, SourceNote, } from "@/components/organization/OrganizationLayout"; import { RichText } from "@/components/pages/RichText"; import { Button } from "@/components/ui/Button"; import { Card } from "@/components/ui/Card"; import { Link } from "@/i18n/routing"; import type { SitePage } from "@/lib/site-pages"; import { getTranslations } from "next-intl/server"; import type { ReactNode } from "react"; function PageAnchor({ href, children, className, }: { href: string; children: ReactNode; className?: string; }) { if (href.startsWith("/")) { return ( {children} ); } return ( {children} ); } function PeopleBlock({ page }: { page: SitePage }) { const hasPhotos = page.people.some((person) => person.photo); if (hasPhotos) { return (
{person.position}
) : null}{person.degree}
) : null}{person.name}
{person.position ? ({person.position}
) : null}{row.position}
{row.name}
| {t("reception.position")} | {t("reception.hours")} | {t("address")} |
|---|---|---|
|
{row.position} {row.name} |
{row.hours || "—"} | {row.address || "—"} |
{item.status}
) : null}{item.role}
: null}{item.extract}
: null} {item.href ? ({page.tableCaption}
) : null}{row.category}
{row.condition ? ({row.condition}
) : null}| {t("category")} | {t("discount")} | {t("documents")} |
|---|---|---|
|
{row.category} {row.condition ? ({row.condition} ) : null} |
{row.discount} | {row.documents} |
{page.subtitle}
) : null}{item.answer}
{page.ctaHint}{" "}