From 1ff554fefe5a960e544c49fdd47fd1f0963e8ebc Mon Sep 17 00:00:00 2001 From: LynithDev <61880709+LynithDev@users.noreply.github.com> Date: Wed, 27 Dec 2023 18:43:56 +0100 Subject: Pretty much finished the mods page except for images / svgs --- apps/website/src/components/base/navbar/NavbarElement.astro | 4 ++-- apps/website/src/components/icons/Icon.astro | 1 + apps/website/src/components/icons/impl/oneconfig.svg | 5 +++++ 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 apps/website/src/components/icons/impl/oneconfig.svg (limited to 'apps/website/src/components') diff --git a/apps/website/src/components/base/navbar/NavbarElement.astro b/apps/website/src/components/base/navbar/NavbarElement.astro index a1c27b9..0fe544b 100644 --- a/apps/website/src/components/base/navbar/NavbarElement.astro +++ b/apps/website/src/components/base/navbar/NavbarElement.astro @@ -28,7 +28,7 @@ function isCurrentPage(url: string): boolean { ? ( {element.text && element.text} - {element.logo && } + {element.logo && } {element.dropdown && } ) @@ -74,7 +74,7 @@ function isCurrentPage(url: string): boolean { {element.dropdown.map(item => (
  • -
    +
    {item.logo && }
    diff --git a/apps/website/src/components/icons/Icon.astro b/apps/website/src/components/icons/Icon.astro index b186a76..fc4fc21 100644 --- a/apps/website/src/components/icons/Icon.astro +++ b/apps/website/src/components/icons/Icon.astro @@ -3,6 +3,7 @@ import type { HTMLAttributes } from 'astro/types'; import { parse } from 'node-html-parser'; type _ModIcons = + | 'oneconfig' | 'chatting' | 'polysprint' | 'vanillahud' diff --git a/apps/website/src/components/icons/impl/oneconfig.svg b/apps/website/src/components/icons/impl/oneconfig.svg new file mode 100644 index 0000000..cba37ab --- /dev/null +++ b/apps/website/src/components/icons/impl/oneconfig.svg @@ -0,0 +1,5 @@ + + + + + -- cgit