Fix runttime
This commit is contained in:
+18
-11
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user