feat: add hub
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user