From 2eb14724c700cd2f27c3582293c862de50db72fe Mon Sep 17 00:00:00 2001 From: Daniel <790119+DanTheMan827@users.noreply.github.com> Date: Wed, 31 Jul 2024 16:43:41 -0500 Subject: [PATCH] Move function to get page mod info into a separate file and get more info about the mods --- website/src/components/FundingButton.astro | 4 +- website/src/components/ModCard.astro | 2 + website/src/components/ModFilter.astro | 33 +--------------- website/src/getModInfo.ts | 46 ++++++++++++++++++++++ 4 files changed, 53 insertions(+), 32 deletions(-) create mode 100644 website/src/getModInfo.ts diff --git a/website/src/components/FundingButton.astro b/website/src/components/FundingButton.astro index 7cb5e9f3..4c3fce6e 100644 --- a/website/src/components/FundingButton.astro +++ b/website/src/components/FundingButton.astro @@ -21,6 +21,7 @@ const filteredFunding = funding.filter((url) => isValidUrl(url)); btn btn-error btn-sm + funding-link mr-2 qavs-none rounded-lg @@ -81,9 +82,10 @@ const filteredFunding = funding.filter((url) => isValidUrl(url)); target="_blank" class={` block + block + funding-link px-4 py-2 - block `} >