diff --git a/src/app/unternehmen/page.tsx b/src/app/unternehmen/page.tsx index d1431e4..bbe35e7 100644 --- a/src/app/unternehmen/page.tsx +++ b/src/app/unternehmen/page.tsx @@ -1,9 +1,10 @@ import type { Metadata } from "next"; import { Container, SectionHeading } from "@/components/ui"; -import { PlaceholderImage } from "@/components/placeholder-image"; +import { ContentImage } from "@/components/content-image"; import { BusinessInquiryForm } from "@/components/business-inquiry-form"; import { getLocale } from "@/i18n/locale"; import { getDictionary } from "@/i18n/get-dictionary"; +import { getContentValue } from "@/lib/content"; export async function generateMetadata(): Promise { const t = getDictionary(await getLocale()); @@ -15,10 +16,18 @@ export async function generateMetadata(): Promise { } export default async function UnternehmenPage() { - const t = getDictionary(await getLocale()); + const locale = await getLocale(); + const t = getDictionary(locale); + const image = await getContentValue("unternehmen.image", locale); return (
- + "" }, { key: "herkunft.image", group: "pages", labelDe: "Herkunft-Seite: Bild", labelEn: "Herkunft page: Image", type: "image", localized: false, getDefault: () => "" }, + { key: "unternehmen.image", group: "pages", labelDe: "Geschäftskunden-Seite: Bild", labelEn: "Business page: Image", type: "image", localized: false, getDefault: () => "" }, // --- Social Media (nicht lokalisiert, leer = Icon wird im Footer nicht // angezeigt, siehe components/site-footer.tsx Footer()) ---