Compare commits
5
Commits
dd7e6c281f
...
d7387a01cf
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d7387a01cf | ||
|
|
ce941cad2d | ||
|
|
e4b30ad944 | ||
|
|
078a49d14e | ||
|
|
93ab0c0d79 |
No files matched your search
@@ -1,3 +1,3 @@
|
||||
{
|
||||
".": "1.0.0"
|
||||
".": "1.1.0"
|
||||
}
|
||||
@@ -1,5 +1,52 @@
|
||||
# Changelog
|
||||
|
||||
## [1.1.0](https://github.com/CV_Website/CV_Site_Nuxt/compare/v1.0.0...v1.1.0) (2026-10-23)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* add nuxt application shell ([5caa345](https://github.com/CV_Website/CV_Site_Nuxt/commit/5caa3457aa8f97dfca94059b15f8330e97bfb041))
|
||||
* added dockerignore, a development docker image and a qa/prod docker image ([1a78935](https://github.com/CV_Website/CV_Site_Nuxt/commit/1a78935c23ef2c756912d9f561a69569c2f45d2f))
|
||||
* extend ESLint config with default rule set ([e4ea5c3](https://github.com/CV_Website/CV_Site_Nuxt/commit/e4ea5c3e7c74c4d2c700ced71372da13e031eb6c))
|
||||
* **i18n:** add five locales and a header language switcher ([93ab0c0](https://github.com/CV_Website/CV_Site_Nuxt/commit/93ab0c0d79ac3de8f551d919798027f27bb819a8))
|
||||
* merged main into this branch ([cefdb34](https://github.com/CV_Website/CV_Site_Nuxt/commit/cefdb34d7ec33a176714388a4a0805177e8c4216))
|
||||
* pixel favicon and complete SEO metadata ([1c3503f](https://github.com/CV_Website/CV_Site_Nuxt/commit/1c3503fed0e6a385fcc98c5cfdcad605cf33e4be))
|
||||
* set up ESLint and typecheck with @nuxt/eslint ([4e2a03e](https://github.com/CV_Website/CV_Site_Nuxt/commit/4e2a03eab88495cbfa9db861919189da0c4b2889))
|
||||
* **ui:** homepage shell with tailwind theme, self-hosted fonts, layout and header components ([8d53daa](https://github.com/CV_Website/CV_Site_Nuxt/commit/8d53daa4a6e4e9530ccad5c1ae25052e4a811849))
|
||||
* **ui:** mobile bottom nav on Nuxt Icon, footer hidden on phones ([3396c49](https://github.com/CV_Website/CV_Site_Nuxt/commit/3396c4949ec6f1a16957b6e004cae176126ad5f4))
|
||||
* **ui:** pixel-art breathing logo and external links ([7b5c97c](https://github.com/CV_Website/CV_Site_Nuxt/commit/7b5c97c84eab5f214c9e84ac79bd6e08642defa1))
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **ci:** address AI review findings (credentials, supply chain) ([85f488a](https://github.com/CV_Website/CV_Site_Nuxt/commit/85f488a94dd8796ea5f11c292edddd32e21398cd))
|
||||
* **ci:** apply review findings round two ([a3e6aef](https://github.com/CV_Website/CV_Site_Nuxt/commit/a3e6aef901086f5f8b416e2aa7d29596517f9550))
|
||||
* **ci:** close the fail-open gate, enforce read-only sandbox ([3e68e63](https://github.com/CV_Website/CV_Site_Nuxt/commit/3e68e630dff92a7abd791b7a8808eb682f37a060))
|
||||
* **ci:** deny write tools, never swallow review errors ([f8d1287](https://github.com/CV_Website/CV_Site_Nuxt/commit/f8d128705faa9493202cf724ae0a451d4dc6d1e5))
|
||||
* **ci:** gate the ai review to pull_request events, restore route announcer ([9be6298](https://github.com/CV_Website/CV_Site_Nuxt/commit/9be62982a4a2494351006463ae71bd99f4e49fe4))
|
||||
* **ci:** give release-please git credentials for the release-branch push ([a27bbbb](https://github.com/CV_Website/CV_Site_Nuxt/commit/a27bbbb2abf0fa8ddedd20c05bba2128e88faa3a))
|
||||
* **ci:** hand review diff to agent as file, not argv ([16b9291](https://github.com/CV_Website/CV_Site_Nuxt/commit/16b9291a5111b93d6e7da244f821589fa3432d87))
|
||||
* **ci:** install opencode v2 for the review job ([783c9cc](https://github.com/CV_Website/CV_Site_Nuxt/commit/783c9ccda369fe5ec05ea5085488998de125045c))
|
||||
* **ci:** JSON-encode review with node instead of jq ([a061fad](https://github.com/CV_Website/CV_Site_Nuxt/commit/a061fad9b1933414faa7e6a26bd3182c0ce6c9d7))
|
||||
* **ci:** make droast job actually run ([cf6f209](https://github.com/CV_Website/CV_Site_Nuxt/commit/cf6f209ebf03c3a4faf4e32971ba036d60ddb36b))
|
||||
* **ci:** pass --all-projects to snyk test ([7197f75](https://github.com/CV_Website/CV_Site_Nuxt/commit/7197f757a6447cf29a11f60914d89939bd647040))
|
||||
* **ci:** pick gitleaks binary by CPU architecture ([88dadd5](https://github.com/CV_Website/CV_Site_Nuxt/commit/88dadd584627e963b4dee719768644626e343488))
|
||||
* **ci:** point release-please at PR_GITEA_TOKEN (write scopes) ([e1192a2](https://github.com/CV_Website/CV_Site_Nuxt/commit/e1192a2014da8acfea37c5319f0b612f9f5a392e))
|
||||
* **ci:** pull gitleaks from GHCR and pin version ([ce9c090](https://github.com/CV_Website/CV_Site_Nuxt/commit/ce9c090a150e448919205f9386ff61bfe77dfdb9))
|
||||
* **ci:** run app jobs from repo root ([bb13f1a](https://github.com/CV_Website/CV_Site_Nuxt/commit/bb13f1a187d482b9bb55dafa303356114ece42ae))
|
||||
* **ci:** run gitleaks as binary in node image ([779cf20](https://github.com/CV_Website/CV_Site_Nuxt/commit/779cf20f45ec8db009065197140067a531649401))
|
||||
* **ci:** run Snyk CLI via npm on arm64 runner ([8d2a000](https://github.com/CV_Website/CV_Site_Nuxt/commit/8d2a00062e6381cbba9bdb703b210c8eb2201d92))
|
||||
* **ci:** switch review model to deepseek-v4.1-flash, pause snyk via workflow_dispatch ([9b0f89e](https://github.com/CV_Website/CV_Site_Nuxt/commit/9b0f89ef38c189905869567be513dbf72e694b2d))
|
||||
* **ci:** tell the reviewer the lockfile is excluded on purpose ([ad4e8d7](https://github.com/CV_Website/CV_Site_Nuxt/commit/ad4e8d7bd9e394d6c9f1b157f6cc71b28e62dcaa))
|
||||
* **ci:** use opencode-go plan model for AI review ([8b6bcb6](https://github.com/CV_Website/CV_Site_Nuxt/commit/8b6bcb6d70d123dda551f08ef2c05dc3d50733f2))
|
||||
* **ci:** use pnpm 11 in runner ([ecd0192](https://github.com/CV_Website/CV_Site_Nuxt/commit/ecd0192466f8d72b9f8532e32b1aea63ff9dd640))
|
||||
* **deps:** force patched postcss-selector-parser 7.1.6 (GHSA-rj75-hqrm-r3gf) ([9995fc7](https://github.com/CV_Website/CV_Site_Nuxt/commit/9995fc75ed521ab54af59498dab7afa33f01ac23))
|
||||
* **favicon:** keep the ICO transparent when BACKGROUND is null ([2f9f236](https://github.com/CV_Website/CV_Site_Nuxt/commit/2f9f236f13b318216784606901d008c8522bc65f))
|
||||
* **i18n:** keep root links in the active locale and fix switcher a11y ([e4b30ad](https://github.com/CV_Website/CV_Site_Nuxt/commit/e4b30ad9447e6117686a73b7b66a627d258a510d))
|
||||
* pass staged filenames to the eslint pre-commit hook ([81d658a](https://github.com/CV_Website/CV_Site_Nuxt/commit/81d658a87105434835016ae20b24ef3cb7617d86))
|
||||
* remove leftover merge conflict marker from pr-checker.yml ([8f36f14](https://github.com/CV_Website/CV_Site_Nuxt/commit/8f36f14720a4826fe4b4cebdf591994fa0961ae3))
|
||||
* unblock the release PR - real production image, reviewed audit ignores ([f32ad07](https://github.com/CV_Website/CV_Site_Nuxt/commit/f32ad076486127a1132b754eb8258105754355bb))
|
||||
|
||||
## 1.0.0 (2026-10-18)
|
||||
|
||||
|
||||
|
||||
@@ -4,27 +4,26 @@
|
||||
class="fixed bottom-0 left-0 w-full z-50 flex md:hidden bg-surface-container-low/90 backdrop-blur-xl shadow-[0_-1px_12px_rgba(0,0,0,0.3)]"
|
||||
>
|
||||
<div class="w-full h-16 px-space-xs flex items-center justify-around">
|
||||
<NuxtLink
|
||||
<NuxtLinkLocale
|
||||
to="/"
|
||||
aria-current="page"
|
||||
class="w-16 h-12 flex flex-col items-center justify-center text-primary font-semibold transition-colors"
|
||||
>
|
||||
<Icon name="material-symbols:badge" aria-hidden="true" class="text-[22px]" />
|
||||
<span class="font-label-mono text-label-mono">Overview</span>
|
||||
</NuxtLink>
|
||||
<span class="font-label-mono text-label-mono">{{ $t('nav.overview') }}</span>
|
||||
</NuxtLinkLocale>
|
||||
<a
|
||||
href="#"
|
||||
class="w-16 h-12 flex flex-col items-center justify-center text-on-surface-variant hover:text-primary transition-colors"
|
||||
>
|
||||
<Icon name="material-symbols:timeline" aria-hidden="true" class="text-[22px]" />
|
||||
<span class="font-label-mono text-label-mono">Life Map</span>
|
||||
<span class="font-label-mono text-label-mono">{{ $t('nav.lifeMap') }}</span>
|
||||
</a>
|
||||
<a
|
||||
href="#"
|
||||
class="w-16 h-12 flex flex-col items-center justify-center text-on-surface-variant hover:text-primary transition-colors"
|
||||
>
|
||||
<Icon name="material-symbols:code" aria-hidden="true" class="text-[22px]" />
|
||||
<span class="font-label-mono text-label-mono">Dev View</span>
|
||||
<span class="font-label-mono text-label-mono">{{ $t('nav.devView') }}</span>
|
||||
</a>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
<script setup lang="ts">
|
||||
defineProps<{ code: 'en' | 'de' | 'es' | 'it' | 'pl' }>()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<svg v-if="code === 'en'" viewBox="0 0 24 16" class="h-full w-full" aria-hidden="true">
|
||||
<rect width="24" height="16" fill="#012169" />
|
||||
<path d="M0 0 24 16 M24 0 0 16" stroke="#fff" stroke-width="3.2" />
|
||||
<path d="M0 0 24 16 M24 0 0 16" stroke="#c8102e" stroke-width="1.6" />
|
||||
<rect x="10.4" width="3.2" height="16" fill="#fff" />
|
||||
<rect y="6.4" width="24" height="3.2" fill="#fff" />
|
||||
<rect x="11" width="2" height="16" fill="#c8102e" />
|
||||
<rect y="7" width="24" height="2" fill="#c8102e" />
|
||||
</svg>
|
||||
<svg v-else-if="code === 'de'" viewBox="0 0 24 16" class="h-full w-full" aria-hidden="true">
|
||||
<rect width="24" height="5.334" fill="#000" />
|
||||
<rect y="5.334" width="24" height="5.333" fill="#dd0000" />
|
||||
<rect y="10.667" width="24" height="5.333" fill="#ffce00" />
|
||||
</svg>
|
||||
<svg v-else-if="code === 'es'" viewBox="0 0 24 16" class="h-full w-full" aria-hidden="true">
|
||||
<rect width="24" height="16" fill="#aa151b" />
|
||||
<rect y="4" width="24" height="8" fill="#f1bf00" />
|
||||
</svg>
|
||||
<svg v-else-if="code === 'it'" viewBox="0 0 24 16" class="h-full w-full" aria-hidden="true">
|
||||
<rect width="8" height="16" fill="#008c45" />
|
||||
<rect x="8" width="8" height="16" fill="#f4f5f0" />
|
||||
<rect x="16" width="8" height="16" fill="#cd212a" />
|
||||
</svg>
|
||||
<svg v-else viewBox="0 0 24 16" class="h-full w-full" aria-hidden="true">
|
||||
<rect width="24" height="8" fill="#fff" />
|
||||
<rect y="8" width="24" height="8" fill="#dc143c" />
|
||||
</svg>
|
||||
</template>
|
||||
@@ -3,7 +3,7 @@
|
||||
<div class="max-w-7xl mx-auto px-6 lg:px-12 flex flex-col sm:flex-row items-center justify-between gap-4">
|
||||
<div class="flex items-center gap-2.5 font-label-mono text-label-mono text-on-surface-variant">
|
||||
<span class="inline-block w-2 h-2 rounded-full bg-secondary shadow-[0_0_6px_#4ae176]" />
|
||||
<span>Served from my own server · k8s · Terraform · self-healing on purpose</span>
|
||||
<span>{{ $t('footer.servedFrom') }}</span>
|
||||
</div>
|
||||
<div class="flex items-center gap-3 font-status-badge text-status-badge text-outline">
|
||||
<a
|
||||
|
||||
@@ -3,7 +3,11 @@
|
||||
<div class="h-16 max-w-7xl mx-auto px-6 lg:px-12 flex items-center justify-between gap-6">
|
||||
<AppLogo />
|
||||
<AppNav />
|
||||
<AppQuickLinks />
|
||||
<div class="flex items-center gap-4">
|
||||
<AppQuickLinks />
|
||||
<span class="hidden sm:inline text-[0.625rem] text-outline-variant" aria-hidden="true">/</span>
|
||||
<AppLanguageSwitcher />
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
</template>
|
||||
@@ -0,0 +1,84 @@
|
||||
<script setup lang="ts">
|
||||
const { locales, locale, setLocale, t } = useI18n()
|
||||
|
||||
const open = ref(false)
|
||||
const root = ref<HTMLElement | null>(null)
|
||||
const trigger = ref<HTMLButtonElement | null>(null)
|
||||
const menuId = useId()
|
||||
|
||||
// The accessible name has to contain the visible text (WCAG 2.5.3).
|
||||
const triggerLabel = computed(() => `${t('switcher.label')}: ${locale.value.toUpperCase()}`)
|
||||
|
||||
function closeOnOutside(event: MouseEvent) {
|
||||
if (!root.value?.contains(event.target as Node)) {
|
||||
open.value = false
|
||||
}
|
||||
}
|
||||
|
||||
function closeOnEscape(event: KeyboardEvent) {
|
||||
if (event.key === 'Escape' && open.value) {
|
||||
open.value = false
|
||||
// Focus would otherwise stay on a list item that just left the DOM.
|
||||
trigger.value?.focus()
|
||||
}
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
document.addEventListener('click', closeOnOutside)
|
||||
document.addEventListener('keydown', closeOnEscape)
|
||||
})
|
||||
|
||||
onBeforeUnmount(() => {
|
||||
document.removeEventListener('click', closeOnOutside)
|
||||
document.removeEventListener('keydown', closeOnEscape)
|
||||
})
|
||||
|
||||
async function choose(code: Parameters<typeof setLocale>[0]) {
|
||||
open.value = false
|
||||
await setLocale(code)
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div ref="root" class="relative flex shrink-0 items-center font-label-mono text-label-mono">
|
||||
<button
|
||||
ref="trigger"
|
||||
type="button"
|
||||
class="flex items-center gap-1.5 uppercase tracking-wider text-on-surface-variant transition-colors hover:text-on-surface"
|
||||
:aria-expanded="open"
|
||||
:aria-controls="menuId"
|
||||
:aria-label="triggerLabel"
|
||||
@click="open = !open"
|
||||
>
|
||||
<span class="h-3.5 w-5 overflow-hidden rounded-[2px]">
|
||||
<AppFlag :code="locale" />
|
||||
</span>
|
||||
<span>{{ locale }}</span>
|
||||
<span aria-hidden="true" class="text-[0.625rem] text-on-surface-variant">▼</span>
|
||||
</button>
|
||||
|
||||
<ul
|
||||
v-if="open"
|
||||
:id="menuId"
|
||||
class="absolute right-0 top-full z-10 mt-2 min-w-48 rounded-lg border border-outline-variant/30 bg-surface-container-high p-1 shadow-lg"
|
||||
>
|
||||
<li v-for="language in locales" :key="language.code">
|
||||
<button
|
||||
type="button"
|
||||
class="flex w-full items-center gap-3 rounded px-3 py-2 text-left transition-colors"
|
||||
:class="locale === language.code
|
||||
? 'bg-surface-variant text-on-surface'
|
||||
: 'text-on-surface-variant hover:bg-surface-variant hover:text-on-surface'"
|
||||
:aria-current="locale === language.code ? 'true' : undefined"
|
||||
@click="choose(language.code)"
|
||||
>
|
||||
<span class="h-3.5 w-5 shrink-0 overflow-hidden rounded-[2px]">
|
||||
<AppFlag :code="language.code" />
|
||||
</span>
|
||||
<span class="flex-1">{{ language.name }}</span>
|
||||
<span class="uppercase tracking-wider">{{ language.code }}</span>
|
||||
</button>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</template>
|
||||
@@ -9,7 +9,7 @@ const flat = AVATAR_SPRITE
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<NuxtLink to="/" class="group flex items-center gap-3">
|
||||
<NuxtLinkLocale to="/" class="group flex items-center gap-3">
|
||||
<span class="flex items-center justify-center w-8 h-8 rounded bg-surface-container-high transition-colors">
|
||||
<span class="pixel-avatar" aria-hidden="true">
|
||||
<span
|
||||
@@ -24,7 +24,7 @@ const flat = AVATAR_SPRITE
|
||||
<span class="font-headline-sm text-headline-sm tracking-tight text-on-surface font-medium">Noel Sabia</span>
|
||||
<span class="font-label-mono text-label-mono text-on-surface-variant tracking-wider uppercase text-[0.625rem]">Im using Arch btw</span>
|
||||
</div>
|
||||
</NuxtLink>
|
||||
</NuxtLinkLocale>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
@@ -1,23 +1,22 @@
|
||||
<template>
|
||||
<nav class="hidden md:flex items-center gap-1.5">
|
||||
<NuxtLink
|
||||
<nav class="hidden lg:flex items-center gap-1.5">
|
||||
<NuxtLinkLocale
|
||||
to="/"
|
||||
aria-current="page"
|
||||
class="px-3 py-1.5 transition-colors bg-primary-container text-on-primary-container font-medium rounded font-body-sm text-body-sm"
|
||||
>
|
||||
Overview
|
||||
</NuxtLink>
|
||||
{{ $t('nav.overview') }}
|
||||
</NuxtLinkLocale>
|
||||
<a
|
||||
href="#"
|
||||
class="px-3 py-1.5 text-on-surface-variant hover:text-on-surface hover:bg-surface-container-high transition-colors font-body-sm text-body-sm"
|
||||
>
|
||||
Life Map
|
||||
{{ $t('nav.lifeMap') }}
|
||||
</a>
|
||||
<a
|
||||
href="#"
|
||||
class="px-3 py-1.5 text-on-surface-variant hover:text-on-surface hover:bg-surface-container-high transition-colors font-body-sm text-body-sm"
|
||||
>
|
||||
Dev View
|
||||
{{ $t('nav.devView') }}
|
||||
</a>
|
||||
</nav>
|
||||
</template>
|
||||
@@ -1,8 +1,8 @@
|
||||
<template>
|
||||
<div class="hidden sm:flex items-center gap-4 text-on-surface-variant font-label-mono text-label-mono">
|
||||
<a href="#" class="hover:text-on-surface transition-colors">PDF CV</a>
|
||||
<a href="#" class="hover:text-on-surface transition-colors">{{ $t('quickLinks.pdfCv') }}</a>
|
||||
<span class="text-outline-variant text-[0.625rem]">/</span>
|
||||
<a href="#" class="hover:text-on-surface transition-colors">Contact</a>
|
||||
<a href="#" class="hover:text-on-surface transition-colors">{{ $t('quickLinks.contact') }}</a>
|
||||
<span class="text-outline-variant text-[0.625rem]">/</span>
|
||||
<a href="https://github.com/NoelSabia" rel="noopener noreferrer" target="_blank" class="hover:text-on-surface transition-colors">GitHub</a>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"nav": {
|
||||
"overview": "Übersicht",
|
||||
"lifeMap": "Lebenskarte",
|
||||
"devView": "Dev-Ansicht"
|
||||
},
|
||||
"quickLinks": {
|
||||
"pdfCv": "Lebenslauf (PDF)",
|
||||
"contact": "Kontakt"
|
||||
},
|
||||
"footer": {
|
||||
"servedFrom": "Betrieben auf meinem eigenen Server · k8s · Terraform"
|
||||
},
|
||||
"switcher": {
|
||||
"label": "Sprache"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"nav": {
|
||||
"overview": "Overview",
|
||||
"lifeMap": "Life Map",
|
||||
"devView": "Dev View"
|
||||
},
|
||||
"quickLinks": {
|
||||
"pdfCv": "PDF CV",
|
||||
"contact": "Contact"
|
||||
},
|
||||
"footer": {
|
||||
"servedFrom": "Served from my own server · k8s · Terraform"
|
||||
},
|
||||
"switcher": {
|
||||
"label": "Language"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"nav": {
|
||||
"overview": "Resumen",
|
||||
"lifeMap": "Mapa de vida",
|
||||
"devView": "Vista dev"
|
||||
},
|
||||
"quickLinks": {
|
||||
"pdfCv": "CV en PDF",
|
||||
"contact": "Contacto"
|
||||
},
|
||||
"footer": {
|
||||
"servedFrom": "Servido desde mi propio servidor · k8s · Terraform"
|
||||
},
|
||||
"switcher": {
|
||||
"label": "Idioma"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"nav": {
|
||||
"overview": "Panoramica",
|
||||
"lifeMap": "Mappa della vita",
|
||||
"devView": "Vista dev"
|
||||
},
|
||||
"quickLinks": {
|
||||
"pdfCv": "CV in PDF",
|
||||
"contact": "Contatti"
|
||||
},
|
||||
"footer": {
|
||||
"servedFrom": "Servito dal mio server · k8s · Terraform"
|
||||
},
|
||||
"switcher": {
|
||||
"label": "Lingua"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"nav": {
|
||||
"overview": "Przegląd",
|
||||
"lifeMap": "Mapa życia",
|
||||
"devView": "Widok dev"
|
||||
},
|
||||
"quickLinks": {
|
||||
"pdfCv": "CV w PDF",
|
||||
"contact": "Kontakt"
|
||||
},
|
||||
"footer": {
|
||||
"servedFrom": "Hostowane na moim serwerze · k8s · Terraform"
|
||||
},
|
||||
"switcher": {
|
||||
"label": "Język"
|
||||
}
|
||||
}
|
||||
+13
-1
@@ -4,7 +4,7 @@ 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'],
|
||||
modules: ['@nuxt/eslint', '@nuxtjs/tailwindcss', '@nuxt/icon/module', '@nuxtjs/seo', '@nuxtjs/i18n'],
|
||||
// Shared by sitemap, robots, canonical URLs, Open Graph and schema.org.
|
||||
site: {
|
||||
url: SITE.url,
|
||||
@@ -55,5 +55,17 @@ export default defineNuxtConfig({
|
||||
},
|
||||
tailwindcss: {
|
||||
cssPath: '~/assets/css/main.css'
|
||||
},
|
||||
i18n: {
|
||||
// Absolute URLs for hreflang and the per-locale sitemaps.
|
||||
baseUrl: SITE.url,
|
||||
defaultLocale: 'en',
|
||||
locales: [
|
||||
{ code: 'en', language: 'en', name: 'English', file: 'en.json' },
|
||||
{ code: 'de', language: 'de', name: 'Deutsch', file: 'de.json' },
|
||||
{ code: 'es', language: 'es', name: 'Español', file: 'es.json' },
|
||||
{ code: 'it', language: 'it', name: 'Italiano', file: 'it.json' },
|
||||
{ code: 'pl', language: 'pl', name: 'Polski', file: 'pl.json' }
|
||||
]
|
||||
}
|
||||
})
|
||||
+2
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "nuxt-app",
|
||||
"version": "1.0.0",
|
||||
"version": "1.1.0",
|
||||
"type": "module",
|
||||
"private": true,
|
||||
"engines": {
|
||||
@@ -21,6 +21,7 @@
|
||||
"dependencies": {
|
||||
"@iconify-json/material-symbols": "^1.2.95",
|
||||
"@nuxt/icon": "2.6.0",
|
||||
"@nuxtjs/i18n": "10.6.0",
|
||||
"@nuxtjs/seo": "6.0.1",
|
||||
"@nuxtjs/tailwindcss": "6.14.0",
|
||||
"nuxt": "^4.6.2",
|
||||
|
||||
Generated
+1142
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user