This commit is contained in:
OLIMINATOR 2023-08-06 16:25:56 +02:00
parent 17815a5678
commit a1e6b879de

View file

@ -63,27 +63,29 @@ PROJECTS.sort((a, b) => a.name.localeCompare(b.name));
{ {
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-800 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-800 p-6 md:w-96">
<div class="flex"> <div class="flex flex-col">
<h2 class="mb-4 break-words text-3xl font-bold"> <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="flex">
<div class="flex gap-1"> <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">
<img <div class="flex gap-1">
src="/icons/star.svg" <img
alt="" src="/icons/star.svg"
class="h-[21px] w-[21px] translate-y-[1px]" alt=""
/> class="h-[21px] w-[21px] translate-y-[1px]"
<p>{project.stats!.stars}</p> />
</div> <p>{project.stats!.stars}</p>
<div class="flex gap-1"> </div>
{" "} <div class="flex gap-1">
<img {" "}
src="/icons/code-fork-solid.svg" <img
alt="" src="/icons/code-fork-solid.svg"
class="h-[21px] w-[21px] translate-y-[1px]" alt=""
/> class="h-[21px] w-[21px] translate-y-[1px]"
<p>{project.stats!.forks}</p> />
<p>{project.stats!.forks}</p>
</div>
</div> </div>
</div> </div>
</div> </div>