forked from LPK/librodrome
- typo : Bricolage Grotesque (titres) + Atkinson Hyperlegible (texte), Syne gardée pour le logo seul ; une seule source de polices (Bunny) - palettes : teinte propre à chaque axe dans les 4 ambiances ; pages d'axe en axis-scope, cartes sans bordure (canon design) - accueil : console des trois curseurs (tablist clavier), boîte à outils, bloc format éditorial + événement + reproduction ; ?v=a|b|c|0 - numérique : carte LPK ; bouquet rendu avec statut et légende - messages : sans bordure, deux colonnes en grand écran Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
38 lines
564 B
TypeScript
38 lines
564 B
TypeScript
interface NavItem {
|
|
label: string
|
|
to: string
|
|
}
|
|
|
|
interface SiteContent {
|
|
identity: {
|
|
name: string
|
|
description: string
|
|
url: string
|
|
}
|
|
navigation: NavItem[]
|
|
footer: {
|
|
credits: string
|
|
links: NavItem[]
|
|
}
|
|
lpk?: {
|
|
name: string
|
|
fullName: string
|
|
text: string
|
|
role: string
|
|
to: string
|
|
}
|
|
gratewizard: {
|
|
url: string
|
|
popup: {
|
|
width: number
|
|
height: number
|
|
}
|
|
}
|
|
}
|
|
|
|
export function useSiteContent() {
|
|
return useAsyncData<SiteContent>('site-content', () =>
|
|
$fetch('/api/content/site'),
|
|
)
|
|
}
|