mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 11:09:18 +02:00
Replace random HSL gradients in homepage cards with header-style gradient; header keeps its own CSS-variables gradient
This commit is contained in:
@@ -55,11 +55,14 @@ $_thesisId = $_GET['id'] ?? null;
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<?php
|
||||
// Search bar — public section only
|
||||
$searchBarValue = $searchBarValue ?? $_GET['query'] ?? '';
|
||||
?>
|
||||
<div class="header-search-wrap">
|
||||
</header>
|
||||
|
||||
<?php if (!$_isAdmin): ?>
|
||||
<?php
|
||||
// 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"
|
||||
role="search" aria-label="Recherche">
|
||||
<label for="site-search-input" class="sr-only">Recherche</label>
|
||||
@@ -77,8 +80,5 @@ $_thesisId = $_GET['id'] ?? null;
|
||||
autocomplete="off"
|
||||
>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
</header>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
Reference in New Issue
Block a user