feat: add hub

This commit is contained in:
2026-10-03 23:57:41 +02:00
parent 5452f72087
commit fb7b560696
52 changed files with 290 additions and 162 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
export function formatDate(iso: string): string {
return new Date(`${iso}T00:00:00`).toLocaleDateString('en-GB', { day: 'numeric', month: 'short', year: 'numeric' })
return new Date(`${iso}T00:00:00`).toLocaleDateString('de-DE', { day: 'numeric', month: 'short', year: 'numeric' })
}
export function todayIso(): string {
+7
View File
@@ -1,6 +1,13 @@
export const NOTE_ICON = 'i-lucide-notebook-pen'
export const REVIEW_ICON = 'i-lucide-star'
/** German names of the media, shown and searched (MEDIUMS' labels are the Baserow options) */
export const MEDIUM_NAMES: Record<Medium, string> = {
book: 'Buch',
movie: 'Film',
album: 'Album'
}
export const MEDIUM_ICONS: Record<Medium, string> = {
book: 'i-lucide-book-open',
movie: 'i-lucide-clapperboard',