🧹 Cleaning up more after guestbook-refactor

Signed-off-by: SindreKjelsrud <sindre@kjelsrud.dev>
This commit is contained in:
Sid 2025-05-29 19:28:33 +02:00
parent e4b7f7631b
commit 192801348f
Signed by: sidski
GPG key ID: D2BBDF3EDE6BA9A6
3 changed files with 1 additions and 88 deletions

View file

@ -1,79 +0,0 @@
{
"visitors": [
{
"name": "Sid",
"social": "kjelsrud.dev",
"sociallink": "https://kjelsrud.dev",
"image": "/img/guestbook/sid_pizza.webp",
"date": {
"year": "2024",
"month": "03",
"day": "01",
"string": "01.03.2024"
}
},
{
"name": "Albert",
"social": "bayazidi.xyz",
"sociallink": "https://bayazidi.xyz",
"image": "/img/guestbook/albert_pizza.webp",
"date": {
"year": "2024",
"month": "03",
"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"
}
},
{
"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"
}
},
{
"name": "Kristoffer",
"social": "@kristoffer-jorgensborg",
"sociallink": "https://www.linkedin.com/in/kristoffer-jorgensborg/",
"image": "/img/guestbook/kristoffer_pizza.webp",
"date": {
"year": "2024",
"month": "08",
"day": "29",
"string": "29.08.2024"
}
},
{
"name": "Kai Waløen",
"social": "kwal.no",
"sociallink": "https://www.kwal.no",
"image": "/img/guestbook/kai_pizza.webp",
"date": {
"year": "2024",
"month": "09",
"day": "14",
"string": "14.09.2024"
}
}
],
"meta": {
"lastModified": "September 15, 2024"
}
}

View file

@ -1,11 +1,9 @@
---
import SectionContainer from '../components/SectionContainer.astro';
import guestbook from '../data/guestbook.json';
const visitors = guestbook["visitors"];
---
<SectionContainer>
<main class="flex flex-col flex-1">
<main>
<iframe src="https://guestbooks.meadow.cafe/guestbook/593" width="100%" height="1500" frameborder="0"></iframe>
</main>
</SectionContainer>

View file

@ -180,12 +180,6 @@ iframe {
padding-left: 10px;
}
/* GUESTBOOK */
.guestbook a:hover {
background-color: var(--dark-1);
color: var(--dark-bg);
}
/* QUOTES */
.author {
color: var(--dark-2);