From ceef018a996d499c02147ad73291bb4f7634ba8e Mon Sep 17 00:00:00 2001 From: Tyler Flowers Date: Thu, 4 Jan 2024 15:51:35 -0500 Subject: [PATCH] fix filter, code padding, and add mod page media --- .../public/media/mods/page_media_1.svg | 873 ++++++++++++++++++ .../public/media/mods/page_media_2.svg | 5 + apps/website/src/pages/mods.astro | 30 +- 3 files changed, 895 insertions(+), 13 deletions(-) create mode 100644 apps/website/public/media/mods/page_media_1.svg create mode 100644 apps/website/public/media/mods/page_media_2.svg diff --git a/apps/website/public/media/mods/page_media_1.svg b/apps/website/public/media/mods/page_media_1.svg new file mode 100644 index 0000000..0c6dc1b --- /dev/null +++ b/apps/website/public/media/mods/page_media_1.svg @@ -0,0 +1,873 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apps/website/public/media/mods/page_media_2.svg b/apps/website/public/media/mods/page_media_2.svg new file mode 100644 index 0000000..7566dd4 --- /dev/null +++ b/apps/website/public/media/mods/page_media_2.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/apps/website/src/pages/mods.astro b/apps/website/src/pages/mods.astro index 1bdb2ed..20e42b5 100644 --- a/apps/website/src/pages/mods.astro +++ b/apps/website/src/pages/mods.astro @@ -12,7 +12,7 @@ import { Code } from 'astro:components'; const res = await fetch('https://api.modrinth.com/v2/user/Wyvest/projects'); const data = await res.json(); const mods = data.filter((mod: any) => { - return mod.slug !== 'oneconfig' || mod.slug !== 'easeify'; + return mod.slug !== 'oneconfig' && mod.slug !== 'easeify'; }); --- @@ -65,11 +65,15 @@ const mods = data.filter((mod: any) => {
- +
+ stuff
+
+ stuff +
We listen to community feedback
@@ -85,18 +89,18 @@ const mods = data.filter((mod: any) => { { - // Do stuff here - }); -} + public MyConfig() { + super(new Mod("My Mod", ModType.UTIL_QOL), "config.json"); + addDependency("subSwitch", () -> { + // Do stuff here + }); + } }` } lang="java"