Convert playlist cover images to AVIF format

This commit is contained in:
Helen Chong 2024-06-06 22:17:11 +08:00
parent b6fc7be5e8
commit a5b0567c8a
7 changed files with 9 additions and 2 deletions

View File

@ -1,5 +1,5 @@
{% macro myASEPlaylist(intro) %} {% macro myASEPlaylist(intro) %}
{% imgFigure "/assets/projects/playlists/My-Dear-Summer-Lover-cover.png", "Cover image of A Summers End fanmix 'My Dear Summer Lover: A Sam x Michelle Fanmix'" %} {% imgFigure "/assets/projects/playlists/My-Dear-Summer-Lover-cover.avif", "Cover image of A Summers End fanmix 'My Dear Summer Lover: A Sam x Michelle Fanmix'" %}
[Image description: Sam and Michelle from A Summers End almost kisses, with a play symbol and text on the top left corner, and the text "My Dear Summer Lover: A Sam x Michelle Fanmix" in a digital style font in front.] [Image description: Sam and Michelle from A Summers End almost kisses, with a play symbol and text on the top left corner, and the text "My Dear Summer Lover: A Sam x Michelle Fanmix" in a digital style font in front.]
{% endimgFigure %} {% endimgFigure %}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 MiB

View File

@ -0,0 +1,7 @@
---
date: 2024-06-06
---
* Remove unused Font Awesome assets, including font and CSS files, to improve site performance.
* Convert header images and my avatar to AVIF format to reduce file size.
* Set shrine index images, shrine home page images and my avatar to lazy load.

View File

@ -15,7 +15,7 @@ eleventyNavigation:
## Mandopop LGBTQ+ Anthem [華語流行音樂同志國歌]{lang="zh"} ## Mandopop LGBTQ+ Anthem [華語流行音樂同志國歌]{lang="zh"}
<figure> <figure>
<img src="/assets/projects/playlists/Mandopop-LGBTQ+-Anthem-Cover.png" alt="Cover image of the Mandopop LGBTQ+ Anthem playlist"> <img src="/assets/projects/playlists/Mandopop-LGBTQ+-Anthem-Cover.avif" alt="Cover image of the Mandopop LGBTQ+ Anthem playlist">
<figcaption> <figcaption>
[Image description: A progress pride flag, with Chinese words meaning queer anthem on top.] [Image description: A progress pride flag, with Chinese words meaning queer anthem on top.]
</figcaption> </figcaption>