fix: project stats

This commit is contained in:
OLIMINATOR 2023-08-30 16:26:12 +02:00
parent bebc6bafbf
commit a363f1ceb3

View file

@ -13,7 +13,7 @@ for (const project of PROJECTS) {
headers: { headers: {
Authorization: `Bearer ${import.meta.env.GITHUB_ACCESS_TOKEN}`, Authorization: `Bearer ${import.meta.env.GITHUB_ACCESS_TOKEN}`,
}, },
} },
).catch(console.log); ).catch(console.log);
if (!rawRepository) { if (!rawRepository) {
project.stats = { project.stats = {
@ -63,7 +63,7 @@ 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 flex-col"> <div class="flex justify-between">
<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>