mirror of
https://github.com/xHyroM/website.git
synced 2024-11-10 01:38:05 +01:00
fix: project stats
This commit is contained in:
parent
bebc6bafbf
commit
a363f1ceb3
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue