Optimise image loading
Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
parent
400953548f
commit
f77d262808
@ -21,13 +21,11 @@
|
||||
<button aria-label="Back" class="sidebar_control" onclick="history.back()">⇦</button>
|
||||
</div>
|
||||
|
||||
<picture>
|
||||
<source media="(min-width:800px)" secset="./images/logo/logo-full-715.webp" type="image/webp">
|
||||
<source media="(min-width:800px)" srcset="./images/logo/logo-full-715.png" type="image/png">
|
||||
<source media="(min-width:700px)" srcset="./images/logo/logo-full-512.webp" type="image/webp">
|
||||
<source media="(min-width:700px)" srcset="./images/logo/logo-full-512.png" type="image/png">
|
||||
<source media="(min-width:450px)" srcset="./images/logo/logo-full-256.webp" type="image/png">
|
||||
<source media="(min-width:450px)" srcset="./images/logo/logo-full-256.png" type="image/png">
|
||||
<picture>
|
||||
<source media="(max-width:450px)" srcset="/images/logo/logo-full-256.webp" type="image/webp">
|
||||
<source media="(max-width:450px)" srcset="/images/logo/logo-full-256.png" type="image/png">
|
||||
<source srcset="/images/logo/logo-full-512.webp" type="image/webp">
|
||||
<source srcset="/images/logo/logo-full-512.png" type="image/png">
|
||||
<img class="titleimg" src="./images/logo/logo-full-512.png" alt="OwlBoard Logo">
|
||||
</picture>
|
||||
<h2>Code Lookup</h2>
|
||||
|
@ -31,12 +31,12 @@
|
||||
|
||||
<!-- Main Content Begins -->
|
||||
<picture>
|
||||
<source media="(min-width:800px)" secset="/images/logo/logo-full-715.webp" type="image/webp">
|
||||
<source media="(min-width:800px)" srcset="/images/logo/logo-full-715.png" type="image/png">
|
||||
<source media="(min-width:700px)" srcset="/images/logo/logo-full-512.webp" type="image/webp">
|
||||
<source media="(min-width:700px)" srcset="/images/logo/logo-full-512.png" type="image/png">
|
||||
<source media="(min-width:450px)" srcset="/images/logo/logo-full-256.webp" type="image/webp">
|
||||
<source media="(min-width:450px)" srcset="/images/logo/logo-full-256.png" type="image/png">
|
||||
<source media="(max-width:450px)" srcset="/images/logo/logo-full-256.webp" type="image/webp">
|
||||
<source media="(max-width:450px)" srcset="/images/logo/logo-full-256.png" type="image/png">
|
||||
<source media="(max-width:700px)" srcset="/images/logo/logo-full-512.webp" type="image/webp">
|
||||
<source media="(max-width:700px)" srcset="/images/logo/logo-full-512.png" type="image/png">
|
||||
<source srcset="/images/logo/logo-full-715.webp" type="image/webp">
|
||||
<source srcset="/images/logo/logo-full-715.png" type="image/png">
|
||||
<img class="titleimg" src="/images/logo/logo-full-512.png" alt="OwlBoard Logo">
|
||||
</picture>
|
||||
<br>
|
||||
|
Reference in New Issue
Block a user