Make hero image of KotOR shrine responsive
This commit is contained in:
parent
11223e8fc4
commit
306cf6fb05
|
@ -1,7 +1,10 @@
|
||||||
{% extends "global/hero.njk" %}
|
{% extends "global/hero.njk" %}
|
||||||
|
|
||||||
{% block heroImg %}
|
{% block heroImg %}
|
||||||
<img src="/assets/starwarskotor/images/swkotor-header.jpg" alt="Banner of Star Wars: Knights of the Old Republic Shrine">
|
<picture>
|
||||||
|
<source srcset="/assets/starwarskotor/images/swkotor-header-320.png" media="(orientation: landscape)" />
|
||||||
|
<img src="/assets/starwarskotor/images/swkotor-header.jpg" alt="anner of Star Wars: Knights of the Old Republic Shrine" />
|
||||||
|
</picture>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block eventScript %}
|
{% block eventScript %}
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 835 KiB |
Loading…
Reference in New Issue