This repository has been archived on 2023-08-24. You can view files and clone it, but cannot push or open issues or pull requests.
athena.fb-infra.uk/page-blocks/title-image.php

10 lines
641 B
PHP
Raw Normal View History

2022-10-17 14:23:36 +01:00
<?php
echo '<picture>';
echo '<source media="(max-width:1000px)" srcset="/assets/title/title_355.jxl" type="image/jxl">';
echo '<source media="(max-width:1000px)" srcset="/assets/title/title_355.webp" type="image/webp">';
echo '<source media="(max-width:1000px)" srcset="/assets/title/title_355.png" type="image/png">';
echo '<source srcset="/assets/title/title_600.jxl" type="image/jxl">';
echo '<source srcset="/assets/title/title_600.webp" type="image/webp">';
echo '<source srcset="/assets/title/title_600.png" type="image/png">';
2022-10-17 15:17:45 +01:00
echo '<img class="title-img" src="/assets/title/title_600.png" alt="Athena Owl Logo">';
2022-10-17 14:23:36 +01:00
echo '</picture>';