2022-12-08 16:52:33 +01:00
|
|
|
---
|
|
|
|
import Layout from "../layouts/Layout.astro";
|
|
|
|
import Navbar from "../components/widgets/Navbar.astro";
|
|
|
|
import Container from "../components/atoms/Container.astro";
|
2022-12-09 14:11:57 +01:00
|
|
|
|
|
|
|
const projects = [
|
|
|
|
{
|
2022-12-12 17:19:10 +01:00
|
|
|
name: "HyX",
|
2022-12-09 14:11:57 +01:00
|
|
|
link: "https://www.google.com/",
|
2022-12-12 17:19:10 +01:00
|
|
|
desc: "Lorem ipsum dolor sit amet consectetur adipisicing elit. Cumque, quaerat.",
|
2022-12-09 16:55:43 +01:00
|
|
|
},
|
2022-12-09 14:11:57 +01:00
|
|
|
];
|
2022-12-08 16:52:33 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
<Layout>
|
|
|
|
<Navbar />
|
|
|
|
<h1 class="text-white text-5xl w-full text-center py-32 font-extrabold">
|
|
|
|
Projects
|
|
|
|
</h1>
|
|
|
|
|
2022-12-09 13:26:17 +01:00
|
|
|
<Container>
|
2022-12-09 16:55:43 +01:00
|
|
|
<main class="flex gap-12 flex-wrap justify-center">
|
2022-12-09 14:11:57 +01:00
|
|
|
{
|
|
|
|
projects.map((project) => (
|
2022-12-09 16:55:43 +01:00
|
|
|
<section class="flex flex-col md:w-96 w-80 min-h-max border-[1px] border-neutral-800 bg-gray p-6 rounded-md">
|
2022-12-18 20:23:55 +01:00
|
|
|
<div class="flex">
|
|
|
|
<h2 class="text-3xl font-bold text-white mb-4 break-all">
|
|
|
|
{project.name}
|
|
|
|
</h2>
|
|
|
|
<div class="bg-neutral-800 text-neutral-300 flex justify-center items-center h-fit rounded-lg py-1 px-4 ml-4 gap-2 translate-y-1">
|
|
|
|
<div class="flex gap-1">
|
|
|
|
<img
|
|
|
|
src="/icons/star.svg"
|
|
|
|
alt=""
|
2022-12-25 21:08:23 +01:00
|
|
|
class="w-[21px] h-[21px]"
|
2022-12-18 20:23:55 +01:00
|
|
|
/>
|
|
|
|
<p>4</p>
|
|
|
|
</div>
|
|
|
|
<div class="flex gap-1">
|
|
|
|
{" "}
|
|
|
|
<img
|
|
|
|
src="/icons/code-fork-solid.svg"
|
|
|
|
alt=""
|
2022-12-25 21:08:23 +01:00
|
|
|
class="w-[21px] h-[21px]"
|
2022-12-18 20:23:55 +01:00
|
|
|
/>
|
|
|
|
<p>9</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2022-12-09 16:39:55 +01:00
|
|
|
<p class="text-neutral-300 mb-6 break-all">
|
|
|
|
{project.desc}
|
|
|
|
</p>
|
2022-12-12 17:19:10 +01:00
|
|
|
<div>
|
|
|
|
<a
|
|
|
|
href={project.link}
|
|
|
|
class="inline-flex bottom-0 w-fit py-2 px-6 text-neutral-300 bg-neutral-800 rounded-md hover:bg-neutral-700 transition-colors duration-100 [&_img]:hover:translate-x-[2px] [&_img]:transition-all"
|
|
|
|
>
|
|
|
|
GitHub{" "}
|
|
|
|
<img
|
|
|
|
src="/icons/arrow-up-right.svg"
|
|
|
|
class="ml-2 w-5 mt-[1px] "
|
|
|
|
alt=""
|
|
|
|
/>
|
|
|
|
</a>
|
|
|
|
<a
|
|
|
|
href={project.link}
|
|
|
|
class=" translate-y-[6px] inline-flex bottom-0 w-fit py-2 px-6 text-neutral-300 transition-all duration-100 hover:text-neutral-200 hover:-translate-y-[-4px]"
|
|
|
|
>
|
|
|
|
<img
|
|
|
|
src="/icons/book-open.svg"
|
|
|
|
class="w-5 mr-2 "
|
|
|
|
alt=""
|
|
|
|
/>
|
|
|
|
Docs{" "}
|
|
|
|
</a>
|
|
|
|
</div>
|
2022-12-09 14:11:57 +01:00
|
|
|
</section>
|
|
|
|
))
|
|
|
|
}
|
2022-12-09 13:26:17 +01:00
|
|
|
</main>
|
|
|
|
</Container>
|
2022-12-08 16:52:33 +01:00
|
|
|
</Layout>
|