- Hero : 5 lignes typographiques alternées (bold/light/accent/caps/italic), citations et axes dans un bloc discret dépliable - Icônes axes : Ğ1 custom, balance (éco don), graphe (WoT), marteau (décision), pictos plus lumineux (glow) - Menu : Autonomie en italique + grand, Événement majuscule - Page /autonomie renommée /numerique avec redirect 301 - Sceau hexagramme 益 Yì dans le layout, BookSection dans /modele-eco - Fonts Syne + Space Grotesk, dark theme éclairci - Popup GrateWizard agrandie (480×860) - Actions AxisBlock : primary côte à côte, secondary séparé dessous Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
71 lines
1.6 KiB
TypeScript
71 lines
1.6 KiB
TypeScript
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
export default defineNuxtConfig({
|
|
compatibilityDate: '2025-07-15',
|
|
|
|
devtools: { enabled: true },
|
|
|
|
devServer: {
|
|
port: 3000,
|
|
},
|
|
|
|
modules: [
|
|
'@nuxt/content',
|
|
'@pinia/nuxt',
|
|
'@unocss/nuxt',
|
|
'@vueuse/nuxt',
|
|
'@nuxt/image',
|
|
],
|
|
|
|
unocss: {
|
|
safelist: [
|
|
// Axis block icons (dynamic from YAML)
|
|
'i-lucide-monitor', 'i-lucide-coins', 'i-lucide-landmark',
|
|
'i-lucide-code-2', 'i-lucide-share-2', 'i-lucide-cloud',
|
|
'i-lucide-scale', 'i-lucide-gavel', 'i-lucide-users',
|
|
'i-lucide-droplets', 'i-lucide-calendar-heart',
|
|
// Action icons
|
|
'i-lucide-play', 'i-lucide-book-open', 'i-lucide-sparkles',
|
|
// Decision page
|
|
'i-lucide-vote', 'i-lucide-scroll-text', 'i-lucide-git-branch',
|
|
],
|
|
},
|
|
|
|
app: {
|
|
head: {
|
|
htmlAttrs: { lang: 'fr' },
|
|
link: [
|
|
{ rel: 'preconnect', href: 'https://fonts.bunny.net' },
|
|
{
|
|
rel: 'stylesheet',
|
|
href: 'https://fonts.bunny.net/css?family=syne:400,500,600,700,800|space-grotesk:300,400,500,600,700|jetbrains-mono:400,500,700',
|
|
},
|
|
],
|
|
meta: [
|
|
{ name: 'color-scheme', content: 'dark' },
|
|
],
|
|
},
|
|
pageTransition: { name: 'page', mode: 'out-in' },
|
|
},
|
|
|
|
css: [
|
|
'~/assets/css/main.css',
|
|
],
|
|
|
|
runtimeConfig: {
|
|
adminPassword: '',
|
|
adminSecret: '',
|
|
public: {
|
|
siteUrl: 'https://librodrome.org',
|
|
},
|
|
},
|
|
|
|
nitro: {
|
|
externals: {
|
|
traceInclude: [
|
|
'node_modules/pdfjs-dist/legacy/build/pdf.worker.mjs',
|
|
],
|
|
},
|
|
},
|
|
|
|
})
|