add valencia gallery (#4)

* 🍱 add images

Signed-off-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>

* 💬 add valencia in gallery-page

Signed-off-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>

* 🍱 add json-doc for gallery

Signed-off-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>

* 🚧 working on valencia gallery

Signed-off-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>

* 🍱 add more images

Signed-off-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>

---------

Signed-off-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
This commit is contained in:
Sid 2024-02-26 23:10:07 +01:00 committed by GitHub
parent b12045f48e
commit 95c6ee84c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 195 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 931 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 644 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 374 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 401 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 532 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 963 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 489 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 825 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 308 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 723 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 866 KiB

164
src/data/gallery.json Normal file
View file

@ -0,0 +1,164 @@
{
"valencia": [
{
"date":
{
"year": "2024",
"month": "02",
"day": "25",
"string": "2024-02-25"
},
"image": "/img/gallery/valencia/orangesky.webp"
},
{
"date":
{
"year": "2024",
"month": "02",
"day": "18",
"string": "2024-02-18"
},
"image": "/img/gallery/valencia/bluewater_montanejos.webp"
},
{
"date":
{
"year": "2024",
"month": "02",
"day": "18",
"string": "2024-02-18"
},
"image": "/img/gallery/valencia/watercannon_montanejos.webp"
},
{
"date":
{
"year": "2024",
"month": "02",
"day": "18",
"string": "2024-02-18"
},
"image": "/img/gallery/valencia/rainbow_montanejos.webp"
},
{
"date":
{
"year": "2024",
"month": "02",
"day": "18",
"string": "2024-02-18"
},
"image": "/img/gallery/valencia/landscape_montanejos.webp"
},
{
"date":
{
"year": "2024",
"month": "02",
"day": "18",
"string": "2024-02-18"
},
"image": "/img/gallery/valencia/red_horse_montanejos.JPG"
},
{
"date":
{
"year": "2024",
"month": "02",
"day": "18",
"string": "2024-02-18"
},
"image": "/img/gallery/valencia/view_montanejos.webp"
},
{
"date":
{
"year": "2024",
"month": "02",
"day": "17",
"string": "2024-02-17"
},
"image": "/img/gallery/valencia/valencia-sevilla.webp"
},
{
"date":
{
"year": "2024",
"month": "02",
"day": "17",
"string": "2024-02-17"
},
"image": "/img/gallery/valencia/church.webp"
},
{
"date":
{
"year": "2024",
"month": "02",
"day": "11",
"string": "2024-02-11"
},
"image": "/img/gallery/valencia/aventador_bellus.webp"
},
{
"date":
{
"year": "2024",
"month": "02",
"day": "11",
"string": "2024-02-11"
},
"image": "/img/gallery/valencia/snailshell_bellus.webp"
},
{
"date":
{
"year": "2024",
"month": "02",
"day": "11",
"string": "2024-02-11"
},
"image": "/img/gallery/valencia/climbing_bellus.webp"
},
{
"date":
{
"year": "2024",
"month": "02",
"day": "10",
"string": "2024-02-10"
},
"image": "/img/gallery/valencia/carnavaldevinaros.webp"
},
{
"date":
{
"year": "2024",
"month": "02",
"day": "04",
"string": "2024-02-04"
},
"image": "/img/gallery/valencia/trashcan.webp"
},
{
"date":
{
"year": "2024",
"month": "01",
"day": "29",
"string": "2024-01-29"
},
"image": "/img/gallery/valencia/chopper.jpg"
},
{
"date":
{
"year": "2024",
"month": "01",
"day": "25",
"string": "2024-01-25"
},
"image": "/img/gallery/valencia/orangetree.jpg"
}
]
}

View file

@ -8,4 +8,5 @@ Under you'll see different pages where I collect and showcase some of my photogr
This way you can check out moments and places of my life, but keep in mind I'm no photographer lol. These are just my memories and a way to replace Instagram. This way you can check out moments and places of my life, but keep in mind I'm no photographer lol. These are just my memories and a way to replace Instagram.
- [**my cairn collection**](/gallery/cairns) - [**cairn collection**](/gallery/cairns)
- [**valencia**](/gallery/valencia)

View file

@ -0,0 +1,29 @@
---
import SectionContainer from '../../components/SectionContainer.astro';
import gallery from '../../data/gallery.json';
const valenciaImages = gallery.valencia.map(image => ({
date: image.date.string,
image: image.image
}));
---
<SectionContainer>
<main class="flex flex-col gap-6 py-8">
<h1 class="text-4xl font-bold">gallery: valencia</h1>
<div class="grid grid-cols-3 gap-4">
{
valenciaImages.map(image => (
<div class="overflow-hidden">
<img
class="object-contain w-full h-full transform transition duration-500 hover:scale-105"
src={image.image}
alt="Valencia image"
loading="lazy"
/>
</div>
))
}
</div>
</main>
</SectionContainer>