From 85de4a6de11eb865a131a0d440637a30cca7e2d1 Mon Sep 17 00:00:00 2001 From: xHyroM Date: Sat, 15 Jul 2023 14:07:35 +0200 Subject: [PATCH] feat(pages): add notice to projects page --- src/config.ts | 2 +- src/pages/projects.astro | 105 +++++++++++++++++++++------------------ 2 files changed, 59 insertions(+), 48 deletions(-) diff --git a/src/config.ts b/src/config.ts index 52070c5..bb945a4 100644 --- a/src/config.ts +++ b/src/config.ts @@ -214,7 +214,7 @@ export const PROJECTS = [ link: "https://github.com/xHyroM/spawnergenz", desc: "Spawner Genz is a plugin that modifies the functionality of spawners so that they don't spawn entities, but instead store drops in a virtual storag in which you can then sell or move everything to your inventory.", }, -] satisfies { +] as { name: string; link: string; desc: string; diff --git a/src/pages/projects.astro b/src/pages/projects.astro index 40be480..7fa9762 100644 --- a/src/pages/projects.astro +++ b/src/pages/projects.astro @@ -57,56 +57,67 @@ PROJECTS.sort((a, b) => a.name.localeCompare(b.name)); -
- { - PROJECTS.map((project) => ( -
-
-

- {project.name} -

-
-
- -

{project.stats!.stars}

-
-
- {" "} - -

{project.stats!.forks}

+
+
+ { + PROJECTS.map((project) => ( +
+
+

+ {project.name} +

+
+
+ +

{project.stats!.stars}

+
+
+ {" "} + +

{project.stats!.forks}

+
-
-

{project.desc}

-
-
-
- )) - } +

{project.desc}

+
+
+ + )) + } + + +
+

+ You can also look at my repositories on github. 👀 +

+