diff --git a/src/lib/scripts/serviceMap.ts b/src/lib/scripts/serviceMap.ts new file mode 100644 index 0000000..c6b02fa --- /dev/null +++ b/src/lib/scripts/serviceMap.ts @@ -0,0 +1,17 @@ +import type { ServiceData } from "$lib/types/serviceData" +export const detailMap = new Map ([ + ["nextcloud", { + formattedName: "Nextcloud", + url: "https://cloud.fjla.uk", + checkString: "Login -", + description: "Personal cloud, organiser and workspace", + imgPath: "nextcloud.svg" + }], + ["gitea", { + formattedName: "Gitea", + url: "https://git.fjla.uk", + checkString: "--??--", + description: "Git Repository & Development tools", + imgPath: "" + }] +]) \ No newline at end of file diff --git a/src/lib/types/serviceData.ts b/src/lib/types/serviceData.ts new file mode 100644 index 0000000..3479908 --- /dev/null +++ b/src/lib/types/serviceData.ts @@ -0,0 +1,7 @@ +export interface ServiceData { + formattedName: string, + url: string, + checkString: string, + imgPath: string, + description: string, +} \ No newline at end of file