2024-03-01 21:59:12 +01:00
---
import SectionContainer from '../components/SectionContainer.astro';
import guestbook from '../data/guestbook.json';
const visitors = guestbook["visitors"];
---
<SectionContainer>
<main class="flex flex-col flex-1 gap-4 mt-4">
2024-08-23 13:04:53 +02:00
<h1 class="text-3xl font-extrabold">[ Guestbook ]</h1>
2024-03-01 21:59:12 +01:00
<blockquote><p><em>Last update: {guestbook.meta.lastModified}</em></p></blockquote>
<div class="flex flex-col gap-2">
2024-08-29 10:33:07 +02:00
<p class="blog">Welcome to the <i>digital pizzeria</i>! Leave your mark by doodling a pizza slice, snapping a pic, and sharing it with me at <code>pizza [at] kjelsrud [dot] dev</code> with your name & social media / website. And remember, creativity knows no bounds! Just like in my sketch, where I went with a Bitcoin pizza slice!🪙</p>
2024-08-09 14:43:30 +02:00
<p class="blog italic text-xs"><strong>PS:</strong> This page was inspired by <a href="https://azlen.me/doorstep">azlen.me</a>!</p>
2024-03-01 21:59:12 +01:00
</div>
<div class="grid grid-cols-2 md:grid-cols-3 gap-2">
{visitors.map((visitor) => (
<div class="flex flex-col items-center">
<figure class="relative">
2024-03-02 09:45:49 +01:00
<img src={visitor.image} class="object-cover h-[300px] w-[300px] rounded-sm"/>
2024-03-17 12:43:00 +01:00
<figcaption class="absolute bottom-2 left-2 bg-black text-white px-2 py-1 rounded-xl text-xs">
2024-03-01 21:59:12 +01:00
<div class="guestbook">
{visitor.name} ✿
2024-08-29 10:33:07 +02:00
<a href={visitor.sociallink} target="_blank" class="px-2 bg-gray-500 rounded-lg italic">
2024-08-11 23:29:50 +02:00
{visitor.social}~
2024-03-01 21:59:12 +01:00
</a>
</div>
</figcaption>
</figure>
</div>
))}
</div>
</main>
</SectionContainer>