diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-10-07 07:14:46 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-07 07:14:46 +0100 |
| commit | 6a0bd0ab3a0960cd1436190285ebe24bf8ef1f28 (patch) | |
| tree | 3c1cb310d0db6e342a8e0db44046bcfe143ccb24 /src/components/Footer.astro | |
| parent | c3cb0ee85b09104045e7eaf76d7d720bd9239141 (diff) | |
| parent | 054d41398527550a931a8dd4ec0d9970d1caad51 (diff) | |
Merge pull request #9 from Sycamost/optimise-images
Images moved to /image
Diffstat (limited to 'src/components/Footer.astro')
| -rw-r--r-- | src/components/Footer.astro | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 40fdddb..ffb49c9 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -3,6 +3,7 @@ import translate from '$i18n/translate'; import tComponent from '$i18n/translations/components/footer'; import { getLocaleFromPathOrDefault } from '$lib/getLocaleFromPath'; import Button from './Button.astro'; +import rssImg from '$images/rss.svg'; const locale = getLocaleFromPathOrDefault(Astro.url.pathname); const t = translate(locale); @@ -13,7 +14,7 @@ const t = translate(locale); <span class="footer__rss-button__label"> {t(tComponent, { key: 'subscribe-to-rss' })} </span> - <img class="footer__rss-button__img" src="/images/rss.svg" /> + <img class="footer__rss-button__img" src={rssImg.src} alt="" /> </a> <Button classNames="footer__back-to-top" href="#top"> |
