mirror of
https://github.com/schmidt1024/monero-flyer.git
synced 2025-06-15 08:43:06 +00:00
improve preview images
This commit is contained in:
@ -75,8 +75,8 @@ const setPreviewImages = () => {
|
||||
const lang = localStorage.getItem("language") || "en"
|
||||
const previewLightImage = document.querySelector(".preview-flyer-light img")
|
||||
const previewDarkImage = document.querySelector(".preview-flyer-dark img")
|
||||
previewLightImage.src = `./i18n/${lang}/preview-flyer-light.png`
|
||||
previewDarkImage.src = `./i18n/${lang}/preview-flyer-dark.png`
|
||||
previewLightImage.src = `./i18n/${lang}/preview-flyer-light.webp`
|
||||
previewDarkImage.src = `./i18n/${lang}/preview-flyer-dark.webp`
|
||||
previewLightImage.alt = `Preview flyer in light mode (${lang})`
|
||||
previewDarkImage.alt = `Preview flyer in dark mode (${lang})`
|
||||
const previewLightPdfLinks = document.querySelectorAll(
|
||||
|
BIN
i18n/de/preview-flyer-dark.webp
Normal file
BIN
i18n/de/preview-flyer-dark.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 45 KiB |
BIN
i18n/de/preview-flyer-light.webp
Normal file
BIN
i18n/de/preview-flyer-light.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 46 KiB |
BIN
i18n/en/preview-flyer-dark.webp
Normal file
BIN
i18n/en/preview-flyer-dark.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 41 KiB |
BIN
i18n/en/preview-flyer-light.webp
Normal file
BIN
i18n/en/preview-flyer-light.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 40 KiB |
@ -61,7 +61,7 @@
|
||||
<a href="" data-i18n="download-dark-pdf"></a>
|
||||
</div>
|
||||
</div>
|
||||
<a href="./i18n/en/Monero Flyer.pdf" class="download-button" data-i18n="download-button"></a>
|
||||
<a href="" data-i18n="download-button"></a>
|
||||
</section>
|
||||
|
||||
<p> </p>
|
||||
|
Reference in New Issue
Block a user