diff --git a/src/components/Image.astro b/src/components/Image.astro index 826f18d..7ad4658 100644 --- a/src/components/Image.astro +++ b/src/components/Image.astro @@ -37,6 +37,7 @@ async function checkImage(image: ImageMetadata) { const { src: image, loader = true, + caption, pictureClass = "", hash = true, alt, diff --git a/src/components/card/Metadata.svelte b/src/components/card/Metadata.svelte index 862094c..6a13c21 100644 --- a/src/components/card/Metadata.svelte +++ b/src/components/card/Metadata.svelte @@ -9,7 +9,7 @@ const iso = (d: string | Date) => { if(!d) return "" const v = toDate(d); - if(!v) return "" + if(!v?.getTime) return "" return isNaN(v.getTime()) ? "" : v.toISOString(); }; diff --git a/src/content/photos/picos-de-europa/index.en.mdx b/src/content/photos/picos-de-europa/index.en.mdx index 5e9127c..5318aba 100644 --- a/src/content/photos/picos-de-europa/index.en.mdx +++ b/src/content/photos/picos-de-europa/index.en.mdx @@ -8,70 +8,124 @@ cover: ./images/20250527_125228.jpg tags: ["picos-de-europa","spain","hiking", "travel"] --- -Random assortion of images from the Picos de Europa trip +Unsorted pictures from our hike through the Picos de Europa. import Image from "@components/Image.astro"; +import ImageGallery from "@components/ImageGallery.svelte" +import ImageSlider from "@components/ImageSlider.svelte" + + + + +## May 27th + +First day, arrival at the sea. + import image1 from "images/20250527_125228.jpg" -import image2 from "images/PXL_20250601_132646197.jpg" +import image16 from "images/PXL_20250527_101057540.MP.jpg" +import image17 from "images/PXL_20250527_100728883.jpg" + + + A cow on a meadow in front of the sea + A person on flysch rock in front of a cave at the sea + A person in a cave from which you can see the sea + + +## May 28th + +First day of hiking + +import image15 from "images/PXL_20250528_121633744.MP.jpg" +import image19 from "images/20250528_164715.jpg" + + + Us after the first 300 meters + Many mountain goats that like to lick the salt from the skin + + +## May 29th + +Hard ascent + +import videoUrl1 from "images/PXL_20250529_125633973_small_x265.mp4" +import image12 from "images/PXL_20250530_082919731.jpg" +import image13 from "images/PXL_20250529_201559403.jpg" + +