From ac5a0d18b9722e21509cf061871bf458c5a30553 Mon Sep 17 00:00:00 2001 From: Marie Destandau Date: Thu, 7 Sep 2023 13:46:16 +0200 Subject: [PATCH 1/3] [HOMEPAGE] refactor: add landmark and list to header nav --- homepage/src/components/OtherSurveys.astro | 25 ++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/homepage/src/components/OtherSurveys.astro b/homepage/src/components/OtherSurveys.astro index 3e55e5a7d..67525ce8c 100644 --- a/homepage/src/components/OtherSurveys.astro +++ b/homepage/src/components/OtherSurveys.astro @@ -4,14 +4,16 @@ const { survey, surveys, locale } = Astro.props const otherSurveys = surveys.filter(s => s.id !== survey.id) --- -
-
+
+
-
+ + + \ No newline at end of file From 6a4cfac9495fb8ece099d6193a7077148a543bba Mon Sep 17 00:00:00 2001 From: Marie Destandau Date: Thu, 7 Sep 2023 13:48:01 +0200 Subject: [PATCH 2/3] [HOMEPAGE] refactor: add main landmark --- homepage/src/layouts/DefaultLayout.astro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homepage/src/layouts/DefaultLayout.astro b/homepage/src/layouts/DefaultLayout.astro index a05f35eb4..9fadbcd74 100644 --- a/homepage/src/layouts/DefaultLayout.astro +++ b/homepage/src/layouts/DefaultLayout.astro @@ -48,9 +48,9 @@ const variables = `
-
+
-
+ {survey.partners && }
From 65e51b602fbbf5c3c58bdfab187d95fb4fd3f65e Mon Sep 17 00:00:00 2001 From: Marie Destandau Date: Thu, 7 Sep 2023 14:38:31 +0200 Subject: [PATCH 3/3] [HOMEPAGE] fix: title hierarchy --- homepage/src/components/LanguageSwitcher.astro | 8 ++++---- homepage/src/components/Newsletter.tsx | 10 +++------- homepage/src/components/SurveyEdition.astro | 16 +++++++++------- homepage/src/components/T.tsx | 2 +- homepage/src/stylesheets/_newsletter.scss | 1 + 5 files changed, 18 insertions(+), 19 deletions(-) diff --git a/homepage/src/components/LanguageSwitcher.astro b/homepage/src/components/LanguageSwitcher.astro index 4e4ed920f..87e34a541 100644 --- a/homepage/src/components/LanguageSwitcher.astro +++ b/homepage/src/components/LanguageSwitcher.astro @@ -6,9 +6,9 @@ const { pathname } = canonicalUrl ---
-

+

-

+

    { locales.map(({ id, label }) => ( @@ -18,11 +18,11 @@ const { pathname } = canonicalUrl )) }
-

+

-

+