feat(02-01): design system, color-mode, sitemap config
- Brand color #85cb85 as CSS @theme with full shade palette - app.config.ts maps Nuxt UI primary to brand - colorMode with cookie storage, dark default, no FOUC - i18n baseUrl and site.url for absolute SEO URLs - Static og:image placeholder in public/ Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -3,6 +3,7 @@ export default defineNuxtConfig({
|
||||
compatibilityVersion: 4
|
||||
},
|
||||
ssr: true,
|
||||
css: ['~/assets/css/main.css'],
|
||||
modules: [
|
||||
'@nuxt/ui',
|
||||
'@nuxtjs/i18n',
|
||||
@@ -14,9 +15,22 @@ export default defineNuxtConfig({
|
||||
typescript: {
|
||||
strict: true
|
||||
},
|
||||
colorMode: {
|
||||
preference: 'dark',
|
||||
fallback: 'dark',
|
||||
storage: 'cookie',
|
||||
storageKey: 'nuxt-color-mode',
|
||||
cookieName: 'nuxt-color-mode',
|
||||
classSuffix: ''
|
||||
},
|
||||
site: {
|
||||
url: 'https://killiandalcin.fr',
|
||||
name: 'Killian Dalcin - Developpeur Full Stack'
|
||||
},
|
||||
i18n: {
|
||||
strategy: 'prefix_except_default',
|
||||
defaultLocale: 'fr',
|
||||
baseUrl: 'https://killiandalcin.fr',
|
||||
locales: [
|
||||
{ code: 'fr', language: 'fr-FR', file: 'fr.json' },
|
||||
{ code: 'en', language: 'en-US', file: 'en.json' },
|
||||
|
||||
Reference in New Issue
Block a user