feat(pages): add notice to projects page

This commit is contained in:
xHyroM 2023-07-15 14:07:35 +02:00
parent b5461c9961
commit 85de4a6de1
No known key found for this signature in database
GPG key ID: BE0423F386C436AA
2 changed files with 59 additions and 48 deletions

View file

@ -214,7 +214,7 @@ export const PROJECTS = [
link: "https://github.com/xHyroM/spawnergenz", 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.", 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; name: string;
link: string; link: string;
desc: string; desc: string;

View file

@ -57,12 +57,13 @@ PROJECTS.sort((a, b) => a.name.localeCompare(b.name));
</h1> </h1>
<Container class="pb-4"> <Container class="pb-4">
<main class="flex flex-wrap justify-center gap-12"> <main class="text-white">
<section class="flex flex-wrap justify-center gap-12 pb-4">
{ {
PROJECTS.map((project) => ( PROJECTS.map((project) => (
<section class="flex min-h-max w-80 flex-col justify-between rounded-md border-[1px] border-neutral-800 bg-dark-50 p-6 md:w-96"> <section class="flex min-h-max w-80 flex-col justify-between rounded-md border-[1px] border-neutral-800 bg-dark-50 p-6 md:w-96">
<div class="flex"> <div class="flex">
<h2 class="mb-4 break-words text-3xl font-bold text-white"> <h2 class="mb-4 break-words text-3xl font-bold">
{project.name} {project.name}
</h2> </h2>
<div class="ml-4 flex h-fit translate-y-1 items-center justify-center gap-2 rounded-lg bg-neutral-800 px-4 py-1 text-neutral-300"> <div class="ml-4 flex h-fit translate-y-1 items-center justify-center gap-2 rounded-lg bg-neutral-800 px-4 py-1 text-neutral-300">
@ -107,6 +108,16 @@ PROJECTS.sort((a, b) => a.name.localeCompare(b.name));
</section> </section>
)) ))
} }
</section>
<section class="text-center text-xl">
<p>
You can also look at my repositories on <a
class="text-gold"
href="https://github.com/xHyroM">github</a
>. 👀
</p>
</section>
</main> </main>
</Container> </Container>
</Layout> </Layout>