From 1beed29a838774cc3b177f38bb765d9e307e9f28 Mon Sep 17 00:00:00 2001 From: LynithDev <61880709+LynithDev@users.noreply.github.com> Date: Sat, 6 Jan 2024 11:35:28 +0100 Subject: Grayscale hover on navbar dropdown elements + client side mod fetching --- apps/website/config.ts | 2 +- .../src/components/base/navbar/NavbarElement.astro | 2 +- apps/website/src/pages/mods.astro | 38 +++++++++++++++++----- apps/website/src/types/Config.d.ts | 2 +- apps/website/tailwind.config.ts | 4 +++ 5 files changed, 36 insertions(+), 12 deletions(-) (limited to 'apps') diff --git a/apps/website/config.ts b/apps/website/config.ts index 1d1daef..bb52e9a 100644 --- a/apps/website/config.ts +++ b/apps/website/config.ts @@ -7,7 +7,7 @@ export const configConst = { youtube: 'https://youtube.com/', discord: 'https://discord.gg/', github: 'https://github.com/Polyfrost', - modrinth: 'https://modrinth.com/user/Wyvest', + modrinthId: 'a6VEZDKe', // user id of Wyvest }, navbar: { left: [ diff --git a/apps/website/src/components/base/navbar/NavbarElement.astro b/apps/website/src/components/base/navbar/NavbarElement.astro index c2c76b3..5e37253 100644 --- a/apps/website/src/components/base/navbar/NavbarElement.astro +++ b/apps/website/src/components/base/navbar/NavbarElement.astro @@ -74,7 +74,7 @@ function isCurrentPage(url: string): boolean { {element.dropdown.map(item => (