summaryrefslogtreecommitdiff
path: root/src/components/LallansIssue.astro
diff options
context:
space:
mode:
authorJoe Carstairs <jcarstairs@scottlogic.com>2023-10-05 19:38:55 +0100
committerJoe Carstairs <jcarstairs@scottlogic.com>2023-10-05 19:40:19 +0100
commit2f185ba211d3680be4481ce7f4d299d61601250d (patch)
treefb9e748799c6f4f7de7b9ff4827115a324197efe /src/components/LallansIssue.astro
parentab5abcaac2d19c071bb073d57cd61fa57a627bb2 (diff)
Optimises images
Diffstat (limited to 'src/components/LallansIssue.astro')
-rw-r--r--src/components/LallansIssue.astro4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/LallansIssue.astro b/src/components/LallansIssue.astro
index efbcdec..3b58124 100644
--- a/src/components/LallansIssue.astro
+++ b/src/components/LallansIssue.astro
@@ -20,12 +20,12 @@ const t = translate(locale);
<section class="section--full-width">
<div class="product__header-block">
<header>
- <h1>{t(tSite, { key: 'lallans' })} {issue.issueNumber}</h1>
+ <h1>{t(tSite, { key: 'lallans' }) + ' ' + issue.issueNumber}</h1>
<p class="italic">{issue.description[locale]}</p>
</header>
<div class="product__action-block">
- <img alt="" src={`/images/lallans/issue${issue.issueNumber}.jpg`} />
+ <img alt="" src={issue.img.src} />
<PayPalButtons
successPageUrl={relativePath(Astro.url.pathname, `payment-success-confirmation`)}
productDescription={`Lallans ${issue.issueNumber} | ${issue.issueName}`}