diff --git a/src/lib/components/ServiceCard.svelte b/src/lib/components/ServiceCard.svelte
new file mode 100644
index 0000000..1f78ec1
--- /dev/null
+++ b/src/lib/components/ServiceCard.svelte
@@ -0,0 +1,14 @@
+
+
+
{service.title}
+{#if component != undefined}
+
+{/if}
diff --git a/src/lib/components/ServiceGroup.svelte b/src/lib/components/ServiceGroup.svelte
new file mode 100644
index 0000000..ed26ae7
--- /dev/null
+++ b/src/lib/components/ServiceGroup.svelte
@@ -0,0 +1,11 @@
+
+
+{#each group.items as service, i}
+
+{/each}
diff --git a/src/lib/config.ts b/src/lib/config.ts
new file mode 100644
index 0000000..753016b
--- /dev/null
+++ b/src/lib/config.ts
@@ -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;
+
+ [x: string]: unknown;
+}
+
+export interface Config extends SectionConfig {
+ services: Array;
+
+ [x: string]: unknown;
+}
diff --git a/src/lib/server/config.ts b/src/lib/server/config.ts
index 20e1c8e..d32e80f 100644
--- a/src/lib/server/config.ts
+++ b/src/lib/server/config.ts
@@ -2,37 +2,7 @@ import { writable, type Readable, type Writable, derived } from 'svelte/store';
import configData from '../../config.yml';
import { readFile, watch } from 'fs/promises';
import * as yml from 'js-yaml';
-
-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;
-
- [x: string]: unknown;
-}
-
-export interface Config extends SectionConfig {
- services: Array;
-
- [x: string]: unknown;
-}
+import type { Config, ServiceConfig, ServiceGroupConfig } from '$lib/config';
const requiredService: Required = {
title: '',
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte
index 23b8987..4390733 100644
--- a/src/routes/+page.svelte
+++ b/src/routes/+page.svelte
@@ -1,4 +1,5 @@