Compare commits

..

11 Commits

Author SHA1 Message Date
NOrtmann1 a2daded6b3 Footer-Link-Anpassungen (dynamisch wie navbar) 2026-05-26 11:25:47 +02:00
NOrtmann1 193e526e67 Update main.css 2026-05-26 11:00:25 +02:00
NOrtmann1 f77643af44 body-css-anpassungen 2026-05-26 10:59:07 +02:00
NOrtmann1 9e900a3436 Update footer.css 2026-05-26 10:54:40 +02:00
NOrtmann1 75988ffe71 Update footer.css 2026-05-26 10:54:02 +02:00
NOrtmann1 cb1f3f0d07 Update footer.css 2026-05-26 10:52:57 +02:00
NOrtmann1 4d8017aa2b Update footer.css 2026-05-26 10:51:32 +02:00
NOrtmann1 ee7986bef3 Update index.php 2026-05-21 21:03:38 +02:00
NOrtmann1 8de1b1bdb5 Update index.php 2026-05-21 21:02:46 +02:00
NOrtmann1 4a663391ef Update navbar.css 2026-05-21 21:00:20 +02:00
niklas.ortmann 4cd877ea4c Merge pull request 'PHP: Dynamischer Content' (#8) from PHP_DynamischerContent into dev
Reviewed-on: #8
2026-05-21 20:57:26 +02:00
6 changed files with 19 additions and 14 deletions
@@ -10,10 +10,10 @@
<meta name="description" content="EduForge"> <meta name="description" content="EduForge">
<meta name="author" content="Niklas Ortmann"> <meta name="author" content="Niklas Ortmann">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/x-icon" href="images/logos/logo_icon.ico"> <link rel="icon" type="image/x-icon" href="../images/logos/logo_icon.ico">
<link rel="stylesheet" href="css/main.css"> <link rel="stylesheet" href="../css/main.css">
<link rel="stylesheet" href="css/navbar.css"> <link rel="stylesheet" href="../css/navbar.css">
<link rel="stylesheet" href="css/footer.css"> <link rel="stylesheet" href="../css/footer.css">
<title>EduForge</title> <title>EduForge</title>
</head> </head>
-2
View File
@@ -1,7 +1,5 @@
/* FooterGrundlayout */ /* FooterGrundlayout */
footer { footer {
position: fixed;
bottom: 0;
width: 100%; width: 100%;
background: #333d43; background: #333d43;
text-align: center; text-align: center;
+7
View File
@@ -3,12 +3,19 @@ main {
max-width:1200px; max-width:1200px;
margin: 0 auto; margin: 0 auto;
padding: 20px; padding: 20px;
width: 100%;
box-sizing: border-box;
} }
body { body {
background-color: #eef2f7; background-color: #eef2f7;
color: #1f2937; color: #1f2937;
margin: 0; margin: 0;
min-height: 100vh;
display: grid;
grid-template-rows: auto 1fr auto; /* Header(auto), Inhalt (bekommt Rest), Footer(auto) */
} }
a, button, input, select, textarea, label, main{ a, button, input, select, textarea, label, main{
+2 -2
View File
@@ -149,8 +149,8 @@ CSS für die navbar
display: none; display: none;
} }
/* Responsive Anpassungen unter 660px (für z.B. Smartphones) */ /* Responsive Anpassungen unter 760px (für z.B. Smartphones) */
@media (max-width: 660px) { @media (max-width: 760px) {
.nav { .nav {
flex-direction: row; flex-direction: row;
flex-wrap: wrap; flex-wrap: wrap;
+3 -3
View File
@@ -1,5 +1,5 @@
<footer> <footer>
<a href="impressum.php">Impressum</a> <a href="index.php?pfad=impressum">Impressum</a>
<a href="datenschutz.php">Datenschutz</a> <a href="index.php?pfad=datenschutz">Datenschutz</a>
<a href="nutzungsbedingungen.php">Nutzungsbedingungen</a> <a href="index.php?pfad=nutzungsbedingungen">Nutzungsbedingungen</a>
</footer> </footer>
+3 -3
View File
@@ -1,6 +1,6 @@
<!-- <!--
Seite: Hompage der Lernplattform Seite: Index der Lernplattform
Funktion: Webseitengerüst, Anzeigen von Beiträgen, Suchfunktion etc. Funktion: Webseitengerüst, Anzeigen von Content
--> -->
<!DOCTYPE html> <!DOCTYPE html>
<html lang="de"> <html lang="de">
@@ -22,7 +22,7 @@
<?php <?php
include_once 'includes/navbar.php'; include_once 'includes/navbar.php';
//Dynamischer Inhalt (später mit php...): //Dynamischer Inhalt:
if (isset($_GET["pfad"])) { if (isset($_GET["pfad"])) {
if (file_exists('content/' . $_GET["pfad"] . '.php')) { if (file_exists('content/' . $_GET["pfad"] . '.php')) {
include_once 'content/' . $_GET["pfad"] . '.php'; include_once 'content/' . $_GET["pfad"] . '.php';