initiation librodrome

This commit is contained in:
Yvv
2026-02-20 12:55:10 +01:00
commit 35e2897a73
208 changed files with 18951 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
interface NavItem {
label: string
to: string
}
interface SiteContent {
identity: {
name: string
description: string
url: string
}
navigation: NavItem[]
footer: {
credits: string
links: NavItem[]
}
gratewizard: {
url: string
popup: {
width: number
height: number
}
}
}
export function useSiteContent() {
return useAsyncData<SiteContent>('site-content', () =>
$fetch('/api/content/site'),
)
}