feat(project-crud-sync): add planning artifacts for CRUD project lifecycle #5
|
|
@ -1,7 +1,11 @@
|
||||||
<script setup>
|
<script setup>
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
|
const i18nHead = useLocaleHead();
|
||||||
|
|
||||||
useHead({
|
useHead({
|
||||||
|
htmlAttrs: {
|
||||||
|
lang: () => i18nHead.value.htmlAttrs.lang,
|
||||||
|
},
|
||||||
meta: [{ name: "viewport", content: "width=device-width, initial-scale=1" }],
|
meta: [{ name: "viewport", content: "width=device-width, initial-scale=1" }],
|
||||||
link: [{ rel: "icon", href: "/favicon.ico" }],
|
link: [{ rel: "icon", href: "/favicon.ico" }],
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ function handleLocaleChange(value: string) {
|
||||||
<template>
|
<template>
|
||||||
<UHeader>
|
<UHeader>
|
||||||
<template #left>
|
<template #left>
|
||||||
<NuxtLink to="/">
|
<NuxtLink to="/" :aria-label="t('nav.home')">
|
||||||
<AppLogo class="w-auto h-6 shrink-0" />
|
<AppLogo class="w-auto h-6 shrink-0" />
|
||||||
</NuxtLink>
|
</NuxtLink>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@
|
||||||
"description": "Project management made simple."
|
"description": "Project management made simple."
|
||||||
},
|
},
|
||||||
"nav": {
|
"nav": {
|
||||||
|
"home": "Home",
|
||||||
"projects": "Projects"
|
"projects": "Projects"
|
||||||
},
|
},
|
||||||
"projects": {
|
"projects": {
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@
|
||||||
"description": "La gestion de projets simplifiée."
|
"description": "La gestion de projets simplifiée."
|
||||||
},
|
},
|
||||||
"nav": {
|
"nav": {
|
||||||
|
"home": "Accueil",
|
||||||
"projects": "Projets"
|
"projects": "Projets"
|
||||||
},
|
},
|
||||||
"projects": {
|
"projects": {
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,13 @@
|
||||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||||
export default defineNuxtConfig({
|
export default defineNuxtConfig({
|
||||||
modules: ["@nuxt/eslint", "@nuxt/ui", "@nuxtjs/i18n"],
|
modules: ["@nuxt/eslint", "@nuxt/ui", "@nuxtjs/i18n", "@nuxt/a11y"],
|
||||||
|
|
||||||
devtools: {
|
devtools: {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
|
|
||||||
|
timeline: {
|
||||||
|
enabled: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
css: ["~/assets/css/main.css"],
|
css: ["~/assets/css/main.css"],
|
||||||
|
|
@ -26,6 +30,7 @@ export default defineNuxtConfig({
|
||||||
},
|
},
|
||||||
|
|
||||||
i18n: {
|
i18n: {
|
||||||
|
baseUrl: process.env.NUXT_PUBLIC_SITE_URL ?? "http://localhost:3000",
|
||||||
locales: [
|
locales: [
|
||||||
{ code: "en", language: "en", name: "English", file: "en.json" },
|
{ code: "en", language: "en", name: "English", file: "en.json" },
|
||||||
{ code: "fr", language: "fr", name: "Français", file: "fr.json" },
|
{ code: "fr", language: "fr", name: "Français", file: "fr.json" },
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue