From 59bff93c842869ed0d96fb158e37341a221eb492 Mon Sep 17 00:00:00 2001 From: Juraj Kapsz Date: Mon, 6 Oct 2025 10:50:21 +0200 Subject: [PATCH] fix: headings markup --- src/components/Features.astro | 6 ++-- src/components/Footer.astro | 30 +++++++++---------- src/components/Sponsors.astro | 6 ++-- src/pages/[...locale]/about.astro | 20 +++++-------- src/pages/[...locale]/index.astro | 1 - src/pages/[...locale]/mods/index.astro | 2 +- .../[...locale]/release-notes/index.astro | 3 +- 7 files changed, 30 insertions(+), 38 deletions(-) diff --git a/src/components/Features.astro b/src/components/Features.astro index b8de3a39..23e97cbe 100644 --- a/src/components/Features.astro +++ b/src/components/Features.astro @@ -20,7 +20,7 @@ const descriptions = Object.values(features.featureTabs).map(tab => tab.descript ---
- +

{ (titles || features.titles).map((title, index) => title !== '\n' ? ( @@ -32,7 +32,7 @@ const descriptions = Object.values(features.featureTabs).map(tab => tab.descript ) ) } - +

{features.description} @@ -66,7 +66,7 @@ const descriptions = Object.values(features.featureTabs).map(tab => tab.descript data-feature-key={key} data-active={i === 0 ? 'true' : undefined} > - {tab.title} +

{tab.title}

{tab.description} )) diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 8849f380..decc5a59 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -1,7 +1,6 @@ --- import Button from '~/components/Button.astro' import Circles from '~/components/Circles.astro' -import Description from '~/components/Description.astro' import SocialMediaStrip from '~/components/SocialMediaStrip.astro' import ArrowRightIcon from '~/icons/ArrowRightIcon.astro' import { getLocale, getPath, getUI } from '~/utils/i18n' @@ -24,14 +23,13 @@ const { class="flex w-full flex-col gap-4 text-center lg:w-1/2 lg:text-left" aria-labelledby="footer-title" > - - {footer.title} - - + + +

{footer.description} - +

-

+

{footer.aboutUs} -

+