Skip to content

Commit

Permalink
chore: stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
lajbel committed Nov 8, 2024
1 parent b747350 commit ad31140
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 16 deletions.
7 changes: 4 additions & 3 deletions src/components/Land/About.astro
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,14 @@ import AboutFeatured from "./AboutFeatured.astro";
</div>
</div>
<div>
<img
class="w-full max-w-3xl aspect-video"
src={kaplayBanner.src}
<Image
src={kaplayBanner}
alt="KAPLAY Banner"
height={1400}
width={500}
loading={"eager"}
quality={100}
decoding={"sync"}
/>
</div>
</div>
Expand Down
28 changes: 15 additions & 13 deletions src/components/Util/People.astro
Original file line number Diff line number Diff line change
@@ -1,27 +1,29 @@
---
/**
* @type {any}
*/
import { Image } from "astro:assets";
import peopleData from "../../data/contributors.json";
const contributors = Object.values(peopleData);
---

<div class="flex flex-col items-center justify-center gap-4">
<section class="flex flex-col items-center justify-center gap-4 p-4">
<h2 class="font-bold text-3xl">
People who contributed to KAPLAY.js
</h2>
<div
class="flex flex-row items-center justify-center flex-wrap gap-4 max-w-lg"
class="flex flex-row items-center justify-center flex-wrap gap-6 max-w-lg"
>
{
contributors.filter((_, i) => i < 20).map((person) => (
<div>
<img
class="rounded-full w-16 h-16"
src={person.avatar_url}
alt={person.login}
/>
</div>
<a href={`https://github.com/${person.login}`} target="_blank">
<div>
<Image
class="rounded-full w-18 h-18"
src={person.avatar_url}
alt={person.login}
width={72}
height={72}
/>
</div>
</a>
))
}
<div class="flex flex-col items-center justify-center">
Expand All @@ -34,4 +36,4 @@ const contributors = Object.values(peopleData);
</a>
</div>
</div>
</div>
</section>

0 comments on commit ad31140

Please sign in to comment.