diff --git a/apps/website/src/components/base/Card.astro b/apps/website/src/components/base/Card.astro index 2eea908..6438273 100644 --- a/apps/website/src/components/base/Card.astro +++ b/apps/website/src/components/base/Card.astro @@ -16,7 +16,7 @@ const { --- -
- -

{text}

+
+ +

{text}

diff --git a/apps/website/src/pages/mods.astro b/apps/website/src/pages/mods.astro index 55a6cdf..cf231d5 100644 --- a/apps/website/src/pages/mods.astro +++ b/apps/website/src/pages/mods.astro @@ -9,13 +9,18 @@ import configConst from '@config'; import Layout from '@layouts/Layout.astro'; 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'; +}); ---
-
+
@@ -47,14 +52,14 @@ import { Code } from 'astro:components';
- 10+ mods. Unparalleled new features. OneConfig. We combine our groundbreaking library with mods with no equivalent anywhere else. + {Math.floor(mods.length / 5) * 5}+ mods. Unparalleled new features. OneConfig. We combine our groundbreaking library with mods with no equivalent anywhere else.
-
13 maintained mods
+
{mods.length} maintained mods
OneConfig is a revolutionary new way to configure mods. It allows you to configure all of your mods in one place, with a beautiful UI. @@ -79,7 +84,7 @@ import { Code } from 'astro:components';
+ } + lang="java" + />
diff --git a/apps/website/tailwind.config.ts b/apps/website/tailwind.config.ts index 355dc5a..8a37a65 100644 --- a/apps/website/tailwind.config.ts +++ b/apps/website/tailwind.config.ts @@ -46,6 +46,8 @@ const config: Config = { 'navy-peony': 'rgba(32, 55, 91, 1)', 'blue-gray': 'rgba(119, 143, 183, 1)', 'primary': { + 100: 'rgba(23, 28, 33, 1)', + 200: 'rgba(50, 74, 245, 1)', 600: 'rgba(20, 82, 204, 1)', }, },