From c37f24eef8a52c4a201daf4cfbc43fef89995607 Mon Sep 17 00:00:00 2001 From: bachrc Date: Sun, 5 May 2024 17:23:04 +0200 Subject: [PATCH] feat: ajout d'un plan du site --- src/lib/i18n/locales/en.json | 1 + src/lib/i18n/locales/fr.json | 1 + src/routes/+layout.svelte | 25 ++++++++++++++++++--- src/routes/+page.svelte | 4 ++-- src/routes/{about => a-propos}/+page.svelte | 4 ++-- src/routes/cv/+page.svelte | 8 +++---- src/routes/plan/+page.svelte | 14 ++++++++++++ 7 files changed, 46 insertions(+), 11 deletions(-) rename src/routes/{about => a-propos}/+page.svelte (99%) create mode 100644 src/routes/plan/+page.svelte diff --git a/src/lib/i18n/locales/en.json b/src/lib/i18n/locales/en.json index b887d8c..d707fde 100644 --- a/src/lib/i18n/locales/en.json +++ b/src/lib/i18n/locales/en.json @@ -27,6 +27,7 @@ "name": "Name", "narration-non-lineaire": "Non-linear narration", "ops": "Ops", + "plan-du-site": "Site Map", "poo": "OOP", "procedes": "Process", "professionnel": "Professional", diff --git a/src/lib/i18n/locales/fr.json b/src/lib/i18n/locales/fr.json index df5d0ee..7b56e5a 100644 --- a/src/lib/i18n/locales/fr.json +++ b/src/lib/i18n/locales/fr.json @@ -27,6 +27,7 @@ "name": "Yohann Bacha", "narration-non-lineaire": "Narration non linéaire", "ops": "Ops", + "plan-du-site": "Plan du site", "poo": "POO", "procedes": "Procédés", "professionnel": "Professionnel", diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 4375af6..301d3be 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -18,26 +18,45 @@ href={pngIcon} /> {#if !$isLoading} +
- {@render children()} -
{/if}