fix: fehlende Dateien aus vorherigem Commit nachreichen

CSRF-Schutz, DHL-Versandmarken, Entra-ID-SSO, ApiCore-Sync und die
Harvest-isPublished-Migration waren gestaged aber nicht im letzten
Commit enthalten — Gitea-Actions-Build brach mit "Module not found"
fuer genau diese Dateien ab.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
This commit is contained in:
Nick SzaunigandClaude Sonnet 5 committed 2026-09-03 20:10:50 +02:00
1 parent 4d3100e9ba
commit b6db9254a9
10 files changed
+1205

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
import { getContentValues } from "@/lib/content";
const SOCIAL_KEYS = ["social.tiktok", "social.youtube", "social.instagram"] as const;
export interface SocialLinks {
tiktok: string;
youtube: string;
instagram: string;
}
/**
* Admin-gepflegte Social-Media-Links (siehe admin/inhalte, Gruppe "Social
* Media") — nicht lokalisiert, wie Firmendaten (company-info.ts). Ein leerer
* String bedeutet "kein Profil hinterlegt"; der Footer rendert dann kein
* Icon fuer diese Plattform (siehe components/site-chrome.tsx Footer()).
*/
export async function getSocialLinks(): Promise<SocialLinks> {
const v = await getContentValues([...SOCIAL_KEYS], "de");
return {
tiktok: v["social.tiktok"],
youtube: v["social.youtube"],
instagram: v["social.instagram"],
};
}