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/Scotsoun.astro | 3 ++- src/components/ScotsounCdGallery.astro | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src/components') diff --git a/src/components/Scotsoun.astro b/src/components/Scotsoun.astro index 594b8c9..bbf9730 100644 --- a/src/components/Scotsoun.astro +++ b/src/components/Scotsoun.astro @@ -1,4 +1,5 @@ --- +import { Image } from 'astro:assets'; import translate from '$i18n/translate'; import tSite from '$i18n/translations/site'; import tComponent from '$i18n/translations/components/scotsoun'; @@ -25,7 +26,7 @@ const t = translate(locale); {scotsoun?.author &&
{t(tSite, { key: 'by' }) + ' ' + scotsoun.author}
}{scotsounItem.title}
-- cgit v1.2.3