// https://nuxt.com/docs/api/configuration/nuxt-config import { SITE } from './site.config.mjs' export default defineNuxtConfig({ compatibilityDate: '2025-07-15', devtools: { enabled: true }, modules: ['@nuxt/eslint', '@nuxtjs/tailwindcss', '@nuxt/icon/module', '@nuxtjs/seo'], // Shared by sitemap, robots, canonical URLs, Open Graph and schema.org. site: { url: SITE.url, name: SITE.name, description: SITE.description, defaultLocale: SITE.locale, }, // The social card is a static file (`public/og-image.png`, generated by // `pnpm og-image`), so the dynamic renderer and its native dependency stay // out of the build. SEO Utils still emits the og:image and twitter:image tags. ogImage: false, // The site is shipped as static files inside the gateway image, so there are // no old chunk files to keep alive and no CI cache to restore them from. skewProtection: false, // A CV is about a person, so the site identity is a Person node; this links // the auto-generated WebSite/WebPage graph to that person. schemaOrg: { identity: { type: 'Person', name: SITE.name, url: SITE.url, description: SITE.description, jobTitle: SITE.role, email: SITE.email, sameAs: [SITE.github], }, }, icon: { // Inline SVG instead of the CSS/mask mode, so icons exist in the SSR HTML // and survive with JavaScript disabled. mode: 'svg', // Only bundle the icons the source actually names, not the whole set. serverBundle: { collections: [] }, clientBundle: { scan: true } }, app: { head: { link: [ // Generated from app/utils/avatar.js by `pnpm favicon`. { rel: 'icon', type: 'image/svg+xml', href: '/favicon.svg' }, { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico', sizes: '32x32' } ], meta: [ // Matches the page background, so mobile browser chrome blends in. { name: 'theme-color', content: '#031428' } ] } }, tailwindcss: { cssPath: '~/assets/css/main.css' } })