Start splitting in component the page.

This commit is contained in:
2023-08-13 14:36:43 +02:00
parent edbbd2f0f6
commit d13d6c1366
5 changed files with 60 additions and 47 deletions

30
src/lib/config.ts Normal file
View File

@@ -0,0 +1,30 @@
export interface BrandConfig {
logo?: string;
icon?: string;
usemask?: boolean;
}
export interface SectionConfig extends BrandConfig {
title: string;
subtitle?: string;
}
export interface ServiceConfig extends SectionConfig {
url: string;
target?: string;
type?: string;
[x: string]: unknown;
}
export interface ServiceGroupConfig extends SectionConfig {
items: Array<ServiceConfig>;
[x: string]: unknown;
}
export interface Config extends SectionConfig {
services: Array<ServiceGroupConfig>;
[x: string]: unknown;
}