Add face picture
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.4 KiB |
BIN
images/headers/index/face-200.jpg
Normal file
After Width: | Height: | Size: 52 KiB |
BIN
images/headers/index/face-200.jxl
Normal file
BIN
images/headers/index/face-200.webp
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
images/headers/index/face-500.jpg
Normal file
After Width: | Height: | Size: 94 KiB |
BIN
images/headers/index/face-500.jxl
Normal file
BIN
images/headers/index/face-500.webp
Normal file
After Width: | Height: | Size: 58 KiB |
Before Width: | Height: | Size: 3.1 KiB |
@ -3,8 +3,13 @@
|
||||
<?php
|
||||
if (strcmp($page_title, 'home') == 0){
|
||||
echo '<picture id="header_face">';
|
||||
echo '<source srcset="/images/headers/index/face-150.webp" type="image/webp">';
|
||||
echo '<img src="/images/headers/index/face-100.webp" alt="Face image">';
|
||||
echo '<source media="(max-width:600px)" srcset="/images/headers/index/face-200.jxl" type="image/jxl">';
|
||||
echo '<source media="(max-width:600px)" srcset="/images/headers/index/face-200.webp" type="image/webp">';
|
||||
echo '<source media="(max-width:600px)" srcset="/images/headers/index/face-200.jpg" type="image/jpeg">';
|
||||
echo '<source srcset="/images/headers/index/face-500.jxl" type="image/jxl">';
|
||||
echo '<source srcset="/images/headers/index/face-500.webp" type="image/webp">';
|
||||
echo '<source srcset="/images/headers/index/face-500.jpg" type="image/jpeg">';
|
||||
echo '<img src="/images/headers/index/face-500.jpg" alt="Face image">';
|
||||
echo '</picture>';
|
||||
} ?> <!-- Moved from separate include to inline -->
|
||||
<h1><?php echo ucwords($page_title); ?></h1>
|
||||
|