diff --git a/public/img/guestbook/sid_pizza.webp b/public/img/guestbook/sid_pizza.webp new file mode 100644 index 0000000..35da1e9 Binary files /dev/null and b/public/img/guestbook/sid_pizza.webp differ diff --git a/src/data/guestbook.json b/src/data/guestbook.json new file mode 100644 index 0000000..77a7233 --- /dev/null +++ b/src/data/guestbook.json @@ -0,0 +1,19 @@ +{ + "visitors": [ + { + "name":"Sid", + "social":"sidski", + "sociallink":"https://kjelsrud.dev", + "image":"/img/guestbook/sid_pizza.webp", + "date": { + "year": "2024", + "month": "01", + "day": "03", + "string": "01.03.2024" + } + } + ], + "meta": { + "lastModified": "March 01, 2024" + } +} diff --git a/src/pages/guestbook.astro b/src/pages/guestbook.astro new file mode 100644 index 0000000..f28bd61 --- /dev/null +++ b/src/pages/guestbook.astro @@ -0,0 +1,34 @@ +--- +import SectionContainer from '../components/SectionContainer.astro'; +import guestbook from '../data/guestbook.json'; +const visitors = guestbook["visitors"]; +--- + + +
+

📓 Guestbook

+

Last update: {guestbook.meta.lastModified}

+
+

In the kitchen of the heart, each of us savors the memory of a beloved pizza slice. This favorite flavor, distinct to every palate, evokes a taste as satisfying and nostalgic as home.

+

Welcome to the digital pizzeria! A place where the visitors of my site can leave a little "I was here"-tag by taking a moment to doodle a pizza slice, snapping a picture of their creation, and sharing it with me at kjelsrudsindre@gmail.com. Don't forget to include the picture, your name & website/social media!

+

And remember, creativity knows no bounds! Just like in my sketch, where I went with a Bitcoin pizza slice!🪙

+
+
+ {visitors.map((visitor) => ( +
+
+ +
+
+ {visitor.name} ✿ + + @{visitor.social}~ + +
+
+
+
+ ))} +
+
+
diff --git a/src/pages/index.astro b/src/pages/index.astro index 36bba3e..878b163 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -8,9 +8,12 @@ import HeaderLink from '../components/HeaderLink.astro';

Sindre Kjelsrud

-

Computer Science-student at Western University of Applied Sciences, campus Bergen.

-

I like spending my free time bouldering/climbing, playing some games on my Wii, watching the newest One Piece episode or build cairns.

-

This website is just a fun side-project that I actively work on, and use as my creative outlet. It's also a way for me to actually own my data, allowing me to log data, post pictures and more!

+
+

Computer Science-student at Western University of Applied Sciences, campus Bergen.

+

I like spending my free time bouldering/climbing, playing some games on my Wii, watching the newest One Piece episode or build cairns.

+

This website is just a fun side-project that I actively work on, and use as my creative outlet. It's also a way for me to actually own my data, allowing me to log data, post pictures and more!

+

Let me know youve been here by signing my guestbook!

+

pages