Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
352a1c0b54 | ||
|
|
e5f6949ce7 |
No files matched your search
File renamed without changes.
|
Before Width: | Height: | Size: 134 KiB After Width: | Height: | Size: 134 KiB |
File renamed without changes.
@@ -1,323 +0,0 @@
|
|||||||
/* Grundlegende Resets */
|
|
||||||
* {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
font-family: Arial, sans-serif;
|
|
||||||
background-color: #f5f5f5;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
min-height: 100vh;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Header Styles */
|
|
||||||
.header {
|
|
||||||
background-color: white;
|
|
||||||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
|
||||||
padding: 15px 30px;
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header-logo {
|
|
||||||
font-size: 24px;
|
|
||||||
font-weight: bold;
|
|
||||||
color: #0084ff;
|
|
||||||
text-decoration: none;
|
|
||||||
letter-spacing: 1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header-buttons {
|
|
||||||
display: flex;
|
|
||||||
gap: 15px;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header-btn {
|
|
||||||
padding: 10px 20px;
|
|
||||||
border: none;
|
|
||||||
border-radius: 4px;
|
|
||||||
font-size: 14px;
|
|
||||||
font-weight: bold;
|
|
||||||
cursor: pointer;
|
|
||||||
transition: all 0.3s ease;
|
|
||||||
text-decoration: none;
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header-btn-secondary {
|
|
||||||
background-color: transparent;
|
|
||||||
color: #0084ff;
|
|
||||||
border: 2px solid #0084ff;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header-btn-secondary:hover {
|
|
||||||
background-color: #0084ff;
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header-btn-primary {
|
|
||||||
background-color: #0084ff;
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header-btn-primary:hover {
|
|
||||||
background-color: #0073e6;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Main content wrapper */
|
|
||||||
.main-content {
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
flex: 1;
|
|
||||||
padding: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container {
|
|
||||||
background-color: white;
|
|
||||||
border-radius: 8px;
|
|
||||||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
||||||
max-width: 1000px;
|
|
||||||
width: 100%;
|
|
||||||
display: flex;
|
|
||||||
gap: 20px;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
.image-section {
|
|
||||||
flex: 1;
|
|
||||||
background-color: #e8f4f8;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
min-height: 500px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.image-section img {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
object-fit: cover;
|
|
||||||
}
|
|
||||||
|
|
||||||
.form-section {
|
|
||||||
flex: 1;
|
|
||||||
padding: 40px;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Formularelemente */
|
|
||||||
h1 {
|
|
||||||
color: #333;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.info-box {
|
|
||||||
background-color: #e8f4f8;
|
|
||||||
border-left: 4px solid #0084ff;
|
|
||||||
padding: 15px;
|
|
||||||
margin-bottom: 30px;
|
|
||||||
border-radius: 4px;
|
|
||||||
font-size: 14px;
|
|
||||||
color: #333;
|
|
||||||
line-height: 1.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
.form-group {
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
label {
|
|
||||||
display: block;
|
|
||||||
margin-bottom: 6px;
|
|
||||||
color: #333;
|
|
||||||
font-weight: bold;
|
|
||||||
font-size: 14px;
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type="text"],
|
|
||||||
input[type="email"],
|
|
||||||
input[type="password"] {
|
|
||||||
width: 100%;
|
|
||||||
padding: 12px;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
border-radius: 4px;
|
|
||||||
font-size: 14px;
|
|
||||||
transition: border-color 0.3s ease;
|
|
||||||
font-family: Arial, sans-serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
input:focus {
|
|
||||||
outline: none;
|
|
||||||
border-color: #0084ff;
|
|
||||||
box-shadow: 0 0 5px rgba(0, 132, 255, 0.3);
|
|
||||||
}
|
|
||||||
|
|
||||||
button {
|
|
||||||
width: 100%;
|
|
||||||
padding: 12px;
|
|
||||||
background-color: #0084ff;
|
|
||||||
color: white;
|
|
||||||
border: none;
|
|
||||||
border-radius: 4px;
|
|
||||||
font-size: 16px;
|
|
||||||
font-weight: bold;
|
|
||||||
cursor: pointer;
|
|
||||||
transition: background-color 0.3s ease;
|
|
||||||
margin-top: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
button:hover {
|
|
||||||
background-color: #0073e6;
|
|
||||||
}
|
|
||||||
|
|
||||||
button:active {
|
|
||||||
background-color: #0063cc;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Hilfstexte & Fehler */
|
|
||||||
.signup-hint, .login-hint {
|
|
||||||
text-align: center;
|
|
||||||
margin-top: 20px;
|
|
||||||
color: #666;
|
|
||||||
font-size: 14px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.signup-hint a, .login-hint a {
|
|
||||||
color: #0084ff;
|
|
||||||
text-decoration: none;
|
|
||||||
font-weight: bold;
|
|
||||||
transition: color 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
.signup-hint a:hover, .login-hint a:hover {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
|
|
||||||
.error-message {
|
|
||||||
color: #d32f2f;
|
|
||||||
font-size: 13px;
|
|
||||||
margin-top: 5px;
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.form-group.has-error input {
|
|
||||||
border-color: #d32f2f;
|
|
||||||
box-shadow: 0 0 5px rgba(211, 47, 47, 0.3);
|
|
||||||
}
|
|
||||||
|
|
||||||
.form-group.has-error .error-message {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Modal / Popup Styles */
|
|
||||||
.modal {
|
|
||||||
display: none;
|
|
||||||
position: fixed;
|
|
||||||
z-index: 1000;
|
|
||||||
left: 0;
|
|
||||||
top: 0;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
background-color: rgba(0, 0, 0, 0.4);
|
|
||||||
animation: fadeIn 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes fadeIn {
|
|
||||||
from { opacity: 0; }
|
|
||||||
to { opacity: 1; }
|
|
||||||
}
|
|
||||||
|
|
||||||
.modal.show {
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.modal-content {
|
|
||||||
background-color: white;
|
|
||||||
padding: 40px;
|
|
||||||
border-radius: 8px;
|
|
||||||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
|
|
||||||
max-width: 500px;
|
|
||||||
width: 90%;
|
|
||||||
text-align: center;
|
|
||||||
animation: slideIn 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes slideIn {
|
|
||||||
from { transform: translateY(-50px); opacity: 0; }
|
|
||||||
to { transform: translateY(0); opacity: 1; }
|
|
||||||
}
|
|
||||||
|
|
||||||
.modal-header {
|
|
||||||
position: relative;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.modal-header h2 {
|
|
||||||
color: #0084ff;
|
|
||||||
font-size: 24px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.close-btn {
|
|
||||||
position: absolute;
|
|
||||||
right: 0;
|
|
||||||
top: 0;
|
|
||||||
font-size: 28px;
|
|
||||||
color: #999;
|
|
||||||
background: none;
|
|
||||||
border: none;
|
|
||||||
cursor: pointer;
|
|
||||||
width: 30px;
|
|
||||||
height: 30px;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.modal-body {
|
|
||||||
color: #333;
|
|
||||||
font-size: 16px;
|
|
||||||
line-height: 1.6;
|
|
||||||
margin-bottom: 30px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.modal-footer {
|
|
||||||
display: flex;
|
|
||||||
gap: 10px;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Responsive Anpassungen */
|
|
||||||
@media (max-width: 768px) {
|
|
||||||
.container {
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
|
|
||||||
.image-section {
|
|
||||||
min-height: 300px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header {
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header-buttons {
|
|
||||||
width: 100%;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header-btn {
|
|
||||||
width: 100%;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Whitespace-only changes.
File renamed without changes.
@@ -4,7 +4,8 @@
|
|||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>Event erstellen | Invité</title>
|
<title>Event erstellen | Invité</title>
|
||||||
<link rel="stylesheet" href="css/event_create.css" />
|
<link rel="stylesheet" href="stylesheet.css">
|
||||||
|
<link rel="stylesheet" href="event-create.css" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header class="site-header">
|
<header class="site-header">
|
||||||
@@ -346,6 +347,6 @@
|
|||||||
<p>© Social Cooking</p>
|
<p>© Social Cooking</p>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
<script src="js/event_create.js"></script>
|
<script src="event-create.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
File renamed without changes.
+2
-2
@@ -4,7 +4,7 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Event-Detail</title>
|
<title>Event-Detail</title>
|
||||||
<link rel="stylesheet" href="css/event_overview.css">
|
<link rel="stylesheet" href="css/event_overview_stylesheet.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<script src="js/event_overview.js"></script>
|
<script src="js/event_overview_script.js"></script>
|
||||||
<script src="js/event_detail.js"></script>
|
<script src="js/event_detail.js"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
+2
-2
@@ -4,7 +4,7 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Event-Overview</title>
|
<title>Event-Overview</title>
|
||||||
<link rel="stylesheet" href="css/event_overview.css">
|
<link rel="stylesheet" href="css/event_overview_stylesheet.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header class="navbar">
|
<header class="navbar">
|
||||||
@@ -31,6 +31,6 @@
|
|||||||
|
|
||||||
<section id="event-grid" class="event-list"></section>
|
<section id="event-grid" class="event-list"></section>
|
||||||
</main>
|
</main>
|
||||||
<script src="js/event_overview.js"></script>
|
<script src="js/event_overview_script.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
-60
@@ -1,60 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="de">
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
||||||
<title>Social Cooking Wireframe</title>
|
|
||||||
<link rel="stylesheet" href="css/landingpage.css" />
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div class="page-wrapper">
|
|
||||||
<header class="header">
|
|
||||||
<div class="header__brand">LOGO</div>
|
|
||||||
|
|
||||||
<div class="header__actions">
|
|
||||||
<nav class="nav">
|
|
||||||
<a class="nav__link btn btn--outline" href="#">Event finden</a>
|
|
||||||
</nav>
|
|
||||||
<button class="btn btn--outline" type="button">Login</button>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="main-content">
|
|
||||||
<section class="hero">
|
|
||||||
<div class="hero__left">
|
|
||||||
<h1 class="hero__title">Zu Tisch mit Fremden – bereit für die nächste kulinarische Begegnung?</h1>
|
|
||||||
<p class="hero__description">Dein Ort um neue Leute kennen zu lernen! Erstelle eigene Events und lade Gäste zu dir nach Hause ein.</p>
|
|
||||||
<button class="btn btn--primary" type="button">Anmelden</button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="hero__right">
|
|
||||||
<div class="image-card">
|
|
||||||
<div class="image-card__placeholder"></div>
|
|
||||||
<div class="social-badge">
|
|
||||||
<span class="social-badge__dot"></span>
|
|
||||||
<span class="social-badge__dot"></span>
|
|
||||||
<span class="social-badge__dot"></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<section class="gallery">
|
|
||||||
<div class="gallery__track">
|
|
||||||
<article class="gallery__item"><div class="placeholder"></div></article>
|
|
||||||
<article class="gallery__item"><div class="placeholder"></div></article>
|
|
||||||
<article class="gallery__item"><div class="placeholder"></div></article>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="gallery__dots">
|
|
||||||
<span class="dot"></span>
|
|
||||||
<span class="dot"></span>
|
|
||||||
<span class="dot"></span>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
</main>
|
|
||||||
</div>
|
|
||||||
<script src="js/landingpage.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
File renamed without changes.
File renamed without changes.
Whitespace-only changes.
-69
@@ -1,69 +0,0 @@
|
|||||||
const loginForm = document.getElementById('loginForm');
|
|
||||||
const emailInput = document.getElementById('email');
|
|
||||||
const passwortInput = document.getElementById('passwort');
|
|
||||||
const emailError = document.getElementById('emailError');
|
|
||||||
const passwortError = document.getElementById('passwortError');
|
|
||||||
|
|
||||||
// Validierungsfunktion
|
|
||||||
function validateForm(event) {
|
|
||||||
event.preventDefault();
|
|
||||||
|
|
||||||
let isValid = true;
|
|
||||||
|
|
||||||
// Email-Validierung
|
|
||||||
const emailValue = emailInput.value.trim();
|
|
||||||
const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
|
||||||
const emailGroup = emailInput.parentElement;
|
|
||||||
|
|
||||||
if (!emailValue) {
|
|
||||||
emailGroup.classList.add('has-error');
|
|
||||||
emailError.textContent = 'Bitte gib deine E-Mail Adresse ein.';
|
|
||||||
isValid = false;
|
|
||||||
} else if (!emailRegex.test(emailValue)) {
|
|
||||||
emailGroup.classList.add('has-error');
|
|
||||||
emailError.textContent = 'Bitte gib eine gültige E-Mail Adresse ein.';
|
|
||||||
isValid = false;
|
|
||||||
} else {
|
|
||||||
emailGroup.classList.remove('has-error');
|
|
||||||
}
|
|
||||||
|
|
||||||
// Passwort-Validierung
|
|
||||||
const passwortValue = passwortInput.value;
|
|
||||||
const passwortGroup = passwortInput.parentElement;
|
|
||||||
|
|
||||||
if (!passwortValue) {
|
|
||||||
passwortGroup.classList.add('has-error');
|
|
||||||
passwortError.textContent = 'Bitte gib dein Passwort ein.';
|
|
||||||
isValid = false;
|
|
||||||
} else if (passwortValue.length < 6) {
|
|
||||||
passwortGroup.classList.add('has-error');
|
|
||||||
passwortError.textContent = 'Dein Passwort ist zu kurz. Bitte überprüfe dein Passwort.';
|
|
||||||
isValid = false;
|
|
||||||
} else {
|
|
||||||
passwortGroup.classList.remove('has-error');
|
|
||||||
}
|
|
||||||
|
|
||||||
// Wenn alle Validierungen bestanden, Form absenden
|
|
||||||
if (isValid) {
|
|
||||||
alert('Login erfolgreich! (Dies ist eine Demo)');
|
|
||||||
// Hier würde später die Anmeldung zum Backend gesendet
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Fehlerbehandlung bei Input-Änderung (entfernt Fehler wenn Benutzer korrigiert)
|
|
||||||
emailInput.addEventListener('input', function() {
|
|
||||||
const emailGroup = this.parentElement;
|
|
||||||
if (this.value.trim()) {
|
|
||||||
emailGroup.classList.remove('has-error');
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
passwortInput.addEventListener('input', function() {
|
|
||||||
const passwortGroup = this.parentElement;
|
|
||||||
if (this.value) {
|
|
||||||
passwortGroup.classList.remove('has-error');
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
// Form Submit Event
|
|
||||||
loginForm.addEventListener('submit', validateForm);
|
|
||||||
-125
@@ -1,125 +0,0 @@
|
|||||||
const signupForm = document.getElementById('signupForm');
|
|
||||||
const vornameInput = document.getElementById('vorname');
|
|
||||||
const nachnameInput = document.getElementById('nachname');
|
|
||||||
const emailInput = document.getElementById('email');
|
|
||||||
const passwortInput = document.getElementById('passwort');
|
|
||||||
const welcomeModal = document.getElementById('welcomeModal');
|
|
||||||
|
|
||||||
// Funktion zum Öffnen des Welcome Modals
|
|
||||||
function openWelcomeModal() {
|
|
||||||
welcomeModal.classList.add('show');
|
|
||||||
document.body.style.overflow = 'hidden';
|
|
||||||
}
|
|
||||||
|
|
||||||
// Funktion zum Schließen des Welcome Modals
|
|
||||||
function closeWelcomeModal() {
|
|
||||||
welcomeModal.classList.remove('show');
|
|
||||||
document.body.style.overflow = 'auto';
|
|
||||||
}
|
|
||||||
|
|
||||||
// Validierungsfunktion
|
|
||||||
function validateForm(event) {
|
|
||||||
event.preventDefault();
|
|
||||||
|
|
||||||
let isValid = true;
|
|
||||||
|
|
||||||
// Vorname-Validierung
|
|
||||||
const vornameValue = vornameInput.value.trim();
|
|
||||||
const vornameGroup = vornameInput.parentElement;
|
|
||||||
|
|
||||||
if (!vornameValue) {
|
|
||||||
vornameGroup.classList.add('has-error');
|
|
||||||
isValid = false;
|
|
||||||
} else {
|
|
||||||
vornameGroup.classList.remove('has-error');
|
|
||||||
}
|
|
||||||
|
|
||||||
// Nachname-Validierung
|
|
||||||
const nachnameValue = nachnameInput.value.trim();
|
|
||||||
const nachnameGroup = nachnameInput.parentElement;
|
|
||||||
|
|
||||||
if (!nachnameValue) {
|
|
||||||
nachnameGroup.classList.add('has-error');
|
|
||||||
isValid = false;
|
|
||||||
} else {
|
|
||||||
nachnameGroup.classList.remove('has-error');
|
|
||||||
}
|
|
||||||
|
|
||||||
// Email-Validierung
|
|
||||||
const emailValue = emailInput.value.trim();
|
|
||||||
const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
|
||||||
const emailGroup = emailInput.parentElement;
|
|
||||||
|
|
||||||
if (!emailValue) {
|
|
||||||
emailGroup.classList.add('has-error');
|
|
||||||
document.getElementById('emailError').textContent = 'Bitte gib deine E-Mail Adresse ein.';
|
|
||||||
isValid = false;
|
|
||||||
} else if (!emailRegex.test(emailValue)) {
|
|
||||||
emailGroup.classList.add('has-error');
|
|
||||||
document.getElementById('emailError').textContent = 'Bitte gib eine gültige E-Mail Adresse ein.';
|
|
||||||
isValid = false;
|
|
||||||
} else {
|
|
||||||
emailGroup.classList.remove('has-error');
|
|
||||||
}
|
|
||||||
|
|
||||||
// Passwort-Validierung
|
|
||||||
const passwortValue = passwortInput.value;
|
|
||||||
const passwortGroup = passwortInput.parentElement;
|
|
||||||
|
|
||||||
if (!passwortValue) {
|
|
||||||
passwortGroup.classList.add('has-error');
|
|
||||||
document.getElementById('passwortError').textContent = 'Bitte gib ein Passwort ein.';
|
|
||||||
isValid = false;
|
|
||||||
} else if (passwortValue.length < 8) {
|
|
||||||
passwortGroup.classList.add('has-error');
|
|
||||||
document.getElementById('passwortError').textContent = 'Dein Passwort muss mindestens 8 Zeichen lang sein.';
|
|
||||||
isValid = false;
|
|
||||||
} else {
|
|
||||||
passwortGroup.classList.remove('has-error');
|
|
||||||
}
|
|
||||||
|
|
||||||
// Wenn alle Validierungen bestanden, Modal anzeigen
|
|
||||||
if (isValid) {
|
|
||||||
openWelcomeModal();
|
|
||||||
// Hier würde später die Registrierung zum Backend gesendet
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Fehlerbehandlung bei Input-Änderung (entfernt Fehler wenn Benutzer korrigiert)
|
|
||||||
vornameInput.addEventListener('input', function() {
|
|
||||||
const vornameGroup = this.parentElement;
|
|
||||||
if (this.value.trim()) {
|
|
||||||
vornameGroup.classList.remove('has-error');
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
nachnameInput.addEventListener('input', function() {
|
|
||||||
const nachnameGroup = this.parentElement;
|
|
||||||
if (this.value.trim()) {
|
|
||||||
nachnameGroup.classList.remove('has-error');
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
emailInput.addEventListener('input', function() {
|
|
||||||
const emailGroup = this.parentElement;
|
|
||||||
if (this.value.trim()) {
|
|
||||||
emailGroup.classList.remove('has-error');
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
passwortInput.addEventListener('input', function() {
|
|
||||||
const passwortGroup = this.parentElement;
|
|
||||||
if (this.value) {
|
|
||||||
passwortGroup.classList.remove('has-error');
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
// Modal schließen wenn außerhalb geklickt wird
|
|
||||||
welcomeModal.addEventListener('click', function(event) {
|
|
||||||
if (event.target === welcomeModal) {
|
|
||||||
closeWelcomeModal();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
// Form Submit Event
|
|
||||||
signupForm.addEventListener('submit', validateForm);
|
|
||||||
+573
@@ -0,0 +1,573 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="de">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Kontaktseite - Invité</title>
|
||||||
|
<link rel="stylesheet" href="stylesheet.css">
|
||||||
|
<style>
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: Arial, sans-serif;
|
||||||
|
background-color: #f5f5f5;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
min-height: 100vh;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Header Styles */
|
||||||
|
.header {
|
||||||
|
background-color: white;
|
||||||
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
||||||
|
padding: 15px 30px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-logo {
|
||||||
|
font-size: 24px;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #0084ff;
|
||||||
|
text-decoration: none;
|
||||||
|
letter-spacing: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-buttons {
|
||||||
|
display: flex;
|
||||||
|
gap: 15px;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-btn {
|
||||||
|
padding: 10px 20px;
|
||||||
|
border: none;
|
||||||
|
border-radius: 4px;
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: bold;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
text-decoration: none;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-btn-secondary {
|
||||||
|
background-color: transparent;
|
||||||
|
color: #0084ff;
|
||||||
|
border: 2px solid #0084ff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-btn-secondary:hover {
|
||||||
|
background-color: #0084ff;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-btn-primary {
|
||||||
|
background-color: #0084ff;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-btn-primary:hover {
|
||||||
|
background-color: #0073e6;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Main content wrapper */
|
||||||
|
.main-content {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
flex: 1;
|
||||||
|
padding: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
background-color: white;
|
||||||
|
border-radius: 8px;
|
||||||
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
||||||
|
max-width: 1000px;
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
gap: 20px;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.image-section {
|
||||||
|
flex: 1;
|
||||||
|
background-color: #e8f4f8;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
min-height: 500px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.image-section img {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
object-fit: cover;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-section {
|
||||||
|
flex: 1;
|
||||||
|
padding: 40px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
.container {
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.image-section {
|
||||||
|
min-height: 300px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header {
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-buttons {
|
||||||
|
width: 100%;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-btn {
|
||||||
|
width: 100%;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
color: #333;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.info-box {
|
||||||
|
background-color: #e8f4f8;
|
||||||
|
border-left: 4px solid #0084ff;
|
||||||
|
padding: 15px;
|
||||||
|
margin-bottom: 30px;
|
||||||
|
border-radius: 4px;
|
||||||
|
font-size: 14px;
|
||||||
|
color: #333;
|
||||||
|
line-height: 1.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-group {
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
label {
|
||||||
|
display: block;
|
||||||
|
margin-bottom: 6px;
|
||||||
|
color: #333;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="text"],
|
||||||
|
input[type="email"],
|
||||||
|
input[type="password"] {
|
||||||
|
width: 100%;
|
||||||
|
padding: 12px;
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
border-radius: 4px;
|
||||||
|
font-size: 14px;
|
||||||
|
transition: border-color 0.3s ease;
|
||||||
|
font-family: Arial, sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="text"]:focus,
|
||||||
|
input[type="email"]:focus,
|
||||||
|
input[type="password"]:focus {
|
||||||
|
outline: none;
|
||||||
|
border-color: #0084ff;
|
||||||
|
box-shadow: 0 0 5px rgba(0, 132, 255, 0.3);
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
width: 100%;
|
||||||
|
padding: 12px;
|
||||||
|
background-color: #0084ff;
|
||||||
|
color: white;
|
||||||
|
border: none;
|
||||||
|
border-radius: 4px;
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: bold;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background-color 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
button:hover {
|
||||||
|
background-color: #0073e6;
|
||||||
|
}
|
||||||
|
|
||||||
|
button:active {
|
||||||
|
background-color: #0063cc;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-hint {
|
||||||
|
text-align: center;
|
||||||
|
margin-top: 20px;
|
||||||
|
color: #666;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-hint a {
|
||||||
|
color: #0084ff;
|
||||||
|
text-decoration: none;
|
||||||
|
font-weight: bold;
|
||||||
|
transition: color 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-hint a:hover {
|
||||||
|
color: #0073e6;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.error-message {
|
||||||
|
color: #d32f2f;
|
||||||
|
font-size: 13px;
|
||||||
|
margin-top: 5px;
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-group.has-error input {
|
||||||
|
border-color: #d32f2f;
|
||||||
|
box-shadow: 0 0 5px rgba(211, 47, 47, 0.3);
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-group.has-error .error-message {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Modal Styles */
|
||||||
|
.modal {
|
||||||
|
display: none;
|
||||||
|
position: fixed;
|
||||||
|
z-index: 1000;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
background-color: rgba(0, 0, 0, 0.4);
|
||||||
|
animation: fadeIn 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes fadeIn {
|
||||||
|
from {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
to {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal.show {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal-content {
|
||||||
|
background-color: white;
|
||||||
|
padding: 40px;
|
||||||
|
border-radius: 8px;
|
||||||
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
|
||||||
|
max-width: 500px;
|
||||||
|
width: 90%;
|
||||||
|
text-align: center;
|
||||||
|
animation: slideIn 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes slideIn {
|
||||||
|
from {
|
||||||
|
transform: translateY(-50px);
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
to {
|
||||||
|
transform: translateY(0);
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal-header {
|
||||||
|
position: relative;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal-header h2 {
|
||||||
|
color: #0084ff;
|
||||||
|
font-size: 24px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.close-btn {
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
font-size: 28px;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #999;
|
||||||
|
background: none;
|
||||||
|
border: none;
|
||||||
|
cursor: pointer;
|
||||||
|
padding: 0;
|
||||||
|
width: 30px;
|
||||||
|
height: 30px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
transition: color 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.close-btn:hover {
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal-body {
|
||||||
|
color: #333;
|
||||||
|
font-size: 16px;
|
||||||
|
line-height: 1.6;
|
||||||
|
margin-bottom: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal-footer {
|
||||||
|
display: flex;
|
||||||
|
gap: 10px;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal-footer button {
|
||||||
|
padding: 10px 30px;
|
||||||
|
font-size: 14px;
|
||||||
|
border: none;
|
||||||
|
border-radius: 4px;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background-color 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal-footer .btn-primary {
|
||||||
|
background-color: #0084ff;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal-footer .btn-primary:hover {
|
||||||
|
background-color: #0073e6;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<!-- Header -->
|
||||||
|
<header class="header">
|
||||||
|
<div class="header-logo">Invité</div>
|
||||||
|
<div class="header-buttons">
|
||||||
|
<button class="header-btn header-btn-secondary">Event finden</button>
|
||||||
|
<a href="login.html" class="header-btn header-btn-primary">Login</a>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<!-- Main Content -->
|
||||||
|
<div class="main-content">
|
||||||
|
<div class="container">
|
||||||
|
<div class="image-section">
|
||||||
|
<img src="cooking.jpg" alt="Social Cooking">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-section">
|
||||||
|
<h1>Erstelle deinen Account</h1>
|
||||||
|
|
||||||
|
<div class="info-box">
|
||||||
|
<strong>Hinweis:</strong> Sichtbar auf der Plattform ist nur der Vorname, erst einer Anmeldung zum Event ist der Nachname für die Teilnehmenden sichtbar.
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<form id="signupForm">
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="vorname">Vorname *</label>
|
||||||
|
<input type="text" id="vorname" name="vorname" required placeholder="Dein Vorname">
|
||||||
|
<div class="error-message" id="vornameError">Bitte gib deinen Vornamen ein.</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="nachname">Nachname *</label>
|
||||||
|
<input type="text" id="nachname" name="nachname" required placeholder="Dein Nachname">
|
||||||
|
<div class="error-message" id="nachnameError">Bitte gib deinen Nachnamen ein.</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="email">E-Mail Adresse *</label>
|
||||||
|
<input type="email" id="email" name="email" required placeholder="deine.email@example.com">
|
||||||
|
<div class="error-message" id="emailError">Bitte gib eine gültige E-Mail Adresse ein.</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="passwort">Passwort *</label>
|
||||||
|
<input type="password" id="passwort" name="passwort" required placeholder="Mindestens 8 Zeichen">
|
||||||
|
<div class="error-message" id="passwortError">Dein Passwort muss mindestens 8 Zeichen lang sein.</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<button type="submit">Konto erstellen</button>
|
||||||
|
|
||||||
|
<div class="login-hint">
|
||||||
|
Du hast bereits einen Account? <a href="login.html">Hier geht's zum Log-in</a>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div> <!-- Schließt main-content -->
|
||||||
|
|
||||||
|
<!-- Welcome Modal -->
|
||||||
|
<div id="welcomeModal" class="modal">
|
||||||
|
<div class="modal-content">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button class="close-btn" onclick="closeWelcomeModal()">×</button>
|
||||||
|
<h2>🎉 Willkommen bei Invité!</h2>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
Hier findest du die Übersicht zu den aktuellsten Events.
|
||||||
|
</div>
|
||||||
|
<div class="modal-footer">
|
||||||
|
<button class="btn-primary" onclick="closeWelcomeModal()">Weiter zu den Events</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
const signupForm = document.getElementById('signupForm');
|
||||||
|
const vornameInput = document.getElementById('vorname');
|
||||||
|
const nachnameInput = document.getElementById('nachname');
|
||||||
|
const emailInput = document.getElementById('email');
|
||||||
|
const passwortInput = document.getElementById('passwort');
|
||||||
|
const welcomeModal = document.getElementById('welcomeModal');
|
||||||
|
|
||||||
|
// Funktion zum Öffnen des Welcome Modals
|
||||||
|
function openWelcomeModal() {
|
||||||
|
welcomeModal.classList.add('show');
|
||||||
|
document.body.style.overflow = 'hidden';
|
||||||
|
}
|
||||||
|
|
||||||
|
// Funktion zum Schließen des Welcome Modals
|
||||||
|
function closeWelcomeModal() {
|
||||||
|
welcomeModal.classList.remove('show');
|
||||||
|
document.body.style.overflow = 'auto';
|
||||||
|
}
|
||||||
|
|
||||||
|
// Validierungsfunktion
|
||||||
|
function validateForm(event) {
|
||||||
|
event.preventDefault();
|
||||||
|
|
||||||
|
let isValid = true;
|
||||||
|
|
||||||
|
// Vorname-Validierung
|
||||||
|
const vornameValue = vornameInput.value.trim();
|
||||||
|
const vornameGroup = vornameInput.parentElement;
|
||||||
|
|
||||||
|
if (!vornameValue) {
|
||||||
|
vornameGroup.classList.add('has-error');
|
||||||
|
isValid = false;
|
||||||
|
} else {
|
||||||
|
vornameGroup.classList.remove('has-error');
|
||||||
|
}
|
||||||
|
|
||||||
|
// Nachname-Validierung
|
||||||
|
const nachnameValue = nachnameInput.value.trim();
|
||||||
|
const nachnameGroup = nachnameInput.parentElement;
|
||||||
|
|
||||||
|
if (!nachnameValue) {
|
||||||
|
nachnameGroup.classList.add('has-error');
|
||||||
|
isValid = false;
|
||||||
|
} else {
|
||||||
|
nachnameGroup.classList.remove('has-error');
|
||||||
|
}
|
||||||
|
|
||||||
|
// Email-Validierung
|
||||||
|
const emailValue = emailInput.value.trim();
|
||||||
|
const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
||||||
|
const emailGroup = emailInput.parentElement;
|
||||||
|
|
||||||
|
if (!emailValue) {
|
||||||
|
emailGroup.classList.add('has-error');
|
||||||
|
document.getElementById('emailError').textContent = 'Bitte gib deine E-Mail Adresse ein.';
|
||||||
|
isValid = false;
|
||||||
|
} else if (!emailRegex.test(emailValue)) {
|
||||||
|
emailGroup.classList.add('has-error');
|
||||||
|
document.getElementById('emailError').textContent = 'Bitte gib eine gültige E-Mail Adresse ein.';
|
||||||
|
isValid = false;
|
||||||
|
} else {
|
||||||
|
emailGroup.classList.remove('has-error');
|
||||||
|
}
|
||||||
|
|
||||||
|
// Passwort-Validierung
|
||||||
|
const passwortValue = passwortInput.value;
|
||||||
|
const passwortGroup = passwortInput.parentElement;
|
||||||
|
|
||||||
|
if (!passwortValue) {
|
||||||
|
passwortGroup.classList.add('has-error');
|
||||||
|
document.getElementById('passwortError').textContent = 'Bitte gib ein Passwort ein.';
|
||||||
|
isValid = false;
|
||||||
|
} else if (passwortValue.length < 8) {
|
||||||
|
passwortGroup.classList.add('has-error');
|
||||||
|
document.getElementById('passwortError').textContent = 'Dein Passwort muss mindestens 8 Zeichen lang sein.';
|
||||||
|
isValid = false;
|
||||||
|
} else {
|
||||||
|
passwortGroup.classList.remove('has-error');
|
||||||
|
}
|
||||||
|
|
||||||
|
// Wenn alle Validierungen bestanden, Modal anzeigen
|
||||||
|
if (isValid) {
|
||||||
|
openWelcomeModal();
|
||||||
|
// Hier würde später die Registrierung zum Backend gesendet
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Fehlerbehandlung bei Input-Änderung (entfernt Fehler wenn Benutzer korrigiert)
|
||||||
|
vornameInput.addEventListener('input', function() {
|
||||||
|
const vornameGroup = this.parentElement;
|
||||||
|
if (this.value.trim()) {
|
||||||
|
vornameGroup.classList.remove('has-error');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
nachnameInput.addEventListener('input', function() {
|
||||||
|
const nachnameGroup = this.parentElement;
|
||||||
|
if (this.value.trim()) {
|
||||||
|
nachnameGroup.classList.remove('has-error');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
emailInput.addEventListener('input', function() {
|
||||||
|
const emailGroup = this.parentElement;
|
||||||
|
if (this.value.trim()) {
|
||||||
|
emailGroup.classList.remove('has-error');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
passwortInput.addEventListener('input', function() {
|
||||||
|
const passwortGroup = this.parentElement;
|
||||||
|
if (this.value) {
|
||||||
|
passwortGroup.classList.remove('has-error');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Modal schließen wenn außerhalb geklickt wird
|
||||||
|
welcomeModal.addEventListener('click', function(event) {
|
||||||
|
if (event.target === welcomeModal) {
|
||||||
|
closeWelcomeModal();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Form Submit Event
|
||||||
|
signupForm.addEventListener('submit', validateForm);
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,68 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="de">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<title>Social Cooking Wireframe</title>
|
||||||
|
<link rel="stylesheet" href="stylesheet.css" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css" integrity="sha512-dU7ZrF1pFq5kVnPzlV9+04YhARzNjCX5Q5P1shgMpuN4s5I8mI8QD4981h7kYtV7sSgNldR0z5pZW5bS2ZpY3Q==" crossorigin="anonymous" referrerpolicy="no-referrer" /></head>
|
||||||
|
<body>
|
||||||
|
<div class="page-wrapper">
|
||||||
|
<header class="header">
|
||||||
|
<div class="header__brand">Invité</div>
|
||||||
|
<div class="header__actions">
|
||||||
|
<a class="nav__link" href="#">Event finden</a>
|
||||||
|
<button class="btn btn--outline" type="button">Login</button>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="main-content">
|
||||||
|
<section class="hero">
|
||||||
|
<div class="hero__left">
|
||||||
|
<h1 class="hero__title">Zu Tisch mit Fremden – bereit für die nächste kulinarische Begegnung?</h1>
|
||||||
|
<p class="hero__description">Dein Ort um neue Leute kennen zu lernen! Erstelle eigene Events und lade Gäste zu dir nach Hause ein.</p>
|
||||||
|
<button class="btn btn--primary" type="button">Anmelden</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="hero__right">
|
||||||
|
<div class="image-card">
|
||||||
|
<div class="image-card__placeholder"></div>
|
||||||
|
<div class="social-badge">
|
||||||
|
<span class="social-badge__dot"></span>
|
||||||
|
<span class="social-badge__dot"></span>
|
||||||
|
<span class="social-badge__dot"></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="gallery">
|
||||||
|
<div class="gallery__track">
|
||||||
|
<article class="gallery__item">
|
||||||
|
<div class="placeholder"></div>
|
||||||
|
</article>
|
||||||
|
<article class="gallery__item">
|
||||||
|
<div class="placeholder"></div>
|
||||||
|
</article>
|
||||||
|
<article class="gallery__item">
|
||||||
|
<div class="placeholder"></div>
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="gallery__dots">
|
||||||
|
<span class="dot"></span>
|
||||||
|
<span class="dot"></span>
|
||||||
|
<span class="dot"></span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="gallery__info">
|
||||||
|
<div class="gallery__handle"><i class="fab fa-instagram gallery__icon" aria-hidden="true"></i><span class="gallery__at">@</span><span class="gallery__brand">Invité</span></div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<footer class="footer">
|
||||||
|
<a href="#" class="footer__link">Impressum</a>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
+310
-5
@@ -4,7 +4,241 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Login - Social Cooking</title>
|
<title>Login - Social Cooking</title>
|
||||||
<link rel="stylesheet" href="css/login_signup.css">
|
<link rel="stylesheet" href="stylesheet.css">
|
||||||
|
<style>
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: Arial, sans-serif;
|
||||||
|
background-color: #f5f5f5;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
min-height: 100vh;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Header Styles */
|
||||||
|
.header {
|
||||||
|
background-color: white;
|
||||||
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
||||||
|
padding: 15px 30px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-logo {
|
||||||
|
font-size: 24px;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #0084ff;
|
||||||
|
text-decoration: none;
|
||||||
|
letter-spacing: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-buttons {
|
||||||
|
display: flex;
|
||||||
|
gap: 15px;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-btn {
|
||||||
|
padding: 10px 20px;
|
||||||
|
border: none;
|
||||||
|
border-radius: 4px;
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: bold;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
text-decoration: none;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-btn-secondary {
|
||||||
|
background-color: transparent;
|
||||||
|
color: #0084ff;
|
||||||
|
border: 2px solid #0084ff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-btn-secondary:hover {
|
||||||
|
background-color: #0084ff;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-btn-primary {
|
||||||
|
background-color: #0084ff;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-btn-primary:hover {
|
||||||
|
background-color: #0073e6;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Main content wrapper */
|
||||||
|
.main-content {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
flex: 1;
|
||||||
|
padding: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
background-color: white;
|
||||||
|
border-radius: 8px;
|
||||||
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
||||||
|
max-width: 1000px;
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
gap: 20px;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.image-section {
|
||||||
|
flex: 1;
|
||||||
|
background-color: #e8f4f8;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
min-height: 500px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.image-section img {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
object-fit: cover;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-section {
|
||||||
|
flex: 1;
|
||||||
|
padding: 40px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
.container {
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.image-section {
|
||||||
|
min-height: 300px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header {
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-buttons {
|
||||||
|
width: 100%;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-btn {
|
||||||
|
width: 100%;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
color: #333;
|
||||||
|
margin-bottom: 30px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-group {
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
label {
|
||||||
|
display: block;
|
||||||
|
margin-bottom: 6px;
|
||||||
|
color: #333;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="email"],
|
||||||
|
input[type="password"] {
|
||||||
|
width: 100%;
|
||||||
|
padding: 12px;
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
border-radius: 4px;
|
||||||
|
font-size: 14px;
|
||||||
|
transition: border-color 0.3s ease;
|
||||||
|
font-family: Arial, sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="email"]:focus,
|
||||||
|
input[type="password"]:focus {
|
||||||
|
outline: none;
|
||||||
|
border-color: #0084ff;
|
||||||
|
box-shadow: 0 0 5px rgba(0, 132, 255, 0.3);
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
width: 100%;
|
||||||
|
padding: 12px;
|
||||||
|
background-color: #0084ff;
|
||||||
|
color: white;
|
||||||
|
border: none;
|
||||||
|
border-radius: 4px;
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: bold;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background-color 0.3s ease;
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
button:hover {
|
||||||
|
background-color: #0073e6;
|
||||||
|
}
|
||||||
|
|
||||||
|
button:active {
|
||||||
|
background-color: #0063cc;
|
||||||
|
}
|
||||||
|
|
||||||
|
.signup-hint {
|
||||||
|
text-align: center;
|
||||||
|
margin-top: 20px;
|
||||||
|
color: #666;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.signup-hint a {
|
||||||
|
color: #0084ff;
|
||||||
|
text-decoration: none;
|
||||||
|
font-weight: bold;
|
||||||
|
transition: color 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.signup-hint a:hover {
|
||||||
|
color: #0073e6;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.error-message {
|
||||||
|
color: #d32f2f;
|
||||||
|
font-size: 13px;
|
||||||
|
margin-top: 5px;
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-group.has-error input {
|
||||||
|
border-color: #d32f2f;
|
||||||
|
box-shadow: 0 0 5px rgba(211, 47, 47, 0.3);
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-group.has-error .error-message {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!-- Header -->
|
<!-- Header -->
|
||||||
@@ -12,7 +246,7 @@
|
|||||||
<div class="header-logo">Invité</div>
|
<div class="header-logo">Invité</div>
|
||||||
<div class="header-buttons">
|
<div class="header-buttons">
|
||||||
<button class="header-btn header-btn-secondary">Event finden</button>
|
<button class="header-btn header-btn-secondary">Event finden</button>
|
||||||
<a href="signup.html" class="header-btn header-btn-primary">Anmeldung</a>
|
<a href="kontakt.html" class="header-btn header-btn-primary">Anmeldung</a>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
@@ -20,7 +254,7 @@
|
|||||||
<div class="main-content">
|
<div class="main-content">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="image-section">
|
<div class="image-section">
|
||||||
<img src="assets/cooking.jpg" alt="Social Cooking">
|
<img src="cooking.jpg" alt="Social Cooking">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-section">
|
<div class="form-section">
|
||||||
@@ -42,12 +276,83 @@
|
|||||||
<button type="submit">Login</button>
|
<button type="submit">Login</button>
|
||||||
|
|
||||||
<div class="signup-hint">
|
<div class="signup-hint">
|
||||||
Du hast noch keinen Account? <a href="signup.html">Hier geht es zur Anmeldung</a>
|
Du hast noch keinen Account? <a href="kontakt.html">Hier geht es zur Anmeldung</a>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div> <!-- Schließt main-content -->
|
</div> <!-- Schließt main-content -->
|
||||||
<script src="js/login.js"></script>
|
|
||||||
|
<script>
|
||||||
|
const loginForm = document.getElementById('loginForm');
|
||||||
|
const emailInput = document.getElementById('email');
|
||||||
|
const passwortInput = document.getElementById('passwort');
|
||||||
|
const emailError = document.getElementById('emailError');
|
||||||
|
const passwortError = document.getElementById('passwortError');
|
||||||
|
|
||||||
|
// Validierungsfunktion
|
||||||
|
function validateForm(event) {
|
||||||
|
event.preventDefault();
|
||||||
|
|
||||||
|
let isValid = true;
|
||||||
|
|
||||||
|
// Email-Validierung
|
||||||
|
const emailValue = emailInput.value.trim();
|
||||||
|
const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
||||||
|
const emailGroup = emailInput.parentElement;
|
||||||
|
|
||||||
|
if (!emailValue) {
|
||||||
|
emailGroup.classList.add('has-error');
|
||||||
|
emailError.textContent = 'Bitte gib deine E-Mail Adresse ein.';
|
||||||
|
isValid = false;
|
||||||
|
} else if (!emailRegex.test(emailValue)) {
|
||||||
|
emailGroup.classList.add('has-error');
|
||||||
|
emailError.textContent = 'Bitte gib eine gültige E-Mail Adresse ein.';
|
||||||
|
isValid = false;
|
||||||
|
} else {
|
||||||
|
emailGroup.classList.remove('has-error');
|
||||||
|
}
|
||||||
|
|
||||||
|
// Passwort-Validierung
|
||||||
|
const passwortValue = passwortInput.value;
|
||||||
|
const passwortGroup = passwortInput.parentElement;
|
||||||
|
|
||||||
|
if (!passwortValue) {
|
||||||
|
passwortGroup.classList.add('has-error');
|
||||||
|
passwortError.textContent = 'Bitte gib dein Passwort ein.';
|
||||||
|
isValid = false;
|
||||||
|
} else if (passwortValue.length < 6) {
|
||||||
|
passwortGroup.classList.add('has-error');
|
||||||
|
passwortError.textContent = 'Dein Passwort ist zu kurz. Bitte überprüfe dein Passwort.';
|
||||||
|
isValid = false;
|
||||||
|
} else {
|
||||||
|
passwortGroup.classList.remove('has-error');
|
||||||
|
}
|
||||||
|
|
||||||
|
// Wenn alle Validierungen bestanden, Form absenden (hier kannst du später Backend Integration vornehmen)
|
||||||
|
if (isValid) {
|
||||||
|
alert('Login erfolgreich! (Dies ist eine Demo)');
|
||||||
|
// Hier würde später die Anmeldung zum Backend gesendet
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Fehlerbehandlung bei Input-Änderung (entfernt Fehler wenn Benutzer korrigiert)
|
||||||
|
emailInput.addEventListener('input', function() {
|
||||||
|
const emailGroup = this.parentElement;
|
||||||
|
if (this.value.trim()) {
|
||||||
|
emailGroup.classList.remove('has-error');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
passwortInput.addEventListener('input', function() {
|
||||||
|
const passwortGroup = this.parentElement;
|
||||||
|
if (this.value) {
|
||||||
|
passwortGroup.classList.remove('has-error');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Form Submit Event
|
||||||
|
loginForm.addEventListener('submit', validateForm);
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
-85
@@ -1,85 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="de">
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<title>Kontaktseite - Invité</title>
|
|
||||||
<link rel="stylesheet" href="css/login_signup.css">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<!-- Header -->
|
|
||||||
<header class="header">
|
|
||||||
<div class="header-logo">Invité</div>
|
|
||||||
<div class="header-buttons">
|
|
||||||
<button class="header-btn header-btn-secondary">Event finden</button>
|
|
||||||
<a href="login.html" class="header-btn header-btn-primary">Login</a>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<!-- Main Content -->
|
|
||||||
<div class="main-content">
|
|
||||||
<div class="container">
|
|
||||||
<div class="image-section">
|
|
||||||
<img src="assets/cooking.jpg" alt="Social Cooking">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-section">
|
|
||||||
<h1>Erstelle deinen Account</h1>
|
|
||||||
|
|
||||||
<div class="info-box">
|
|
||||||
<strong>Hinweis:</strong> Sichtbar auf der Plattform ist nur der Vorname, erst einer Anmeldung zum Event ist der Nachname für die Teilnehmenden sichtbar.
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<form id="signupForm">
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="vorname">Vorname *</label>
|
|
||||||
<input type="text" id="vorname" name="vorname" required placeholder="Dein Vorname">
|
|
||||||
<div class="error-message" id="vornameError">Bitte gib deinen Vornamen ein.</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="nachname">Nachname *</label>
|
|
||||||
<input type="text" id="nachname" name="nachname" required placeholder="Dein Nachname">
|
|
||||||
<div class="error-message" id="nachnameError">Bitte gib deinen Nachnamen ein.</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="email">E-Mail Adresse *</label>
|
|
||||||
<input type="email" id="email" name="email" required placeholder="deine.email@example.com">
|
|
||||||
<div class="error-message" id="emailError">Bitte gib eine gültige E-Mail Adresse ein.</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="passwort">Passwort *</label>
|
|
||||||
<input type="password" id="passwort" name="passwort" required placeholder="Mindestens 8 Zeichen">
|
|
||||||
<div class="error-message" id="passwortError">Dein Passwort muss mindestens 8 Zeichen lang sein.</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<button type="submit">Konto erstellen</button>
|
|
||||||
|
|
||||||
<div class="login-hint">
|
|
||||||
Du hast bereits einen Account? <a href="login.html">Hier geht's zum Log-in</a>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div> <!-- Schließt main-content -->
|
|
||||||
|
|
||||||
<!-- Welcome Modal -->
|
|
||||||
<div id="welcomeModal" class="modal">
|
|
||||||
<div class="modal-content">
|
|
||||||
<div class="modal-header">
|
|
||||||
<button class="close-btn" onclick="closeWelcomeModal()">×</button>
|
|
||||||
<h2>🎉 Willkommen bei Invité!</h2>
|
|
||||||
</div>
|
|
||||||
<div class="modal-body">
|
|
||||||
Hier findest du die Übersicht zu den aktuellsten Events.
|
|
||||||
</div>
|
|
||||||
<div class="modal-footer">
|
|
||||||
<button class="btn-primary" onclick="closeWelcomeModal()">Weiter zu den Events</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<script src="js/signup.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -29,6 +29,20 @@ body {
|
|||||||
margin-bottom: 40px; /* Using your 40px margin from the first block */
|
margin-bottom: 40px; /* Using your 40px margin from the first block */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.header__brand {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 10px;
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: 1.2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.brand__logo {
|
||||||
|
height: 34px;
|
||||||
|
width: auto;
|
||||||
|
object-fit: contain;
|
||||||
|
}
|
||||||
|
|
||||||
/* Grouping container for 'Event finden' and 'Login' */
|
/* Grouping container for 'Event finden' and 'Login' */
|
||||||
.header__actions {
|
.header__actions {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -158,4 +172,51 @@ body {
|
|||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
border: 1px solid var(--black);
|
border: 1px solid var(--black);
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.gallery__info {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.gallery__handle {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
font-size: 1.1rem;
|
||||||
|
font-weight: 700;
|
||||||
|
color: var(--black);
|
||||||
|
gap: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.gallery__icon {
|
||||||
|
font-size: 1.15rem;
|
||||||
|
color: #DD541A;
|
||||||
|
}
|
||||||
|
|
||||||
|
.gallery__at {
|
||||||
|
font-size: 1.1rem;
|
||||||
|
color: #222;
|
||||||
|
}
|
||||||
|
|
||||||
|
.gallery__brand {
|
||||||
|
font-family: 'Inter', sans-serif;
|
||||||
|
color: #DD541A;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Footer */
|
||||||
|
.footer {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
padding: 16px 24px;
|
||||||
|
border: none;
|
||||||
|
margin-top: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer__link {
|
||||||
|
color: var(--black);
|
||||||
|
text-decoration: underline;
|
||||||
|
font-size: 0.8rem;
|
||||||
|
font-weight: 400;
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user