From 8b2d91cb1cdff722bb4913c8f023c6cd16801e5c Mon Sep 17 00:00:00 2001
From: Joe Carstairs <65492573+Sycamost@users.noreply.github.com>
Date: Fri, 13 Oct 2023 20:47:26 +0100
Subject: Optimises Scotsoun images
---
src/components/ScotsounCdGallery.astro | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
(limited to 'src/components/ScotsounCdGallery.astro')
diff --git a/src/components/ScotsounCdGallery.astro b/src/components/ScotsounCdGallery.astro
index 1c810a0..d2c7e0b 100644
--- a/src/components/ScotsounCdGallery.astro
+++ b/src/components/ScotsounCdGallery.astro
@@ -1,4 +1,5 @@
---
+import { Image } from 'astro:assets';
import { getAllScotsoun } from '$data/scotsoun';
import { getLocaleFromPathOrThrow } from '$lib/getLocaleFromPath';
import type Scotsoun from '$types/Scotsoun';
@@ -19,7 +20,7 @@ function scotsounIdDescending(scotsoun1: Scotsoun, scotsoun2: Scotsoun) {
class="link link-gallery__container"
href={`/${locale}/furthsettins/scotsoun/${scotsounItem.scotsounId}`}
>
-
+
{scotsounItem.title}
-- cgit v1.2.3