59 lines
1.3 KiB
TypeScript
59 lines
1.3 KiB
TypeScript
import type { contentLayout } from "./contentLayout";
|
|
import type { c_html } from "./c_html";
|
|
import type { c_markdown } from "./c_markdown";
|
|
import type { c_iframe } from "./c_iframe";
|
|
import type { c_imageGallery } from "./c_imageGallery";
|
|
import type { c_image } from "./c_image";
|
|
import type { c_quote } from "./c_quote";
|
|
import type { c_youtubeVideo } from "./c_youtubeVideo";
|
|
import type { c_headline } from "./c_headline";
|
|
|
|
export type { contentLayout };
|
|
export type {
|
|
c_html,
|
|
c_markdown,
|
|
c_iframe,
|
|
c_imageGallery,
|
|
c_image,
|
|
c_quote,
|
|
c_youtubeVideo,
|
|
c_headline,
|
|
};
|
|
export type ContentItem =
|
|
| c_html
|
|
| c_markdown
|
|
| c_iframe
|
|
| c_imageGallery
|
|
| c_image
|
|
| c_quote
|
|
| c_youtubeVideo
|
|
| c_headline;
|
|
|
|
export type ContentRow = {
|
|
justifyContent: "start" | "end" | "center" | "between" | "around" | "evenly";
|
|
alignItems: "start" | "end" | "center" | "baseline" | "stretch";
|
|
content: ContentItem[];
|
|
};
|
|
|
|
export interface Page {
|
|
slug: string;
|
|
name: string;
|
|
linkName: string;
|
|
headline: string;
|
|
subheadline: string;
|
|
seoTitle: string;
|
|
seoMetaRobots: string;
|
|
seoDescription: string;
|
|
topFullwidthBanner?: {
|
|
name: string;
|
|
variant: string;
|
|
headline: string;
|
|
subheadline: string;
|
|
text: string;
|
|
imageUrl?: string;
|
|
};
|
|
row1?: ContentRow;
|
|
row2?: ContentRow;
|
|
row3?: ContentRow;
|
|
}
|