Compare commits

..

11 Commits

Author SHA1 Message Date
e426926692 course-seite ohne styles 2025-07-11 10:41:58 +02:00
07a56b31a6 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	Views/Welcome/showWelcome.phtml
2025-07-11 10:23:32 +02:00
3dc185b667 WIP teilnahme 2025-07-11 10:22:39 +02:00
8cebf35c6d Merge remote-tracking branch 'origin/main'
# Conflicts:
#	Views/Welcome/showWelcome.phtml
2025-07-11 10:12:57 +02:00
e5637d4929 Kurse in Landing Page integriert 2025-07-11 10:11:18 +02:00
c8499aa9d5 course-seite vorbereitung 2025-07-11 09:50:45 +02:00
509c685d80 css fix 2025-07-10 12:50:38 +02:00
96e569c66d responsivität 2025-07-10 12:46:18 +02:00
aa20731efc fix registration seite 2025-07-10 11:56:45 +02:00
0ff636c20a Merge remote-tracking branch 'origin/main'
# Conflicts:
#	CSS/style.css
2025-07-10 11:43:11 +02:00
a2b66de0be footer für alle Seiten und new Modal 2025-07-10 11:42:30 +02:00
25 changed files with 449 additions and 130 deletions

View File

@@ -3,6 +3,7 @@ header {
top: 0px; top: 0px;
left: 0px; left: 0px;
width: 100%; width: 100%;
background-color: var(--brand-background);
} }
nav { nav {

View File

@@ -18,6 +18,13 @@
cursor: pointer; cursor: pointer;
} }
.btn-link {
text-decoration: underline;
background-color: transparent;
color: var(--brand-white);
border: none;
}
.btn-primary { .btn-primary {
background: var(--brand-primary); background: var(--brand-primary);
border-radius: 3px; border-radius: 3px;

View File

@@ -24,18 +24,23 @@ body {
color: white; color: white;
text-align: left; text-align: left;
max-width: 1000px; max-width: 1000px;
margin: 0 auto;
padding-left: 230px;
margin-bottom: 30px; margin-bottom: 30px;
} }
.course-grid { .course-grid {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
gap: 30px; gap: 40px;
margin: 0 auto; margin-left: 20px;
} }
@media screen and (max-width: 765px) {
.course-grid{
margin-left: 0;
}
}
.course-card { .course-card {
background: var(--brand-white); background: var(--brand-white);
border-radius: 12px; border-radius: 12px;

View File

@@ -2,7 +2,6 @@
background: #EB8202; background: #EB8202;
color: #fff; color: #fff;
padding: 1em; padding: 1em;
max-width: 300px;
border-radius: 8px; border-radius: 8px;
font-family: sans-serif; font-family: sans-serif;
margin-bottom: 1em; margin-bottom: 1em;

View File

@@ -51,6 +51,12 @@ textarea {
margin: auto; margin: auto;
} }
@media screen and (max-width: 1024px) {
.form-grid {
grid-template-columns: repeat(1, 1fr);
}
}
.form-grid-3 { .form-grid-3 {
display: grid; display: grid;
grid-template-columns: repeat(3, 1fr); grid-template-columns: repeat(3, 1fr);
@@ -91,7 +97,7 @@ form .error {
outline-color: var(--error); outline-color: var(--error);
} }
.form-user { .form-user {
justify-content: center !important; /*justify-content: center !important;*/
grid-template-columns: auto !important; grid-template-columns: auto !important;
} }
@@ -108,3 +114,14 @@ form .error {
height: var(--h-sm); height: var(--h-sm);
width: var(--h-sm); width: var(--h-sm);
} }
.input-transparent{
background: transparent!important;
border: transparent!important;
}
@media only screen and (max-width: 500px) {
.input-transparent{
display: none;
}
}

34
CSS/Element/modal.css Normal file
View File

@@ -0,0 +1,34 @@
.modal-overlay {
display: none;
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.6);
justify-content: center;
align-items: center;
z-index: 1000;
}
.modal-overlay.is-visible {
display: flex;
}
.modal {
background: var(--brand-background);
padding: 1.5rem;
border-radius: 6px;
text-align: center;
max-width: 320px;
width: 90%;
}
@media only screen and (min-width: 900px) {
.modal nav {
padding: 24px 42px 24px 42px;
}
}
@media only screen and (max-width: 800px) {
.modal nav {
padding: 0;
}
}

View File

@@ -8,6 +8,7 @@
@import url(Element/card.css); @import url(Element/card.css);
@import url(Element/sidebar.css); @import url(Element/sidebar.css);
@import url(Element/filter_box.css); @import url(Element/filter_box.css);
@import url(Element/modal.css);
*, *,
*:before, *:before,
@@ -23,6 +24,7 @@ body {
color: var(--brand-white); color: var(--brand-white);
font-size: 15px; font-size: 15px;
margin: 0; margin: 0;
overflow-x: hidden;
} }
h1 { h1 {
@@ -47,6 +49,13 @@ main {
margin-top: 190px; margin-top: 190px;
} }
@media screen and (max-width: 1024px) {
main{
margin-top: 50px;
}
}
.msg { .msg {
text-align: center; text-align: center;
font-size: 17px; font-size: 17px;
@@ -109,6 +118,14 @@ main {
align-items: center; align-items: center;
} }
@media only screen and (max-width: 500px) {
.d-flex-between{
flex-wrap: wrap;
justify-content: center;
gap: 20px;
}
}
.hover:hover { .hover:hover {
opacity: 0.75; opacity: 0.75;
text-decoration: none; text-decoration: none;

View File

@@ -7,19 +7,31 @@
/*** Container ***/ /*** Container ***/
.container{ .container {
max-width: 90%; max-width: 90%;
padding: 24px 42px 24px 42px; /* padding: 24px 42px 24px 42px; */
margin: 0 auto; margin: 0 auto;
color: var(--brand-white); color: var(--brand-white);
} }
@media only screen and (max-width: 500px) {
.container {
padding: 5px;
}
}
.row { .row {
display: flex; display: flex;
flex-flow: row; flex-flow: row;
flex-wrap: wrap; flex-wrap: wrap;
} }
@media (max-width: 800px) {
.row {
display: block;
}
}
/*** Spaltendefinitionen Smartphone Ansicht ***/ /*** Spaltendefinitionen Smartphone Ansicht ***/
@media (max-width: 529px) { @media (max-width: 529px) {
.col-s-12 { .col-s-12 {
@@ -33,16 +45,19 @@
} }
/*** Spaltendefinitionen Tablet Ansicht ***/ /*** Spaltendefinitionen Tablet Ansicht ***/
@media (min-width: 530px) { @media (min-width: 750px) {
.col-m-1 { .col-m-1 {
flex: 0 0 100%; flex: 0 0 100%;
} }
.col-m-4 { .col-m-4 {
flex: 0 0 33.3333333%; flex: 0 0 33.3333333%;
} }
.col-m-6 { .col-m-6 {
flex: 0 0 50%; flex: 0 0 50%;
} }
.col-m-12 { .col-m-12 {
flex: 0 0 100%; flex: 0 0 100%;
} }
@@ -53,21 +68,35 @@
.col-1 { .col-1 {
flex: 0 0 8.3333333%; flex: 0 0 8.3333333%;
} }
.col-3 { .col-3 {
flex: 0 0 25%; flex: 0 0 25%;
} }
.col-4 { .col-4 {
flex: 0 0 33.3333333%; flex: 0 0 33.3333333%;
} }
.col-card-4{
flex: 1 1 calc((100% - (3 - 1) * 40px) / 3);
}
.col-5 { .col-5 {
flex: 0 0 41.6666667%; flex: 0 0 41.6666667%;
} }
.col-6 { .col-6 {
flex: 0 0 50%; flex: 0 0 50%;
} }
.col-8 { .col-8 {
flex: 0 0 66.66666667%; flex: 0 0 66.66666667%;
} }
.col-9{
flex: 0 0 75%;
}
.col-12 { .col-12 {
flex: 0 0 100%; flex: 0 0 100%;
} }

View File

@@ -0,0 +1,35 @@
<?php
namespace Blog\Controller;
use Blog\Model\CourseModel;
class CourseController{
private $view;
private $db;
public function __construct($view){
$this->db = new CourseModel();
$this->view = $view;
}
public function showCourse(){
$id = $_GET["courseId"] ?? null;
if(!$id){
header('Location: index.php');
exit;
}
$kurs = $this->db->getCourseById($id);
if(!$kurs){
new \Blog\Library\ErrorMsg("Kurs nicht gefunden");
}
$this->view->setVars([
"kurs" => $kurs
]);
}
}

View File

@@ -26,10 +26,10 @@ class UserController{
]; ];
private $changeUserLabels = [ private $changeUserLabels = [
'vorname' => 'Vorname*', 'vorname' => 'Vorname',
'name' => 'Nachname*', 'name' => 'Nachname',
'email' => 'E-Mail*', 'email' => 'E-Mail',
'password' => 'Passwort*', 'password' => 'Passwort',
]; ];
private $kursValidData = array(); private $kursValidData = array();
@@ -267,7 +267,7 @@ class UserController{
$currentUser = $this->db->getUserById($userId); $currentUser = $this->db->getUserById($userId);
if(!$currentUser){ if(!$currentUser){
throw new \Exception("User nicht gefunden"); new \Blog\Library\ErrorMsg("User nicht gefunden");
} }
$validData = [ $validData = [
@@ -296,7 +296,7 @@ class UserController{
$currentUser = $this->db->getUserById($userId); $currentUser = $this->db->getUserById($userId);
if (!$currentUser) { if (!$currentUser) {
throw new \Exception('User nicht gefunden'); new \Blog\Library\ErrorMsg('User nicht gefunden');
} }
$submitted = [ $submitted = [
@@ -388,5 +388,20 @@ class UserController{
} }
public function enroll() {
$courseId = $_POST['id'] ?? null;
$userId = $_SESSION['user_id'] ?? null;
if ($userId === null) {
new \Blog\Library\ErrorMsg("Nicht eingeloggt.");
}
if ($courseId === null) {
new \Blog\Library\ErrorMsg("Kein Kurs ausgewählt");
}
$this->db->enroll($courseId, $userId);
$this->view->setDoMethodName("showEnrollmentConfirmation");
}
} }

34
JS/modal.js Normal file
View File

@@ -0,0 +1,34 @@
document.addEventListener('DOMContentLoaded', () =>{
const deleteForm = document.getElementById("deleteForm")
const confirmModal = document.getElementById("confirmModal");
const btnCancel = document.getElementById("btnCancel");
console.log(btnCancel);
const btnConfirm = document.getElementById("btnConfirm");
deleteForm.addEventListener('submit',e => {
e.preventDefault();
confirmModal.classList.add('is-visible');
})
btnCancel.addEventListener('click', e => {
confirmModal.classList.remove('is-visible');
})
btnConfirm.addEventListener('click', e => {
confirmModal.classList.remove('is-visible');
deleteForm.submit();
});
deleteForm.addEventListener('click', e => {
if (e.target === deleteForm) {
confirmModal.classList.remove('is-visible');
}
});
document.addEventListener('keydown', e => {
if (e.key === 'Escape' && deleteForm.classList.contains('is-visible')) {
confirmModal.classList.remove('is-visible');
}
});
});

24
Model/CourseModel.php Normal file
View File

@@ -0,0 +1,24 @@
<?php
namespace Blog\Model;
use Blog\Model\Database;
use PDOException;
use Random\RandomException;
class CourseModel extends Database
{
public function getCourseById(string $id){
$pdo = $this->linkDB();
$sql = "SELECT k.id, k.name, k.preis, k.dauer, k.rabatt, k.kategorie, k.beschreibung, k.ort_id,
o.stadt, o.strasse, o.plz, b.note, b.kommentar
FROM kurs k
JOIN ort o ON k.ort_id = o.id
LEFT JOIN bewertungen AS b ON b.kurs_id = k.id
WHERE k.id = :id";
$sth = $pdo->prepare($sql);
$sth->execute([':id' => $id]);
$result = $sth->fetch(\PDO::FETCH_ASSOC);
return $result ?? null;
}
}

View File

@@ -190,7 +190,40 @@ class UserModel extends Database
die; die;
} }
} }
public function getAllCourses() {
$pdo = $this->linkDB();
$userId = $_SESSION['user_id'] ?? null;
if ($userId === null) {
$sql = "SELECT
k.id, k.name, k.preis, k.dauer, k.rabatt, k.kategorie, k.beschreibung, k.ort_id,
o.stadt, o.strasse, o.plz, b.note, b.kommentar,
0 AS isTeilnehmer
FROM kurs AS k
JOIN ort AS o ON o.id = k.ort_id
LEFT JOIN bewertungen AS b ON b.kurs_id = k.id";
$params = [];
} else {
$sql = "SELECT
k.id, k.name, k.preis, k.dauer, k.rabatt, k.kategorie, k.beschreibung, k.ort_id,
o.stadt, o.strasse, o.plz, b.note, b.kommentar,
CASE WHEN ku.user_id IS NULL THEN 0 ELSE 1 END AS isTeilnehmer
FROM kurs AS k
JOIN ort AS o ON o.id = k.ort_id
LEFT JOIN bewertungen AS b ON b.kurs_id = k.id
LEFT JOIN kurs_user AS ku ON ku.kurs_id = k.id AND ku.user_id = :userId";
$params = ['userId' => $userId];
}
try {
$sth = $pdo->prepare($sql);
$sth->execute($params);
return $sth->fetchAll(\PDO::FETCH_ASSOC);
} catch (PDOException $e) {
new \Blog\Library\ErrorMsg("Fehler beim Lesen der Daten.", $e);
die;
}
}
public function updateCourse($course) { public function updateCourse($course) {
$pdo = $this->linkDB(); $pdo = $this->linkDB();
@@ -261,4 +294,35 @@ class UserModel extends Database
return true; return true;
} }
public function enroll($courseId, $userId) {
$pdo = $this->linkDB();
try {
$checkSql = "SELECT COUNT(*) FROM kurs_user WHERE user_id = :user_id AND kurs_id = :kurs_id";
$checkStmt = $pdo->prepare($checkSql);
$checkStmt->execute([
':user_id' => $userId,
':kurs_id' => $courseId
]);
if ($checkStmt->fetchColumn() > 0) {
return false;
}
$insertSql = "INSERT INTO kurs_user (user_id, kurs_id) VALUES (:user_id, :kurs_id)";
$insertStmt = $pdo->prepare($insertSql);
$insertStmt->execute([
':user_id' => $userId,
':kurs_id' => $courseId
]);
} catch (PDOException $e) {
new \Blog\Library\ErrorMsg("Fehler beim Einschreiben in den Kurs.", $e);
die;
}
return true;
}
} }

View File

@@ -0,0 +1,20 @@
<?php
include dirname(__DIR__).'/header.phtml';
?>
<div class="container">
<div class="row">
<div class="col-6">
<h1><?= htmlspecialchars($kurs['name']) ?></h1>
</div>
<div class="col-6">
<p><strong>Bewertung:</strong> <?= $kurs['note'] ?></p>
<p><strong>Preis:</strong> <?= htmlspecialchars($kurs['preis']) ?></p>
<p><strong>Adresse:</strong> <?= htmlspecialchars($kurs['strasse']) ?>, <?= htmlspecialchars($kurs['plz']) ?> <?= htmlspecialchars($kurs['stadt']) ?></p>
<p><?= nl2br(htmlspecialchars($kurs['beschreibung'] ?? '')) ?></p>
<a href="index.php"> Zurück zur Kursübersicht</a>
</div>
</div>
</div>
<?php include dirname(__DIR__).'/footer.phtml'; ?>

View File

@@ -0,0 +1,12 @@
<?php
include dirname(__DIR__).'/header.phtml';
?>
<div class="msg">
<p>Erfolgreich aufgenommen!</p>
<a href="?controller=welcome">Weiter</a>
</div>
<?php include dirname(__DIR__).'/footer.phtml'; ?>

View File

@@ -3,6 +3,15 @@
?> ?>
<article> <article>
<div id="confirmModal" class="modal-overlay">
<div class="modal">
<p>Sind Sie sicher, dass Sie Ihren Account löschen möchten?</p>
<div class="row" style="flex-wrap: nowrap">
<button id="btnCancel" class="btn btn-secondary">Abbrechen</button>
<button id="btnConfirm" class="btn btn-logout">Ja, Account löschen</button>
</div>
</div>
</div>
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-12"> <div class="col-12">
@@ -32,7 +41,7 @@
</form> </form>
</li> </li>
<li> <li>
<form method="post"> <form method="post" id="deleteForm">
<input type="hidden" name="controller" value="user"> <input type="hidden" name="controller" value="user">
<input type="hidden" name="do" value="deleteAccount"> <input type="hidden" name="do" value="deleteAccount">
<button type="submit" class="btn btn-logout">Meinen Account löschen</button> <button type="submit" class="btn btn-logout">Meinen Account löschen</button>
@@ -52,5 +61,4 @@
</div> </div>
</article> </article>
<?php include dirname(__DIR__).'/footer.phtml'; ?> <?php include dirname(__DIR__).'/footer.phtml'; ?>

View File

@@ -5,7 +5,7 @@ include dirname(__DIR__).'/header.phtml';
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-12"> <div class="col-12">
<h1>Change Account Info</h1> <h1>Meine Daten ändern</h1>
<form method="post" class="form-grid form-user"> <form method="post" class="form-grid form-user">
<?php foreach ($changeUserLabels as $key => $label): ?> <?php foreach ($changeUserLabels as $key => $label): ?>
@@ -32,3 +32,5 @@ include dirname(__DIR__).'/header.phtml';
</div> </div>
</div> </div>
</div> </div>
<?php include dirname(__DIR__).'/footer.phtml'; ?>

View File

@@ -12,3 +12,5 @@
</div> </div>
</div> </div>
</div> </div>
<?php include dirname(__DIR__).'/footer.phtml'; ?>

View File

@@ -22,3 +22,5 @@
</div> </div>
</div> </div>
</div> </div>
<?php include dirname(__DIR__).'/footer.phtml'; ?>

View File

@@ -32,3 +32,5 @@
</div> </div>
</div> </div>
</div> </div>
<?php include dirname(__DIR__).'/footer.phtml'; ?>

View File

@@ -9,3 +9,5 @@
<?php <?php
include dirname(__DIR__).'/footer.phtml'; include dirname(__DIR__).'/footer.phtml';
?> ?>

View File

@@ -28,8 +28,11 @@
<input type="hidden" name="controller" value="user"> <input type="hidden" name="controller" value="user">
<input type="hidden" name="do" value="register"> <input type="hidden" name="do" value="register">
<input type="text" class="input-transparent">
<button type="submit" class="btn btn-primary btn-form">Registrieren</button> <button type="submit" class="btn btn-primary btn-form">Registrieren</button>
</form> </form>
</div> </div>
</div> </div>
</div> </div>
<?php include dirname(__DIR__).'/footer.phtml'; ?>

View File

@@ -1,7 +1,6 @@
<?php <?php
include dirname(__DIR__) . '/header.phtml'; include dirname(__DIR__) . '/header.phtml';
// Filter auslesen
$rating = $_GET['rating'] ?? ''; $rating = $_GET['rating'] ?? '';
$price = $_GET['price'] ?? ''; $price = $_GET['price'] ?? '';
$location = $_GET['location'] ?? ''; $location = $_GET['location'] ?? '';
@@ -14,7 +13,7 @@ $location = $_GET['location'] ?? '';
<p class="welcome-subheading">Alle Kurse in deiner Nähe auf einen Blick</p> <p class="welcome-subheading">Alle Kurse in deiner Nähe auf einen Blick</p>
<div class="row"> <div class="row">
<div class="col-4"> <div class="col-3 col-m-12">
<div class="filter-box"> <div class="filter-box">
<form method="get"> <form method="get">
<label for="rating">Bewertung:</label> <label for="rating">Bewertung:</label>
@@ -36,61 +35,18 @@ $location = $_GET['location'] ?? '';
</div> </div>
</div> </div>
<div class="col-8"> <div class="col-9">
<!-- KURSLISTE -->
<div class="course-grid row"> <div class="course-grid row">
<?php <?php
$kurse = [ $userModel = new \Blog\Model\UserModel();
[ $kurse = $userModel->getAllCourses();
'bewertung' => 5,
'titel' => 'Marketing Pro',
'adresse' => 'Bulu ulu Straße 17',
'preis' => '59,99€',
'ort' => '33333 Frankfurt',
'leiter' => 'Max Mustermann'
],
[
'bewertung' => 4,
'titel' => 'Design Basics',
'adresse' => 'Musterstraße 10',
'preis' => '39,99€',
'ort' => '10115 Berlin',
'leiter' => 'Lisa Beispiel'
],
[
'bewertung' => 5,
'titel' => 'Excel Masterclass',
'adresse' => 'Tabellenweg 5',
'preis' => '49,99€',
'ort' => '20457 Hamburg',
'leiter' => 'Thomas Tabelle'
],
[
'bewertung' => 5,
'titel' => 'Excel Masterclass',
'adresse' => 'Tabellenweg 5',
'preis' => '49,99€',
'ort' => '20457 Hamburg',
'leiter' => 'Thomas Tabelle'
],
[
'bewertung' => 5,
'titel' => 'Excel Masterclass',
'adresse' => 'Tabellenweg 5',
'preis' => '49,99€',
'ort' => '20457 Hamburg',
'leiter' => 'Thomas Tabelle'
],
];
// Filter anwenden
$filteredKurse = array_filter($kurse, function($kurs) use ($rating, $location) { $filteredKurse = array_filter($kurse, function($kurs) use ($rating, $location) {
if ($rating && $kurs['bewertung'] < $rating) return false; if ($rating && $kurs['note'] < $rating) return false;
if ($location && stripos($kurs['ort'], $location) === false) return false; if ($location && stripos($kurs['ort'], $location) === false) return false;
return true; return true;
}); });
// Preise in Float umwandeln für Sortierung
if ($price) { if ($price) {
usort($filteredKurse, function($a, $b) use ($price) { usort($filteredKurse, function($a, $b) use ($price) {
$priceA = floatval(str_replace(',', '.', str_replace('€', '', $a['preis']))); $priceA = floatval(str_replace(',', '.', str_replace('€', '', $a['preis'])));
@@ -99,28 +55,51 @@ $location = $_GET['location'] ?? '';
}); });
} }
foreach ($filteredKurse as $kurs): ?> $doc = new DOMDocument('1.0', 'UTF-8');
<div class="course-card col-4">
if (!empty($filteredKurse)) {
foreach ($filteredKurse as $kurs) {
foreach ($filteredKurse as $kurs) {
$id = htmlspecialchars($kurs['id']);
$note = htmlspecialchars($kurs['note'] ?? 'Keine Bewertung') . ' ★';
$name = htmlspecialchars($kurs['name']);
$address = htmlspecialchars($kurs['strasse'] . ', ' . $kurs['stadt'] . ' ' . $kurs['plz']);
$preis = htmlspecialchars($kurs['preis']) . ' €';
$kategorie = htmlspecialchars($kurs['kategorie'] ?? 'Keine Kategorie');
echo <<<HTML
<a style="flex: 0 0 calc(50% - 20px);" href="?controller=course&do=showCourse&courseId=$id">
<div class="course-card">
<div class="course-image"></div> <div class="course-image"></div>
<div class="course-content"> <div class="course-content">
<div class="course-left"> <div class="course-left">
<div><?= $kurs['bewertung'] ?></div> <div>$note</div>
<div><?= $kurs['titel'] ?></div> <div>$name</div>
<div>Kursleiter: <?= $kurs['leiter'] ?></div> <div>$address</div>
<div><?= $kurs['adresse'] ?></div>
</div> </div>
<div class="course-right"> <div class="course-right">
<div><?= $kurs['preis'] ?></div> <div>$preis</div>
<div><?= $kurs['ort'] ?></div> <div>$kategorie</div>
</div> <form method="POST" class="course-card-form">
</div> <input type="hidden" name="do" value="enroll">
</div> <input type="hidden" name="controller" value="user">
<?php endforeach; ?> <input type="hidden" name="id" value="$id">
<button type="submit" class="btn-link">Teilnehmen</button>
</form>
</div> </div>
</div> </div>
</div> </div>
HTML;
}
}
} else {
echo '<p>Keine Kurse gefunden.</p>';
}
?>
</div>
</div>
</div>
</div> </div>

View File

@@ -1,6 +1,6 @@
</main> </main>
<footer> <footer>
footer
</footer> </footer>
<script src="JS/modal.js"></script>
</body> </body>
</html> </html>

View File

@@ -14,6 +14,9 @@
</head> </head>
<body> <body>
<div class="container">
<div class="row">
<div class="col-12">
<header> <header>
<nav class="d-flex-between"> <nav class="d-flex-between">
<a id="logo" href="index.php">bib<span>course</span></a> <a id="logo" href="index.php">bib<span>course</span></a>
@@ -34,5 +37,8 @@
</div> </div>
</nav> </nav>
</header> </header>
</div>
</div>
</div>
<!-- TODO Transparent mit Fehleranzeige bei der Anmeldung --> <!-- TODO Transparent mit Fehleranzeige bei der Anmeldung -->
<main> <main>