diyaa.de/content/types.ts
2026-03-13 03:16:25 +01:00

51 lines
866 B
TypeScript

export type CommonContent = {
siteTitle: string;
navLabel: string;
languageSwitcherLabel: string;
nav: {
home: string;
about: string;
contact: string;
};
footerRights: string;
};
export type HomeContent = {
kicker: string;
title: string;
description: string;
primaryCta: string;
highlights: Array<{
value: string;
label: string;
}>;
};
export type AboutContent = {
kicker: string;
title: string;
story: string;
skillsTitle: string;
skills: string[];
experienceTitle: string;
experience: string[];
};
export type ContactContent = {
kicker: string;
title: string;
description: string;
pendingCta: string;
channels: Array<{
name: string;
status: string;
}>;
};
export type Dictionary = {
common: CommonContent;
home: HomeContent;
about: AboutContent;
contact: ContactContent;
};