Replace random HSL gradients in homepage cards with header-style gradient; header keeps its own CSS-variables gradient

This commit is contained in:
Pontoporeia
2026-04-09 14:34:59 +02:00
parent aa3fc50d92
commit 1885f2da92

View File

@@ -55,11 +55,14 @@ $_thesisId = $_GET['id'] ?? null;
</ul> </ul>
</nav> </nav>
<?php </header>
// Search bar — public section only
$searchBarValue = $searchBarValue ?? $_GET['query'] ?? ''; <?php if (!$_isAdmin): ?>
?> <?php
<div class="header-search-wrap"> // Search bar — public section only (rendered below header for equal height)
$searchBarValue = $searchBarValue ?? $_GET['query'] ?? '';
?>
<div class="header-search-wrap">
<form method="GET" action="/search.php" <form method="GET" action="/search.php"
role="search" aria-label="Recherche"> role="search" aria-label="Recherche">
<label for="site-search-input" class="sr-only">Recherche</label> <label for="site-search-input" class="sr-only">Recherche</label>
@@ -77,8 +80,5 @@ $_thesisId = $_GET['id'] ?? null;
autocomplete="off" autocomplete="off"
> >
</form> </form>
</div> </div>
<?php endif; ?>
<?php endif; ?>
</header>