📓 added new visitor
Signed-off-by: SindreKjelsrud <sindre@kjelsrud.dev>
This commit is contained in:
parent
b78bcbfe5e
commit
15eb848ed8
3 changed files with 15 additions and 3 deletions
BIN
public/img/guestbook/luca_pizza.webp
Normal file
BIN
public/img/guestbook/luca_pizza.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 313 KiB |
|
@ -35,9 +35,21 @@
|
|||
"day": "10",
|
||||
"string": "10.08.2024"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name":"Luca",
|
||||
"social":"les.cx",
|
||||
"sociallink":"https://les.cx/",
|
||||
"image":"/img/guestbook/luca_pizza.webp",
|
||||
"date": {
|
||||
"year": "2024",
|
||||
"month": "08",
|
||||
"day": "26",
|
||||
"string": "26.08.2024"
|
||||
}
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"lastModified": "August 11, 2024"
|
||||
"lastModified": "August 29, 2024"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ const visitors = guestbook["visitors"];
|
|||
<h1 class="text-3xl font-extrabold">[ Guestbook ]</h1>
|
||||
<blockquote><p><em>Last update: {guestbook.meta.lastModified}</em></p></blockquote>
|
||||
<div class="flex flex-col gap-2">
|
||||
<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 <a href="mailto:pizza@kjelsrud.dev">pizza@kjelsrud.dev</a> 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>
|
||||
<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>
|
||||
<p class="blog italic text-xs"><strong>PS:</strong> This page was inspired by <a href="https://azlen.me/doorstep">azlen.me</a>!</p>
|
||||
</div>
|
||||
<div class="grid grid-cols-2 md:grid-cols-3 gap-2">
|
||||
|
@ -20,7 +20,7 @@ const visitors = guestbook["visitors"];
|
|||
<figcaption class="absolute bottom-2 left-2 bg-black text-white px-2 py-1 rounded-xl text-xs">
|
||||
<div class="guestbook">
|
||||
{visitor.name} ✿
|
||||
<a href={visitor.sociallink} class="px-2 bg-gray-500 rounded-lg italic">
|
||||
<a href={visitor.sociallink} target="_blank" class="px-2 bg-gray-500 rounded-lg italic">
|
||||
{visitor.social}~
|
||||
</a>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue