From e0735fd429372ae5a1f47e03cbdadbb9fe6297a9 Mon Sep 17 00:00:00 2001 From: DrMint <29893320+DrMint@users.noreply.github.com> Date: Sat, 1 Jun 2024 17:17:06 +0200 Subject: [PATCH] Changed icons to regular variant --- TODO.md | 1 - src/components/AppLayout/components/Footer.astro | 2 +- src/components/Button.astro | 2 ++ src/components/Metadata.astro | 15 ++++----------- .../TableOfContent/TableOfContent.astro | 2 +- src/pages/[locale]/api/pages/partial.astro | 4 ++-- src/pages/[locale]/audios/[id].astro | 6 +++--- .../[slug]/_components/AvailabilityInfo.astro | 2 +- .../ContentsSection/ContentsSection.astro | 2 +- .../[slug]/_components/PageInfo.astro | 2 +- .../[slug]/_components/SizeInfo.astro | 2 +- .../[slug]/_components/SubitemSection.astro | 2 +- .../[slug]/_components/WeightInfo.astro | 2 +- .../collectibles/[slug]/gallery/[index].astro | 4 ++-- .../[locale]/collectibles/[slug]/index.astro | 8 ++++---- src/pages/[locale]/images/[id].astro | 4 ++-- src/pages/[locale]/index.astro | 12 ++++++------ src/pages/[locale]/videos/[id].astro | 6 +++--- 18 files changed, 36 insertions(+), 42 deletions(-) diff --git a/TODO.md b/TODO.md index 774fa30..6407752 100644 --- a/TODO.md +++ b/TODO.md @@ -22,7 +22,6 @@ ## Mid term - [Feat] [Payload] Home as parent folders for home folders -- [Feat] Change icons to filled one - [Bugs] [Timeline] Error if collectible not published? - [Feat] [Timeline] display source language - [Feat] [Timeline] Add details button in footer with credits + last updated / created diff --git a/src/components/AppLayout/components/Footer.astro b/src/components/AppLayout/components/Footer.astro index b5259e2..096a279 100644 --- a/src/components/AppLayout/components/Footer.astro +++ b/src/components/AppLayout/components/Footer.astro @@ -52,7 +52,7 @@ const contactLabel = `${t("footer.socials.contact.title")} - ${t( - +

{t("footer.socials.contact.title")}

diff --git a/src/components/Button.astro b/src/components/Button.astro index 2ecfee8..f73741d 100644 --- a/src/components/Button.astro +++ b/src/components/Button.astro @@ -38,6 +38,7 @@ const { title, icon, class: className, ariaLabel, id } = Astro.props; place-items: center; place-content: center; gap: 1em; + white-space: pre; font-variation-settings: "wght" 700; cursor: pointer; @@ -51,6 +52,7 @@ const { title, icon, class: className, ariaLabel, id } = Astro.props; & > svg { width: 1.2em; height: 1.2em; + flex-shrink: 0; } } diff --git a/src/components/Metadata.astro b/src/components/Metadata.astro index 6456602..1475b00 100644 --- a/src/components/Metadata.astro +++ b/src/components/Metadata.astro @@ -32,23 +32,16 @@ if (values.length === 0) return;