Fix runttime

This commit is contained in:
diyaa
2026-03-13 03:56:40 +01:00
parent d1ed5c641b
commit c9e9ae6b90
8 changed files with 75 additions and 35 deletions
+18 -11
View File
@@ -1,6 +1,15 @@
export type ModeVariants<T> = {
comingSoon: T;
full: T;
};
export type CommonVariantContent = {
siteTagline: string;
footerBuiltWith: string;
};
export type CommonContent = {
siteTitle: string;
siteTagline: string;
navLabel: string;
languageSwitcherLabel: string;
themeToggleLabel: string;
@@ -12,8 +21,7 @@ export type CommonContent = {
contact: string;
};
footerRights: string;
footerBuiltWith: string;
availabilityBadge: string;
variants: ModeVariants<CommonVariantContent>;
};
export type HomeVariantContent = {
@@ -29,10 +37,7 @@ export type HomeVariantContent = {
}>;
};
export type HomeContent = {
comingSoon: HomeVariantContent;
full: HomeVariantContent;
};
export type HomeContent = ModeVariants<HomeVariantContent>;
export type AboutContent = {
kicker: string;
@@ -64,11 +69,13 @@ export type ContactContent = {
channels: ContactChannelContent[];
};
export type MetadataVariantContent = {
title: string;
description: string;
};
export type MetadataContent = {
homeTitle: string;
homeDescription: string;
fullHomeTitle: string;
fullHomeDescription: string;
home: ModeVariants<MetadataVariantContent>;
aboutTitle: string;
aboutDescription: string;
contactTitle: string;