feat: add imprint to footer

This commit is contained in:
Mathias Schopmans
2024-03-05 09:22:36 +01:00
committed by Mathias Schopmans
parent 8a982b9956
commit 6dd5d5c017
3 changed files with 24 additions and 1 deletions

View File

@@ -62,6 +62,10 @@ export function getItems(quadrant?: string, featured?: boolean): Item[] {
}) as Item[];
}
export function getImprintUrl() {
return config.imprint;
}
export function getItem(id: string): Item | undefined {
return data.items.find((item) => item.id === id) as Item;
}