diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-10-13 22:01:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-13 22:01:58 +0100 |
| commit | 9ddedf444811bac0dd2d8ce6e21b64c8dee9de76 (patch) | |
| tree | 37a73f2fa3be191ff3b493246dc9b1fc6b7c5f5c /src/components/LallansIssue.astro | |
| parent | 6a0bd0ab3a0960cd1436190285ebe24bf8ef1f28 (diff) | |
| parent | 429aef251345cf54af2feed3f8ecb608db7fd7e7 (diff) | |
Merge pull request #13 from Sycamost/dev
Dev
Diffstat (limited to 'src/components/LallansIssue.astro')
| -rw-r--r-- | src/components/LallansIssue.astro | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/LallansIssue.astro b/src/components/LallansIssue.astro index 3b58124..c8bc6eb 100644 --- a/src/components/LallansIssue.astro +++ b/src/components/LallansIssue.astro @@ -4,6 +4,7 @@ import tSite from '$i18n/translations/site'; import { getLocaleFromPathOrThrow } from '$lib/getLocaleFromPath'; import relativePath from '$lib/relativePath'; import type LallansIssue from '$types/LallansIssue'; +import { Image } from 'astro:assets'; import LallansIssueContributions from './LallansIssueContributions.astro'; import LallansIssueContributors from './LallansIssueContributors.astro'; import PayPalButtons from './PayPalButtons.astro'; @@ -25,7 +26,7 @@ const t = translate(locale); </header> <div class="product__action-block"> - <img alt="" src={issue.img.src} /> + <Image alt="" src={issue.img.width274} /> <PayPalButtons successPageUrl={relativePath(Astro.url.pathname, `payment-success-confirmation`)} productDescription={`Lallans ${issue.issueNumber} | ${issue.issueName}`} |
