📓 added new visitor + small edits

Signed-off-by: SindreKjelsrud <sindre@kjelsrud.dev>
This commit is contained in:
Sid 2024-08-11 23:29:50 +02:00
parent 0836fd1cdb
commit fb434f3590
Signed by: sidski
GPG key ID: D2BBDF3EDE6BA9A6
3 changed files with 16 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

View file

@ -2,7 +2,7 @@
"visitors": [
{
"name":"Sid",
"social":"sidski",
"social":"kjelsrud.dev",
"sociallink":"https://kjelsrud.dev",
"image":"/img/guestbook/sid_pizza.webp",
"date": {
@ -14,7 +14,7 @@
},
{
"name":"Albert",
"social":"bayazidi",
"social":"bayazidi.xyz",
"sociallink":"https://bayazidi.xyz",
"image":"/img/guestbook/albert_pizza.webp",
"date": {
@ -23,9 +23,21 @@
"day": "02",
"string": "02.03.2024"
}
},
{
"name":"Azlen",
"social":"azlen.me",
"sociallink":"https://azlen.me/",
"image":"/img/guestbook/azlen_pizza.webp",
"date": {
"year": "2024",
"month": "08",
"day": "10",
"string": "10.08.2024"
}
}
],
"meta": {
"lastModified": "March 02, 2024"
"lastModified": "August 11, 2024"
}
}

View file

@ -21,7 +21,7 @@ const visitors = guestbook["visitors"];
<div class="guestbook">
{visitor.name} ✿
<a href={visitor.sociallink} class="px-2 bg-gray-500 rounded-lg italic">
@{visitor.social}~
{visitor.social}~
</a>
</div>
</figcaption>