mirror of
https://github.com/xHyroM/website.git
synced 2024-11-22 15:01:05 +01:00
feat(pages): add notice to projects page
This commit is contained in:
parent
b5461c9961
commit
85de4a6de1
2 changed files with 59 additions and 48 deletions
|
@ -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;
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue