Make hero image of A Summer's End sheine responsive

This commit is contained in:
Helen Chong 2024-04-20 12:18:54 +08:00
parent 76f590b5bb
commit 71008a4382
3 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,10 @@
{% extends "global/hero.njk" %} {% extends "global/hero.njk" %}
{% block heroImg %} {% block heroImg %}
<img src="/assets/asummersend/images/asummersend_header.png" alt="Banner of A Summer's End — Hong Kong 1986 Shrine"> <picture>
<source srcset="/assets/asummersend/images/asummersend-header-320.png" media="(orientation: landscape)" />
<img src="/assets/asummersend/images/asummersend-header.png" alt="Banner of A Summer's End — Hong Kong 1986 Shrine" />
</picture>
{% endblock %} {% endblock %}
{% block eventScript %} {% block eventScript %}

Binary file not shown.

After

Width:  |  Height:  |  Size: 423 KiB

View File

Before

Width:  |  Height:  |  Size: 529 KiB

After

Width:  |  Height:  |  Size: 529 KiB