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
-3
View File
@@ -2,8 +2,6 @@
Form: Login-Bereich Form: Login-Bereich
Funktion: Benutzerauthentifizierung und Zugang zum eigenen Profil, Erstellen von Beiträgen, etc. Funktion: Benutzerauthentifizierung und Zugang zum eigenen Profil, Erstellen von Beiträgen, etc.
--> -->
<form name="loginForm" action="?pfad=profile" method="POST">
<div style="width: 50%"> <div style="width: 50%">
<div style="width: 130px;"> <div style="width: 130px;">
<img src="../images/logo.png" width="120" height="72"> <img src="../images/logo.png" width="120" height="72">
@@ -27,4 +25,3 @@
<a href="index.html?pfad=auth/register" style="text-align: center;"> Noch keinen Account? Jetzt hier registrieren! </a> <a href="index.html?pfad=auth/register" style="text-align: center;"> Noch keinen Account? Jetzt hier registrieren! </a>
</div> </div>
</div> </div>
</form>
-2
View File
@@ -2,7 +2,6 @@
Form: Registrierung Form: Registrierung
Funktion: Erstellung neuer Benutzerkonten Funktion: Erstellung neuer Benutzerkonten
--> -->
<form name="loginForm" action="?pfad=register" method="POST">
<div style="width: 50%"> <div style="width: 50%">
<div style="width: 130px;"> <div style="width: 130px;">
@@ -29,4 +28,3 @@
</div> </div>
<button type="submit" value="anmelden" name="loginSubmit" style="width: 80%;">kostenlos registrieren</button> <button type="submit" value="anmelden" name="loginSubmit" style="width: 80%;">kostenlos registrieren</button>
</div> </div>
</form>
+17
View File
@@ -0,0 +1,17 @@
<!--
Seite: Home
Inhalt: Beinhaltet den Inhalt der Startseite
-->
<main>
<h1>EduForge</h1>
<p>
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et
dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet
clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,
consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no
sea takimata sanctus est Lorem ipsum dolor sit amet.
</p>
</main>
+8 -11
View File
@@ -1,10 +1,8 @@
<!-- <!--
Globales Menü, wird via PHP später in alle Seiten eingebunden Globales Menü, wird via PHP später in alle Seiten eingebunden
--> -->
<div style="width: 100%; z-index: 1; position: fixed"> <nav>
<div style="width: 20%;">
<img src="../images/logo.png" style="height: 44px; "> <img src="../images/logo.png" style="height: 44px; ">
</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/informatik.html" style = "color: white; padding: 5px; text-align: center; text-decoration: none; display: inline-block;"><b>Informatik</b></a>
| |
@@ -13,13 +11,12 @@ Globales Menü, wird via PHP später in alle Seiten eingebunden
<a href = "../content/physik.html" style = "padding: 5px; text-align: center; text-decoration: none; display: inline-block;"><b>Physik</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> <a href = "../content/profile.html" style = "padding: 5px; text-align: center; text-decoration: none; display: inline-block;"><b>Dein Profil</b></a>
|
<?php <?php
include_once 'includes/search.html'; include_once 'includes/search.php';
?> ?>
<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> <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>
</div>
<div> <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>
<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> </nav>
</div>
</div>
+2 -5
View File
@@ -1,8 +1,5 @@
<!-- <!--
Suchleiste. Wird via PHP später in alle Seiten eingebunden Suchleiste. Wird via PHP später in alle Seiten eingebunden
--> -->
<form action="/suche" method="GET"> <input type="search" id="site-search" name="q" placeholder="Suchen...">
<label for="site-search">Suche:</label> <button type="submit">Suchen</button>
<input type="search" id="site-search" name="q" placeholder="Suchen...">
<button type="submit">Suchen</button>
</form>
+1 -18
View File
@@ -16,26 +16,9 @@
<body> <body>
<nav>
<?php <?php
include_once 'includes/navbar.html'; include_once 'includes/navbar.php';
?> ?>
</nav>
<main>
<h1>EduForge</h1>
<p>
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et
dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet
clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,
consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no
sea takimata sanctus est Lorem ipsum dolor sit amet.
</p>
</main>
<footer> <footer>
<a href="legal/impressum.html">Impressum</a> <a href="legal/impressum.html">Impressum</a>