diff --git a/src/components/common/Icon.astro b/src/components/common/Icon.astro index 0ed4edb..7a711fc 100644 --- a/src/components/common/Icon.astro +++ b/src/components/common/Icon.astro @@ -1,10 +1,10 @@ --- const { group, name, class: className, color } = Astro.props; -const displayName = name.replaceAll("-", " "); - const styles = color ? `color: ${color}` : null; +const ariaLabel = Astro.props.ariaLabel ?? name.replaceAll("-", " "); + export interface Props { /** The group that the icon belongs to. */ group: "brands" | "solid"; @@ -14,12 +14,13 @@ export interface Props { class?: string; /** The colour of the icon. */ color?: string; + ariaLabel?: string; } --- diff --git a/src/components/layout/Header.astro b/src/components/layout/Header.astro index f41bd7c..df3af7b 100644 --- a/src/components/layout/Header.astro +++ b/src/components/layout/Header.astro @@ -14,13 +14,13 @@ const { class: className } = Astro.props; - + - + @@ -29,7 +29,7 @@ const { class: className } = Astro.props; allowHTML > - + diff --git a/src/content/wiki/faq.mdx b/src/content/wiki/faq.mdx index bb0d560..6e9cfdd 100644 --- a/src/content/wiki/faq.mdx +++ b/src/content/wiki/faq.mdx @@ -1,7 +1,6 @@ --- title: FAQ description: Answers for frequently asked questions -getting-started: true --- import Accordion from "~/components/common/Accordion.astro"; diff --git a/src/layouts/WikiArticle.astro b/src/layouts/WikiArticle.astro index f4f3b4c..4470b3a 100644 --- a/src/layouts/WikiArticle.astro +++ b/src/layouts/WikiArticle.astro @@ -31,10 +31,10 @@ export interface Props { - + + @@ -90,10 +90,10 @@ export interface Props { - + + diff --git a/src/scss/main.scss b/src/scss/main.scss index f3ccc30..4f5bcfc 100644 --- a/src/scss/main.scss +++ b/src/scss/main.scss @@ -42,6 +42,7 @@ h6 { text-align: center; word-wrap: break-word; white-space: normal; + font-weight: 500; } h1 {