diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 7d3dd0e..638908d 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -8,9 +8,9 @@ const today = new Date(); const updateImageForTheme = () => { const currentTheme = document.documentElement.classList.contains('dark') ? 'dark' : 'light'; - githubImage.src = currentTheme === 'dark' ? '/socials/github_dark.svg' : '/socials/github_light.svg'; - spotifyImage.src = currentTheme === 'dark' ? '/socials/spotify_dark.svg' : '/socials/spotify_light.svg'; - webringImage.src = currentTheme === 'dark' ? '/socials/webring_dark.svg' : '/socials/webring_light.svg'; + githubImage.src = currentTheme === 'dark' ? '/socials/github_light.svg' : '/socials/github_dark.svg'; + spotifyImage.src = currentTheme === 'dark' ? '/socials/spotify_light.svg' : '/socials/spotify_dark.svg'; + webringImage.src = currentTheme === 'dark' ? '/socials/webring_light.svg' : '/socials/webring_dark.svg'; }; updateImageForTheme(); @@ -25,13 +25,13 @@ const today = new Date();