Compare commits
11
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b421a23adc | ||
|
|
65903d9cce | ||
|
|
dc2a34cde9 | ||
|
|
41705651fd | ||
|
|
8e9ad95ac1 | ||
|
|
cb53b91afa | ||
|
|
5a8d958fa8 | ||
|
|
eb15ddb707 | ||
|
|
97badadfc5 | ||
|
|
9b63c632c7 | ||
|
|
a167e3277e |
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 178 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 145 KiB |
+35
-2
@@ -627,9 +627,38 @@
|
|||||||
|
|
||||||
.detail-action-btn-wrap {
|
.detail-action-btn-wrap {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 4px;
|
justify-content: flex-end;
|
||||||
|
gap: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.detail-action-row {
|
||||||
|
display: flex;
|
||||||
|
gap: 12px;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.detail-dereg-column {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: flex-end;
|
||||||
|
gap: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.detail-action-btn-wrap .button-plaetze,
|
||||||
|
.detail-action-btn-wrap .event-spots-full,
|
||||||
|
.detail-action-btn-wrap .button-primary,
|
||||||
|
.detail-action-btn-wrap .button-primary-abmelden,
|
||||||
|
.detail-action-btn-wrap .button-primary-eigener-event {
|
||||||
|
/* Force identical sizing and vertical alignment for action buttons in detail bar */
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
height: 52px;
|
||||||
|
padding: 0 22px;
|
||||||
|
font-size: 1.25rem;
|
||||||
|
border-radius: var(--radius-pill);
|
||||||
}
|
}
|
||||||
|
|
||||||
.detail-dereg-hint {
|
.detail-dereg-hint {
|
||||||
@@ -639,6 +668,10 @@
|
|||||||
color: var(--olive);
|
color: var(--olive);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.detail-dereg-hint--placeholder {
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
.detail-primary-btn {
|
.detail-primary-btn {
|
||||||
border-radius: var(--radius-pill);
|
border-radius: var(--radius-pill);
|
||||||
color: var(--white);
|
color: var(--white);
|
||||||
|
|||||||
+40
-18
@@ -209,14 +209,21 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.gallery__carousel {
|
.gallery__carousel {
|
||||||
position: relative;
|
display: grid;
|
||||||
|
grid-template-columns: 46px minmax(0, 1fr) 46px;
|
||||||
|
align-items: center;
|
||||||
|
column-gap: 6px;
|
||||||
|
margin-bottom: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.gallery__viewport {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gallery__track {
|
.gallery__track {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 20px;
|
gap: 20px;
|
||||||
margin-bottom: 30px;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gallery__item {
|
.gallery__item {
|
||||||
@@ -284,39 +291,37 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.gallery__arrow {
|
.gallery__arrow {
|
||||||
position: absolute;
|
|
||||||
display: grid;
|
display: grid;
|
||||||
top: 45%;
|
width: 46px;
|
||||||
width: 44px;
|
height: 46px;
|
||||||
height: 44px;
|
border: 0;
|
||||||
border: 1.5px solid var(--butter-light);
|
background: transparent;
|
||||||
background: var(--butter-light);
|
border-radius: 999px;
|
||||||
border-radius: var(--radius-lg);
|
|
||||||
font-family: var(--font-main);
|
font-family: var(--font-main);
|
||||||
display: none;
|
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-size: 1.25rem;
|
font-size: 2.45rem;
|
||||||
place-items: center;
|
place-items: center;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
color: var(--olive);
|
color: var(--olive);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
transition: background-color 0.2s ease, border-color 0.2s ease;
|
transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.gallery__arrow:hover,
|
.gallery__arrow:hover,
|
||||||
.gallery__arrow:focus-visible {
|
.gallery__arrow:focus-visible {
|
||||||
border: 1.5px solid var(--butter);
|
color: var(--olive-light);
|
||||||
background: var(--butter);
|
background: transparent;
|
||||||
|
transform: scale(1.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.gallery__arrow--prev {
|
.gallery__arrow--prev {
|
||||||
left: var(--space-24);
|
justify-self: start;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gallery__arrow--next {
|
.gallery__arrow--next {
|
||||||
right: var(--space-24);
|
justify-self: end;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -340,9 +345,15 @@
|
|||||||
transition: background 0.25s ease, transform 0.2s ease;
|
transition: background 0.25s ease, transform 0.2s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gallery_dot:hover,
|
.gallery_dot:not(.gallery_dot--active):hover {
|
||||||
|
background: var(--olive-light);
|
||||||
|
border-color: var(--olive-light);
|
||||||
|
transform: scale(1.2);
|
||||||
|
}
|
||||||
|
|
||||||
.gallery_dot--active {
|
.gallery_dot--active {
|
||||||
background: var(--olive);;
|
background: var(--olive);
|
||||||
|
border-color: var(--olive);
|
||||||
transform: scale(1.2);
|
transform: scale(1.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -352,6 +363,17 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 900px) {
|
@media (max-width: 900px) {
|
||||||
|
.gallery__carousel {
|
||||||
|
grid-template-columns: 38px minmax(0, 1fr) 38px;
|
||||||
|
column-gap: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.gallery__arrow {
|
||||||
|
width: 38px;
|
||||||
|
height: 38px;
|
||||||
|
font-size: 1.95rem;
|
||||||
|
}
|
||||||
|
|
||||||
.gallery__track {
|
.gallery__track {
|
||||||
gap: 16px;
|
gap: 16px;
|
||||||
}
|
}
|
||||||
|
|||||||
+112
-5
@@ -4,7 +4,7 @@
|
|||||||
"title": "Italienische Tavolata",
|
"title": "Italienische Tavolata",
|
||||||
"location": "Luzern",
|
"location": "Luzern",
|
||||||
"address": "Pilatusstrasse 18, 6003 Luzern",
|
"address": "Pilatusstrasse 18, 6003 Luzern",
|
||||||
"date": "23. APR. 2026",
|
"date": "30. April 2026",
|
||||||
"time": "15:30 UHR",
|
"time": "15:30 UHR",
|
||||||
"category": "Dinner",
|
"category": "Dinner",
|
||||||
"diet": "Vegetarisch",
|
"diet": "Vegetarisch",
|
||||||
@@ -15,7 +15,8 @@
|
|||||||
},
|
},
|
||||||
"hostMessage": [
|
"hostMessage": [
|
||||||
"Ciao zusammen! Ich liebe die italienische Küche, nicht nur wegen des Essens, sondern wegen des Gefühls: Alle sitzen an einem langen Tisch, teilen sich grosse Platten und geniessen die Zeit.",
|
"Ciao zusammen! Ich liebe die italienische Küche, nicht nur wegen des Essens, sondern wegen des Gefühls: Alle sitzen an einem langen Tisch, teilen sich grosse Platten und geniessen die Zeit.",
|
||||||
"Genau das möchte ich mit euch teilen. Ich bereite dafür eine klassische Tavolata vor, bei der verschiedene Gerichte in die Mitte des Tisches kommen und sich jeder bedient."
|
"Genau das möchte ich mit euch teilen. Ich bereite dafür eine klassische Tavolata vor, bei der verschiedene Gerichte in die Mitte des Tisches kommen und sich jeder bedient.",
|
||||||
|
"Wenn es das Wetter erlaubt sind wir draussen."
|
||||||
],
|
],
|
||||||
"menu": [
|
"menu": [
|
||||||
"Bruschetta-Variationen und Antipasti",
|
"Bruschetta-Variationen und Antipasti",
|
||||||
@@ -45,10 +46,10 @@
|
|||||||
"title": "Noche Peruana",
|
"title": "Noche Peruana",
|
||||||
"location": "Chur",
|
"location": "Chur",
|
||||||
"address": "Obere Gasse 41, 7000 Chur",
|
"address": "Obere Gasse 41, 7000 Chur",
|
||||||
"date": "12. April 2026",
|
"date": "8. Mai 2026",
|
||||||
"time": "19:00 UHR",
|
"time": "19:00 UHR",
|
||||||
"category": "Dinner",
|
"category": "Dinner",
|
||||||
"diet": "Omnivore",
|
"diet": "Fleisch, Fisch",
|
||||||
"spots": 4,
|
"spots": 4,
|
||||||
"host": {
|
"host": {
|
||||||
"name": "Camila",
|
"name": "Camila",
|
||||||
@@ -87,7 +88,7 @@
|
|||||||
"title": "Japanese Delight",
|
"title": "Japanese Delight",
|
||||||
"location": "Zürich",
|
"location": "Zürich",
|
||||||
"address": "Limmatquai 92, 8001 Zürich",
|
"address": "Limmatquai 92, 8001 Zürich",
|
||||||
"date": "8. Mai 2026",
|
"date": "12. Mai 2026",
|
||||||
"time": "12:30 UHR",
|
"time": "12:30 UHR",
|
||||||
"category": "Lunch",
|
"category": "Lunch",
|
||||||
"diet": "Fisch",
|
"diet": "Fisch",
|
||||||
@@ -124,6 +125,46 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 4,
|
"id": 4,
|
||||||
|
"title": "Cucina Brasileira",
|
||||||
|
"location": "Basel",
|
||||||
|
"address": "Fredy Kübler Weg 5, 8134 Adliswil",
|
||||||
|
"date": "15. Mai. 2026",
|
||||||
|
"time": "19:00 UHR",
|
||||||
|
"category": "Dinner",
|
||||||
|
"diet": "Fleisch",
|
||||||
|
"spots": 8,
|
||||||
|
"host": {
|
||||||
|
"name": "Mia",
|
||||||
|
"initial": "M"
|
||||||
|
},
|
||||||
|
"hostMessage": [
|
||||||
|
"Ihr seit herzlich eingeladen zu meinem Brasilianischen Abendessen! Lasst euch überraschen."
|
||||||
|
],
|
||||||
|
"menu": [
|
||||||
|
"Feijoada Brasileira com Farofa",
|
||||||
|
"Arroz",
|
||||||
|
"Vinagrette",
|
||||||
|
"Salada de Couve",
|
||||||
|
"Salada de batata",
|
||||||
|
"Bolo de Mandioca"
|
||||||
|
|
||||||
|
],
|
||||||
|
"specifications": [],
|
||||||
|
"participants": [
|
||||||
|
"Carlos",
|
||||||
|
"Vivien",
|
||||||
|
"Estelle",
|
||||||
|
"Simona",
|
||||||
|
"Ysabelle"
|
||||||
|
],
|
||||||
|
"gallery": [
|
||||||
|
"https://i.pinimg.com/736x/62/39/4b/62394bb73b986dfb89f41e809e2c8dd4.jpg",
|
||||||
|
"https://i.pinimg.com/1200x/68/fe/bd/68febdd512a00f0a345e51ebed7ddd63.jpg",
|
||||||
|
"https://i.pinimg.com/1200x/0a/8d/67/0a8d674a7923c6e9bfe3665bc63522d0.jpg"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 5,
|
||||||
"title": "Mexican Fiesta",
|
"title": "Mexican Fiesta",
|
||||||
"location": "Basel",
|
"location": "Basel",
|
||||||
"address": "Münsterplatz 10, 4051 Basel",
|
"address": "Münsterplatz 10, 4051 Basel",
|
||||||
@@ -132,6 +173,72 @@
|
|||||||
"category": "Dinner",
|
"category": "Dinner",
|
||||||
"diet": "Omnivore",
|
"diet": "Omnivore",
|
||||||
"spots": 6,
|
"spots": 6,
|
||||||
|
"host": {
|
||||||
|
"name": "Carlos",
|
||||||
|
"initial": "C"
|
||||||
|
},
|
||||||
|
"hostMessage": [
|
||||||
|
"Hallo zusammen! Leider muss ich dieses Event absagen, da mir etwas Wichtiges dazwischengekommen ist.",
|
||||||
|
"Ich hoffe, wir können das bald nachholen!"
|
||||||
|
],
|
||||||
|
"menu": [
|
||||||
|
"Guacamole & Nachos",
|
||||||
|
"Tacos al Pastor",
|
||||||
|
"Churros"
|
||||||
|
],
|
||||||
|
"specifications": [],
|
||||||
|
"participants": [
|
||||||
|
"Carlos",
|
||||||
|
"Vanessa",
|
||||||
|
"Christina",
|
||||||
|
"Julian"
|
||||||
|
],
|
||||||
|
"gallery": [
|
||||||
|
"https://i.pinimg.com/736x/7d/5c/29/7d5c29117ef6f974b1a6f77b22408ae7.jpg",
|
||||||
|
"https://i.pinimg.com/1200x/4e/4e/5d/4e4e5d57576d475316f25f84e5afb38f.jpg",
|
||||||
|
"https://i.pinimg.com/webp/1200x/d6/c2/4c/d6c24c1582d944229d271d8948b53dbb.webp",
|
||||||
|
"https://i.pinimg.com/webp/1200x/24/51/8e/24518e6e7bd9a68befcd9a98bba72a23.webp"
|
||||||
|
]
|
||||||
|
}, {
|
||||||
|
"id": 6,
|
||||||
|
"title": "Schwedentorte Schlemmern",
|
||||||
|
"location": "Zürich",
|
||||||
|
"address": "Münsterplatz 10, 8009 Zürich",
|
||||||
|
"date": "9. Mai 2026",
|
||||||
|
"time": "14:00 UHR",
|
||||||
|
"category": "Kaffee + Kuchen",
|
||||||
|
"diet": "Vegan",
|
||||||
|
"spots": 5,
|
||||||
|
"host": {
|
||||||
|
"name": "Annalea",
|
||||||
|
"initial": "A"
|
||||||
|
},
|
||||||
|
"hostMessage": [
|
||||||
|
"Hallo :) Ich suche Personen die Lust haben meine Vegane Schwedentorten Kreation zu probieren. Es ist eine Schwedentorte, die ich mit einer veganen Buttercreme und frischen Früchten zubereite. Es wird ein süsser Genuss, den ihr nicht verpassen solltet!"
|
||||||
|
],
|
||||||
|
"menu": [
|
||||||
|
"Schwedentorte",
|
||||||
|
"Diverse Teesorten"
|
||||||
|
],
|
||||||
|
"specifications": [],
|
||||||
|
"participants": [
|
||||||
|
"Annalea",
|
||||||
|
"Andi",
|
||||||
|
"Leah"
|
||||||
|
],
|
||||||
|
"gallery": [
|
||||||
|
"https://i.pinimg.com/736x/0e/44/78/0e4478e4e3389c77e3e859b2663e6d47.jpg"
|
||||||
|
]
|
||||||
|
}, {
|
||||||
|
"id": 7,
|
||||||
|
"title": "Mexican Fiesta",
|
||||||
|
"location": "Basel",
|
||||||
|
"address": "Münsterplatz 10, 4051 Basel",
|
||||||
|
"date": "29. Mai. 2026",
|
||||||
|
"time": "18:00 UHR",
|
||||||
|
"category": "Dinner",
|
||||||
|
"diet": "Omnivore",
|
||||||
|
"spots": 6,
|
||||||
"status": "canceled",
|
"status": "canceled",
|
||||||
"host": {
|
"host": {
|
||||||
"name": "Carlos",
|
"name": "Carlos",
|
||||||
|
|||||||
+6
-10
@@ -108,7 +108,7 @@
|
|||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<fieldset class="form-field">
|
<fieldset class="form-field">
|
||||||
<label>Maximale Personenanzahl</label>
|
<label>Maximale Gästeanzahl</label>
|
||||||
|
|
||||||
<div class="counter" data-counter>
|
<div class="counter" data-counter>
|
||||||
<button
|
<button
|
||||||
@@ -342,8 +342,8 @@
|
|||||||
<dd data-review="eventType">–</dd>
|
<dd data-review="eventType">–</dd>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="review-item" data-edit-step="1" data-edit-field="maxGuests" role="button" tabindex="0" aria-label="Maximale Personenanzahl bearbeiten">
|
<div class="review-item" data-edit-step="1" data-edit-field="maxGuests" role="button" tabindex="0" aria-label="Maximale Gästeanzahl bearbeiten">
|
||||||
<dt>Maximale Personenanzahl</dt>
|
<dt>Maximale Gästeanzahl</dt>
|
||||||
<dd data-review="maxGuests">–</dd>
|
<dd data-review="maxGuests">–</dd>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -443,13 +443,9 @@
|
|||||||
hidden
|
hidden
|
||||||
>
|
>
|
||||||
<div class="step-layout hero startseite">
|
<div class="step-layout hero startseite">
|
||||||
<div class="step-copy">
|
<div class="step-layout">
|
||||||
<div class="submission-success-title-row">
|
<p class="badge margin-bottom-40">Event veröffentlicht</p>
|
||||||
<h2 id="success-title">Dein Event ist ready </h2>
|
<h1 id="success-title">Dein Event ist ready <i class="fa-solid fa-champagne-glasses"></i> </h1>
|
||||||
<span class="submission-success-icon" aria-hidden="true">
|
|
||||||
<!-- <i class="fa-solid fa-champagne-glasses"></i>-->
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<p class="step-text margin-bottom-40">
|
<p class="step-text margin-bottom-40">
|
||||||
Sieht gut aus: Deine Idee ist jetzt live und bereit für Gäste.
|
Sieht gut aus: Deine Idee ist jetzt live und bereit für Gäste.
|
||||||
Im Profil kannst du dein Event anschauen, verwalten oder direkt das nächste planen.
|
Im Profil kannst du dein Event anschauen, verwalten oder direkt das nächste planen.
|
||||||
|
|||||||
+3
-6
@@ -42,14 +42,12 @@
|
|||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<h2>Ein Platz für dich am Tisch!</h2>
|
<h2>Ein Platz für dich am Tisch!</h2>
|
||||||
<button type="button" class="modal-close" aria-label="Popup schließen">×</button>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<p>Schön, dass du dich dazu gesellen möchtest! Da dein:e Gastgeber:in extra für dich einkauft und mit viel Liebe kocht, ist deine Anmeldung ein festes Versprechen. Bitte sag nur zu, wenn du an dem Tag wirklich Zeit hast. So zeigst du echte Wertschätzung für die Mühe und wir lassen niemanden auf vollen Töpfen sitzen.</p>
|
<p>Schön, dass du dich dazu gesellen möchtest! Da dein:e Gastgeber:in extra für dich einkauft und mit viel Liebe kocht, ist deine Anmeldung ein festes Versprechen. Bitte sag nur zu, wenn du an dem Tag wirklich Zeit hast. So zeigst du echte Wertschätzung für die Mühe und wir lassen niemanden auf vollen Töpfen sitzen.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button class="button-primary button--outline" type="button" id="register-modal-cancel">Abbrechen</button>
|
<button class="button-primary button--outline" type="button" id="unregister-modal-cancel" onclick="closeUnregisterModal()">Abbrechen</button>
|
||||||
<button class="button-primary" type="button" id="confirm-register-btn">Ja, ich bin dabei</button>
|
<button class="button-primary" type="button" id="confirm-register-btn">Ja, ich bin dabei</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -59,14 +57,13 @@
|
|||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<h2>Pläne haben sich geändert?</h2>
|
<h2>Pläne haben sich geändert?</h2>
|
||||||
<button type="button" class="modal-close" aria-label="Popup schließen">×</button>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<p>Schade, dass du nicht dabei sein kannst! Aber manchmal kommt einfach etwas dazwischen. Wenn du dich jetzt abmeldest, gibst du deinen Stuhl am Tisch für jemand anderen aus der Community frei. So hilfst du bei der Planung und ein anderer Feinschmecker freut sich über den freien Platz.</p>
|
<p>Schade, dass du nicht dabei sein kannst! Aber manchmal kommt einfach etwas dazwischen. Wenn du dich jetzt abmeldest, gibst du deinen Stuhl am Tisch für jemand anderen aus der Community frei. So hilfst du bei der Planung und ein anderer Feinschmecker freut sich über den freien Platz.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button class="button-primary button--outline" type="button" id="unregister-modal-cancel">Abbrechen</button>
|
<button class="button-primary button--outline" type="button" id="unregister-modal-cancel" onclick="closeUnregisterModal()">Abbrechen</button>
|
||||||
<button class="button-primary button-primary-abmelden" type="button" id="confirm-unregister-btn">Ja, abmelden</button>
|
<button class="button-primary button-primary-abmelden" type="button" id="confirm-unregister-btn">Abmelden</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+4
-4
@@ -102,11 +102,13 @@
|
|||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<h2>Warum Invité kostenlos ist</h2>
|
<h2>Warum Invité kostenlos ist</h2>
|
||||||
<button type="button" class="modal-close" aria-label="Popup schließen">×</button>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<p>Alle Events bei uns sind komplett kostenlos. Invité basiert rein auf Freiwilligkeit und der Freude am Teilen. Kein Geldfluss, keine versteckten Kosten – nur die pure Absicht, die Community zu stärken und den sozialen Zusammenhalt in unserer Nachbarschaft zu fördern. Egal ob du den Kochlöffel schwingst oder dich als Gast dazu gesellst: Bei uns zählt nur die menschliche Begegnung.</p>
|
<p>Alle Events bei uns sind komplett kostenlos. Invité basiert rein auf Freiwilligkeit und der Freude am Teilen. Kein Geldfluss, keine versteckten Kosten – nur die pure Absicht, die Community zu stärken und den sozialen Zusammenhalt in unserer Nachbarschaft zu fördern. Egal ob du den Kochlöffel schwingst oder dich als Gast dazu gesellst: Bei uns zählt nur die menschliche Begegnung.</p>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="modal-footer">
|
||||||
|
<button class="button-primary button--outline" type="button" onclick="closeInfoModal()">Okay</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -114,7 +116,6 @@
|
|||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<h2>Ein Platz für dich am Tisch!</h2>
|
<h2>Ein Platz für dich am Tisch!</h2>
|
||||||
<button type="button" class="modal-close" aria-label="Popup schließen">×</button>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<p>Schön, dass du dich dazu gesellen möchtest! Da dein:e Gastgeber:in extra für dich einkauft und mit viel Liebe kocht, ist deine Anmeldung ein festes Versprechen. Bitte sag nur zu, wenn du an dem Tag wirklich Zeit hast. So zeigst du echte Wertschätzung für die Mühe und wir lassen niemanden auf vollen Töpfen sitzen.</p>
|
<p>Schön, dass du dich dazu gesellen möchtest! Da dein:e Gastgeber:in extra für dich einkauft und mit viel Liebe kocht, ist deine Anmeldung ein festes Versprechen. Bitte sag nur zu, wenn du an dem Tag wirklich Zeit hast. So zeigst du echte Wertschätzung für die Mühe und wir lassen niemanden auf vollen Töpfen sitzen.</p>
|
||||||
@@ -130,14 +131,13 @@
|
|||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<h2>Pläne haben sich geändert?</h2>
|
<h2>Pläne haben sich geändert?</h2>
|
||||||
<button type="button" class="modal-close" aria-label="Popup schließen">×</button>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<p>Schade, dass du nicht dabei sein kannst! Aber manchmal kommt einfach etwas dazwischen. Wenn du dich jetzt abmeldest, gibst du deinen Stuhl am Tisch für jemand anderen aus der Community frei. So hilfst du bei der Planung und ein anderer Feinschmecker freut sich über den freien Platz.</p>
|
<p>Schade, dass du nicht dabei sein kannst! Aber manchmal kommt einfach etwas dazwischen. Wenn du dich jetzt abmeldest, gibst du deinen Stuhl am Tisch für jemand anderen aus der Community frei. So hilfst du bei der Planung und ein anderer Feinschmecker freut sich über den freien Platz.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button class="button-primary button--outline" type="button" onclick="closeUnregisterModal()">Abbrechen</button>
|
<button class="button-primary button--outline" type="button" onclick="closeUnregisterModal()">Abbrechen</button>
|
||||||
<button class="button-primary button-primary-abmelden" type="button" id="confirm-unregister-btn">Ja, abmelden</button>
|
<button class="button-primary button-primary-abmelden" type="button" id="confirm-unregister-btn">Abmelden</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+6
-5
@@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
<div class="hero__right">
|
<div class="hero__right">
|
||||||
<div class="image-card">
|
<div class="image-card">
|
||||||
<img class="hero-image" src="assets/index_ingredients.jpg" alt="Startpage Ingredients" />
|
<img class="hero-image" src="assets/index_round table friends.jpeg" alt="Round table friends" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
@@ -82,14 +82,14 @@
|
|||||||
|
|
||||||
<!-- Main Content: uses .gallery, .gallery__carousel, .gallery__track, .gallery__item, and .gallery__info to present event carousel content -->
|
<!-- Main Content: uses .gallery, .gallery__carousel, .gallery__track, .gallery__item, and .gallery__info to present event carousel content -->
|
||||||
<section class="gallery" aria-label="Bildergalerie" aria-roledescription="Karussell">
|
<section class="gallery" aria-label="Bildergalerie" aria-roledescription="Karussell">
|
||||||
</div><h2>Einblick in Cooking-Erlebnisse</h2>
|
<h2>Einblick in Cooking-Erlebnisse</h2>
|
||||||
<p class="margin-bottom-16">#gemeinsam_invité auf Instagram</p>
|
<p class="margin-bottom-16">#gemeinsam_invité auf Instagram</p>
|
||||||
</div>
|
|
||||||
<div class="gallery__carousel">
|
<div class="gallery__carousel">
|
||||||
<button type="button" class="gallery__arrow gallery__arrow--prev" aria-label="Vorheriges Bild">
|
<button type="button" class="gallery__arrow gallery__arrow--prev" aria-label="Vorheriges Bild">
|
||||||
<i class="fas fa-chevron-left"></i>
|
<i class="fa-solid fa-angle-left"></i>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
<div class="gallery__viewport">
|
||||||
<div class="gallery__track" aria-live="polite">
|
<div class="gallery__track" aria-live="polite">
|
||||||
|
|
||||||
<article class="gallery__item" role="group" aria-roledescription="Folie" aria-label="Bild 1 von 12">
|
<article class="gallery__item" role="group" aria-roledescription="Folie" aria-label="Bild 1 von 12">
|
||||||
@@ -213,9 +213,10 @@
|
|||||||
</article>
|
</article>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<button type="button" class="gallery__arrow gallery__arrow--next" aria-label="Nächstes Bild">
|
<button type="button" class="gallery__arrow gallery__arrow--next" aria-label="Nächstes Bild">
|
||||||
<i class="fas fa-chevron-right"></i>
|
<i class="fa-solid fa-angle-right"></i>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
+20
-16
@@ -447,21 +447,23 @@
|
|||||||
<strong>${event.title}</strong>
|
<strong>${event.title}</strong>
|
||||||
</div>
|
</div>
|
||||||
<div class="detail-action-btn-wrap">
|
<div class="detail-action-btn-wrap">
|
||||||
|
<div class="detail-action-row" style="margin-left:auto; display:flex; gap:12px; align-items:center;">
|
||||||
${isFull ? `
|
${isFull ? `
|
||||||
<button class="detail-primary-btn detail-spots-pill-full" type="button" disabled>Ausgebucht</button>
|
<div class="detail-dereg-column">
|
||||||
` : `
|
<button class="button-plaetze event-spots-full" type="button" disabled>Ausgebucht</button>
|
||||||
<button class="detail-primary-btn${actionButtonVariantClass}" type="button" data-register-button ${actionButtonDisabled ? 'disabled' : ''}>
|
<small class="detail-dereg-hint detail-dereg-hint--placeholder"> </small>
|
||||||
|
</div>
|
||||||
|
` : ''}
|
||||||
|
|
||||||
|
${(!isFull || isRegistered) ? `
|
||||||
|
<div class="detail-dereg-column">
|
||||||
|
<button class="${actionButtonVariantClass.trim()}" type="button" data-register-button ${actionButtonDisabled ? 'disabled' : ''}>
|
||||||
${actionButtonLabel}
|
${actionButtonLabel}
|
||||||
</button>
|
</button>
|
||||||
`}
|
</div>
|
||||||
${isRegistered && deregInfo.daysLeft !== null ? `
|
|
||||||
<small class="detail-dereg-hint${deregInfo.isClosed ? ' detail-dereg-hint--closed' : ''}">
|
|
||||||
${deregInfo.isClosed ? 'Abmeldefrist abgelaufen'
|
|
||||||
: deregInfo.daysLeft === 1 ? 'Noch 1 Tag zur Abmeldung'
|
|
||||||
: `Noch ${deregInfo.daysLeft} Tage zur Abmeldung`}
|
|
||||||
</small>
|
|
||||||
` : ''}
|
` : ''}
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<div class="detail-lightbox" aria-hidden="true">
|
<div class="detail-lightbox" aria-hidden="true">
|
||||||
@@ -527,9 +529,10 @@
|
|||||||
renderDetailPage(event);
|
renderDetailPage(event);
|
||||||
};
|
};
|
||||||
|
|
||||||
document.getElementById('unregister-modal-close').onclick = () => modal.classList.remove('show');
|
const closeUnregister = () => modal.classList.remove('show');
|
||||||
document.getElementById('unregister-modal-cancel').onclick = () => modal.classList.remove('show');
|
document.getElementById('unregister-modal-close')?.addEventListener('click', closeUnregister);
|
||||||
modal.addEventListener('click', e => { if (e.target === modal) modal.classList.remove('show'); });
|
document.getElementById('unregister-modal-cancel')?.addEventListener('click', closeUnregister);
|
||||||
|
modal.addEventListener('click', e => { if (e.target === modal) closeUnregister(); });
|
||||||
|
|
||||||
} else if (!isFull && !isRegistrationClosed) {
|
} else if (!isFull && !isRegistrationClosed) {
|
||||||
const modal = document.getElementById('register-confirm-modal');
|
const modal = document.getElementById('register-confirm-modal');
|
||||||
@@ -551,9 +554,10 @@
|
|||||||
renderDetailPage(event);
|
renderDetailPage(event);
|
||||||
};
|
};
|
||||||
|
|
||||||
document.getElementById('register-modal-close').onclick = () => modal.classList.remove('show');
|
const closeRegister = () => modal.classList.remove('show');
|
||||||
document.getElementById('register-modal-cancel').onclick = () => modal.classList.remove('show');
|
document.getElementById('register-modal-close')?.addEventListener('click', closeRegister);
|
||||||
modal.addEventListener('click', e => { if (e.target === modal) modal.classList.remove('show'); });
|
document.getElementById('register-modal-cancel')?.addEventListener('click', closeRegister);
|
||||||
|
modal.addEventListener('click', e => { if (e.target === modal) closeRegister(); });
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -536,8 +536,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="event-side${isFull ? ' event-side-full' : ''}">
|
<div class="event-side${isFull ? ' event-side-full' : ''}">
|
||||||
${sideInfoMarkup}
|
|
||||||
${actionMarkup}
|
${actionMarkup}
|
||||||
|
${sideInfoMarkup}
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
@@ -778,7 +778,7 @@
|
|||||||
// Info button modal behavior
|
// Info button modal behavior
|
||||||
const infoButton = document.getElementById('info-button');
|
const infoButton = document.getElementById('info-button');
|
||||||
const infoModal = document.getElementById('info-modal');
|
const infoModal = document.getElementById('info-modal');
|
||||||
const modalClose = infoModal?.querySelector('modal-close');
|
const modalClose = infoModal?.querySelector('.modal-close');
|
||||||
|
|
||||||
if (infoButton && infoModal) {
|
if (infoButton && infoModal) {
|
||||||
infoButton.addEventListener('click', () => {
|
infoButton.addEventListener('click', () => {
|
||||||
@@ -828,3 +828,10 @@ function closeUnregisterModal() {
|
|||||||
modal.classList.remove('show');
|
modal.classList.remove('show');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function closeInfoModal() {
|
||||||
|
const modal = document.getElementById('info-modal');
|
||||||
|
if (modal) {
|
||||||
|
modal.classList.remove('show');
|
||||||
|
}
|
||||||
|
}
|
||||||
+24
-12
@@ -229,18 +229,17 @@
|
|||||||
|
|
||||||
const unregisterButton = target.closest('[data-unregister-id]');
|
const unregisterButton = target.closest('[data-unregister-id]');
|
||||||
if (unregisterButton) {
|
if (unregisterButton) {
|
||||||
if (!currentUser?.email) {
|
if (!currentUser?.email) return;
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
const eventId = Number(unregisterButton.getAttribute('data-unregister-id'));
|
const eventId = Number(unregisterButton.getAttribute('data-unregister-id'));
|
||||||
if (!Number.isFinite(eventId)) {
|
if (!Number.isFinite(eventId)) return;
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
const modal = document.getElementById('unregister-confirm-modal');
|
||||||
|
if (modal) modal.classList.add('show');
|
||||||
|
|
||||||
|
document.getElementById('confirm-unregister-btn').onclick = () => {
|
||||||
|
modal.classList.remove('show');
|
||||||
unregisterFromEvent(eventId, currentUser.email);
|
unregisterFromEvent(eventId, currentUser.email);
|
||||||
|
|
||||||
// Snackbar: Feedback bei erfolgreicher Abmeldung.
|
|
||||||
const snackbar = document.getElementById('snackbar');
|
const snackbar = document.getElementById('snackbar');
|
||||||
if (snackbar) {
|
if (snackbar) {
|
||||||
snackbar.textContent = 'Du wurdest erfolgreich abgemeldet.';
|
snackbar.textContent = 'Du wurdest erfolgreich abgemeldet.';
|
||||||
@@ -248,11 +247,17 @@
|
|||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
snackbar.classList.remove('snackbar--visible');
|
snackbar.classList.remove('snackbar--visible');
|
||||||
setTimeout(() => snackbar.classList.remove('snackbar--danger'), 400);
|
setTimeout(() => snackbar.classList.remove('snackbar--danger'), 400);
|
||||||
}, 4000);
|
}, 3000);
|
||||||
}
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
document.getElementById('unregister-modal-close').onclick = () => modal.classList.remove('show');
|
||||||
|
document.getElementById('unregister-modal-cancel').onclick = () => modal.classList.remove('show');
|
||||||
|
modal.addEventListener('click', e => { if (e.target === modal) modal.classList.remove('show'); });
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (target.closest('a, button')) {
|
if (target.closest('a, button')) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -291,6 +296,15 @@
|
|||||||
cancelHostedEvent(pendingCancelEventId, currentUser.email);
|
cancelHostedEvent(pendingCancelEventId, currentUser.email);
|
||||||
}
|
}
|
||||||
closeCancelEventModal();
|
closeCancelEventModal();
|
||||||
|
const snackbar = document.getElementById('snackbar');
|
||||||
|
if (snackbar) {
|
||||||
|
snackbar.textContent = 'Dein Event wurde erfolgreich abgesagt.';
|
||||||
|
snackbar.classList.add('snackbar--danger', 'snackbar--visible');
|
||||||
|
setTimeout(() => {
|
||||||
|
snackbar.classList.remove('snackbar--visible');
|
||||||
|
setTimeout(() => snackbar.classList.remove('snackbar--danger'), 400);
|
||||||
|
}, 3000);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// Schliesst das Modal bei Klick ausserhalb des Inhalts.
|
// Schliesst das Modal bei Klick ausserhalb des Inhalts.
|
||||||
@@ -327,7 +341,7 @@
|
|||||||
|
|
||||||
renderMyEvents(allEvents, currentUser);
|
renderMyEvents(allEvents, currentUser);
|
||||||
renderMyRegistrations(allEvents, currentUser);
|
renderMyRegistrations(allEvents, currentUser);
|
||||||
profileFeedback.textContent = 'Event wurde abgesagt und aus deinem Hosting entfernt.';
|
|
||||||
}
|
}
|
||||||
// Entfernt eine Event-ID aus der Benutzerliste und aktualisiert die UI sofort.
|
// Entfernt eine Event-ID aus der Benutzerliste und aktualisiert die UI sofort.
|
||||||
function unregisterFromEvent(eventId, userEmail) {
|
function unregisterFromEvent(eventId, userEmail) {
|
||||||
@@ -341,12 +355,10 @@
|
|||||||
setRegistrationMap(registrationMap);
|
setRegistrationMap(registrationMap);
|
||||||
|
|
||||||
renderMyRegistrations(allEvents, currentUser);
|
renderMyRegistrations(allEvents, currentUser);
|
||||||
profileFeedback.textContent = 'Du wurdest von dem Event abgemeldet.';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Validiert Profildaten konsistent und liefert true/false zur Submit-Steuerung.
|
// Validiert Profildaten konsistent und liefert true/false zur Submit-Steuerung.
|
||||||
function validateProfileForm() {
|
function validateProfileForm() {
|
||||||
let isValid = true;
|
|
||||||
|
|
||||||
const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
||||||
|
|
||||||
|
|||||||
+14
-2
@@ -126,7 +126,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<p class="modal-body">
|
<p class="modal-body">
|
||||||
Bist du sicher, dass du dich abmelden möchtest?
|
Bist du sicher, dass du dich abmelden möchtest?
|
||||||
<button type="button" class="modal-close" aria-label="Popup schließen">×</button>
|
|
||||||
</p>
|
</p>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button class="button-primary button--outline" type="button" onclick="closeLogoutModal()">Abbrechen</button>
|
<button class="button-primary button--outline" type="button" onclick="closeLogoutModal()">Abbrechen</button>
|
||||||
@@ -135,6 +134,20 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div id="unregister-confirm-modal" class="modal">
|
||||||
|
<div class="modal-content">
|
||||||
|
<div class="modal-header">
|
||||||
|
<h2>Pläne haben sich geändert?</h2>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<p>Schade, dass du nicht dabei sein kannst! Aber manchmal kommt einfach etwas dazwischen. Wenn du dich jetzt abmeldest, gibst du deinen Stuhl am Tisch für jemand anderen aus der Community frei. So hilfst du bei der Planung und ein anderer Feinschmecker freut sich über den freien Platz.</p>
|
||||||
|
</div>
|
||||||
|
<div class="modal-footer">
|
||||||
|
<button class="button-primary button--outline" type="button" onclick="closeLogoutModal()">Abbrechen</button>
|
||||||
|
<button class="button-primary button-primary-abmelden" type="button" id="confirm-unregister-btn">Abmelden</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<!-- Snackbar: Feedback bei Abmeldung von Events -->
|
<!-- Snackbar: Feedback bei Abmeldung von Events -->
|
||||||
<div class="snackbar" id="snackbar"></div>
|
<div class="snackbar" id="snackbar"></div>
|
||||||
|
|
||||||
@@ -146,7 +159,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<p class="modal-body">
|
<p class="modal-body">
|
||||||
Bist du sicher, dass du dieses Event absagen möchtest? Diese Aktion kann nicht rückgängig gemacht werden.
|
Bist du sicher, dass du dieses Event absagen möchtest? Diese Aktion kann nicht rückgängig gemacht werden.
|
||||||
<button type="button" class="modal-close" aria-label="Popup schließen">×</button>
|
|
||||||
</p>
|
</p>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button class="button-secondary" type="button" onclick="closeCancelEventModal()">Abbrechen</button>
|
<button class="button-secondary" type="button" onclick="closeCancelEventModal()">Abbrechen</button>
|
||||||
|
|||||||
@@ -83,7 +83,6 @@
|
|||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<h2>Konto erfolgreich erstellt!</h2>
|
<h2>Konto erfolgreich erstellt!</h2>
|
||||||
<button class="close-btn" onclick="closeWelcomeModal()">×</button>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
Willkommen bei Invité! Dein Account wurde erfolgreich erstellt. Entdecke jetzt die neuesten Events in deiner Nähe.
|
Willkommen bei Invité! Dein Account wurde erfolgreich erstellt. Entdecke jetzt die neuesten Events in deiner Nähe.
|
||||||
|
|||||||
Reference in new issue
Block a user