remake #2

Merged
fred.boniface merged 21 commits from remake into main 2022-10-30 20:07:18 +00:00
2 changed files with 7 additions and 2 deletions
Showing only changes of commit 109ec874ef - Show all commits

View File

@ -1,3 +1,5 @@
THIS FILE IS NOT CURRENTLY USED AND SHOULD BE DELETED AFTER TESTING
<picture id="header_face">
<source srcset="/images/headers/index/face-150.webp" type="image/webp">
<img src="/images/headers/index/face-100.webp" alt="Face image">

View File

@ -2,8 +2,11 @@
<div id="page_title" class="hide_micro">
<?php
if (strcmp($page_title, 'home') == 0){
include "./page-blocks/head-img-face.php";
} ?> <!-- THIS IS NOT WORKING. img-face IS NOT BEING INCLUDED!!! -->
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 '</picture>';
} ?> <!-- Moved from separate include to inline -->
<h1><?php echo ucwords($page_title); ?></h1>
</div>
</div>