PR Check / Security scan (Snyk) (pull_request) Skipped
PR Check / Lint + typecheck (pull_request) Successful in 1m6s
PR Check / Secret scan (gitleaks) (pull_request) Successful in 7s
PR Check / Dependency audit (pull_request) Successful in 9s
PR Check / Dockerfile lint (droast) (pull_request) Successful in 5s
PR Check / AI code review (opencode) (pull_request) Successful in 1m11s
- generate favicon.ico and favicon.svg from the header avatar; the sprite moves to app/utils/avatar.js so component and generators share one source - register @nuxtjs/seo with site and Person schema.org data from site.config.mjs; canonical, robots, sitemap and llms.txt follow the routes - title "Noel Sabia — <role>", summary_large_image, and no duplicate "| Noel Sabia" suffix from SEO Utils - add a committed 1200x630 OG card generated by pnpm og-image; the dynamic OG renderer and skew protection stay off for the static deployment - pin the Node version @nuxtjs/seo 6 requires and document the setup in the OKF bundle
60 lines
2.0 KiB
TypeScript
60 lines
2.0 KiB
TypeScript
// 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'
|
|
}
|
|
})
|