From 835519a0c2d78cf45451cd0818c5460102d001b5 Mon Sep 17 00:00:00 2001 From: Jalil Arfaoui Date: Wed, 18 Feb 2026 00:49:21 +0100 Subject: [PATCH] Extraction du footer photo en composant et correction responsive mobile --- astro.config.mjs | 1 + src/components/photo/PhotoFooter.astro | 63 ++++++++++++++++++++++++++ src/layouts/PhotoLayout.astro | 16 ++----- 3 files changed, 67 insertions(+), 13 deletions(-) create mode 100644 src/components/photo/PhotoFooter.astro diff --git a/astro.config.mjs b/astro.config.mjs index 2148d5c..4b8a15c 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -4,6 +4,7 @@ import tailwind from "@astrojs/tailwind"; // https://astro.build/config export default defineConfig({ + devToolbar: { enabled: false }, integrations: [tailwind()], i18n: { defaultLocale: "fr", diff --git a/src/components/photo/PhotoFooter.astro b/src/components/photo/PhotoFooter.astro new file mode 100644 index 0000000..c51ac6b --- /dev/null +++ b/src/components/photo/PhotoFooter.astro @@ -0,0 +1,63 @@ + + + diff --git a/src/layouts/PhotoLayout.astro b/src/layouts/PhotoLayout.astro index 2a63140..6c67c01 100644 --- a/src/layouts/PhotoLayout.astro +++ b/src/layouts/PhotoLayout.astro @@ -1,4 +1,6 @@ --- +import PhotoFooter from '../components/photo/PhotoFooter.astro'; + const { title = "Galerie Photo - Jalil Arfaoui", enableScroll = false } = Astro.props; --- @@ -25,19 +27,7 @@ const { title = "Galerie Photo - Jalil Arfaoui", enableScroll = false } = Astro. - - +