Title image size and format options. Closes #35

This commit is contained in:
Fred Boniface 2022-10-17 13:58:10 +01:00
parent f13cfa9608
commit 4b115f9baf

View File

@ -1,3 +1,9 @@
<?php <picture>
<source media="(max-width:1000px)" srcset="/assets/title/title_355.jxl" type="image/jxl">
echo '<a href="/"><img class="titleimg" src="/assets/title/title.webp"></img></a>'; <source media="(max-width:1000px)" srcset="/assets/title/title_355.jxl" type="image/webp">
<source media="(max-width:1000px)" srcset="/assets/title/title_355.jxl" type="image/png">
<source srcset="/assets/title/title_600.jxl" type="image/jxl">
<source srcset="/assets/title/title_600.webp" type="image/webp">
<source srcset="/assets/title/title_600.png" type="image/png">
<img src="/assets/title/title_600.png" alt="Athena Owl Logo">
</picture>