summaryrefslogtreecommitdiff
path: root/src/components/Footer.astro
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-10-07 07:14:46 +0100
committerGitHub <noreply@github.com>2023-10-07 07:14:46 +0100
commit6a0bd0ab3a0960cd1436190285ebe24bf8ef1f28 (patch)
tree3c1cb310d0db6e342a8e0db44046bcfe143ccb24 /src/components/Footer.astro
parentc3cb0ee85b09104045e7eaf76d7d720bd9239141 (diff)
parent054d41398527550a931a8dd4ec0d9970d1caad51 (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.astro3
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">