update header styling, add searchbar and implement it on every page

This commit is contained in:
Eric Blommel
2024-12-06 20:56:23 +01:00
parent 3f74d1a894
commit 0646b382ed
8 changed files with 154 additions and 161 deletions

View File

@@ -36,13 +36,10 @@ if (!isset($topicData)) {
<body class="min-h-screen">
<button class="menu-toggle fixed top-4 left-4 z-50 bg-white h-12 w-12 border-2 p-1 hover:border-[<?php echo($subjectData->color); ?>]">
<i class="fas fa-bars"></i>
</button>
<?php include 'header.php'; ?>
<!-- Left Sidebar -->
<nav class="sidebar bg-[<?php echo($subjectData->color); ?>]">
<nav class="sidebar bg-[<?php echo($subjectData->color); ?>] pt-24">
<div class="sidebar-header">
<i class="fas fa-graduation-cap"></i>
<h2><?php echo($subjectData->displayName); ?></h2>