home-site + navbar

Auslagerung des home-contents in home.html

navbar und searchbar werden korrekt angezeigt

login- und register-form wurden entfernt (Funktionalität kommt später)
This commit is contained in:
2026-04-20 21:25:53 +02:00
parent 01e94d7f6a
commit 39c0488592
6 changed files with 40 additions and 51 deletions
+18 -21
View File
@@ -1,25 +1,22 @@
<!--
Globales Menü, wird via PHP später in alle Seiten eingebunden
-->
<div style="width: 100%; z-index: 1; position: fixed">
<div style="width: 20%;">
<img src="../images/logo.png" style="height: 44px; ">
</div>
<nav>
<img src="../images/logo.png" style="height: 44px; ">
<a href = "../content/informatik.html" style = "color: white; padding: 5px; text-align: center; text-decoration: none; display: inline-block;"><b>Informatik</b></a>
|
<a href = "../content/mathe.html" style = "padding: 5px; text-align: center; text-decoration: none; display: inline-block;"><b>Mathe</b></a>
|
<a href = "../content/physik.html" style = "padding: 5px; text-align: center; text-decoration: none; display: inline-block;"><b>Physik</b></a>
|
<a href = "../content/profile.html" style = "padding: 5px; text-align: center; text-decoration: none; display: inline-block;"><b>Dein Profil</b></a>
<?php
include_once 'includes/search.html';
?>
<div>
<a href = "index.html?pfad=auth/login.html" style = "background-color: #f44336; color: white; padding: 4px 20px; text-align: center; text-decoration: none; display: inline-block;"> Anmelden </a>
</div>
<div>
<a href = "index.html?pfad=auth/register.html" style = "background-color: #f44336; color: white; padding: 4px 20px; text-align: center; text-decoration: none; display: inline-block;"> Registrieren </a>
</div>
</div>
<a href = "../content/informatik.html" style = "color: white; padding: 5px; text-align: center; text-decoration: none; display: inline-block;"><b>Informatik</b></a>
|
<a href = "../content/mathe.html" style = "padding: 5px; text-align: center; text-decoration: none; display: inline-block;"><b>Mathe</b></a>
|
<a href = "../content/physik.html" style = "padding: 5px; text-align: center; text-decoration: none; display: inline-block;"><b>Physik</b></a>
|
<a href = "../content/profile.html" style = "padding: 5px; text-align: center; text-decoration: none; display: inline-block;"><b>Dein Profil</b></a>
|
<?php
include_once 'includes/search.php';
?>
|
<a href = "index.php?pfad=auth/login.php" style = "background-color: #f44336; color: white; padding: 4px 20px; text-align: center; text-decoration: none; display: inline-block;"> Anmelden </a>
<a href = "index.php?pfad=auth/register.php" style = "background-color: #f44336; color: white; padding: 4px 20px; text-align: center; text-decoration: none; display: inline-block;"> Registrieren </a>
</nav>