initial commit
This commit is contained in:
@@ -0,0 +1,219 @@
|
||||
---
|
||||
title: Freilichttheater Ziefen 2028
|
||||
hero:
|
||||
title_de: Freilichttheater in Ziefen
|
||||
title_en: Open-Air Theater in Ziefen
|
||||
subtitle_de: 2028 grosses Freilichtspiel geplant. Der Blick auf die Gesellschaft der damaligen Zeit aus der Sicht des in Ziefen aufgewachsenen späteren Pfarrers, Waisenvaters und Mundartautors… Jonas Breitenstein
|
||||
subtitle_en: A grand open-air play planned for 2028. A view of society of that time from the perspective of Jonas Breitenstein, who grew up in Ziefen and later became a pastor, orphanage father, and dialect author.
|
||||
projekt:
|
||||
title_de: Das Projekt
|
||||
title_en: The Project
|
||||
content_de:
|
||||
type: root
|
||||
children:
|
||||
- type: p
|
||||
children:
|
||||
- type: text
|
||||
text: 'Beschreibung der Entstehung des Projekts. Zwei Vereine arbeiten zusammen, um dieses einzigartige Freilichtspiel zu realisieren.'
|
||||
- type: p
|
||||
children:
|
||||
- type: text
|
||||
text: 'Vor den Aufführungen wird es Möglichkeiten zur Verköstigung geben.'
|
||||
- type: p
|
||||
children:
|
||||
- type: text
|
||||
text: 'Ein besonderer Schwerpunkt liegt auf der Beteiligung der Menschen aus dem Dorf und dem Tal. Wir möchten die lokale Gemeinschaft aktiv einbinden.'
|
||||
content_en:
|
||||
type: root
|
||||
children:
|
||||
- type: p
|
||||
children:
|
||||
- type: text
|
||||
text: 'Description of how the project came to be. Two associations are working together to realize this unique open-air play.'
|
||||
- type: p
|
||||
children:
|
||||
- type: text
|
||||
text: 'There will be opportunities for refreshments before the performances.'
|
||||
- type: p
|
||||
children:
|
||||
- type: text
|
||||
text: 'A special focus is on the participation of people from the village and the valley. We want to actively involve the local community.'
|
||||
team:
|
||||
title_de: Wer steckt dahinter
|
||||
title_en: Who's Behind It
|
||||
content_de:
|
||||
type: root
|
||||
children:
|
||||
- type: p
|
||||
children:
|
||||
- type: text
|
||||
text: 'Hinter diesem Projekt stehen verschiedene Organisationen und Institutionen aus Ziefen:'
|
||||
content_en:
|
||||
type: root
|
||||
children:
|
||||
- type: p
|
||||
children:
|
||||
- type: text
|
||||
text: 'Various organizations and institutions from Ziefen are behind this project:'
|
||||
organizations:
|
||||
- name: Verein J.B.
|
||||
role_de: Hauptverantwortlich für das Theaterprojekt
|
||||
role_en: Main responsibility for the theater project
|
||||
- name: Verein 4417
|
||||
role_de: Mitorganisator
|
||||
role_en: Co-organizer
|
||||
- name: Bürgergemeinde
|
||||
role_de: Unterstützer
|
||||
role_en: Supporter
|
||||
- name: Einwohnergemeinde
|
||||
role_de: Unterstützer
|
||||
role_en: Supporter
|
||||
stueck:
|
||||
title_de: Das Stück
|
||||
title_en: The Play
|
||||
content_de:
|
||||
type: root
|
||||
children:
|
||||
- type: h3
|
||||
children:
|
||||
- type: text
|
||||
text: 'Wer macht mit?'
|
||||
- type: p
|
||||
children:
|
||||
- type: text
|
||||
text: 'Hier wird der Text von Danny Wehrmüller erscheinen, der das Stück näher beschreibt und zum Mitmachen einlädt.'
|
||||
content_en:
|
||||
type: root
|
||||
children:
|
||||
- type: h3
|
||||
children:
|
||||
- type: text
|
||||
text: 'Who wants to participate?'
|
||||
- type: p
|
||||
children:
|
||||
- type: text
|
||||
text: "Here will appear the text by Danny Wehrmüller, which describes the play in more detail and invites people to participate."
|
||||
mitwirkung:
|
||||
title_de: Mitwirkung im Schauspiel
|
||||
title_en: Participation in the Play
|
||||
content_de:
|
||||
type: root
|
||||
children:
|
||||
- type: p
|
||||
children:
|
||||
- type: text
|
||||
text: 'Offen für jeden ab dem 16. Lebensjahr!'
|
||||
- type: p
|
||||
children:
|
||||
- type: text
|
||||
text: 'Wer auf die Bühne will, meldet sich direkt beim Regisseur (Kontaktdaten unten).'
|
||||
- type: p
|
||||
children:
|
||||
- type: text
|
||||
text: 'Zu gegebener Zeit erfolgt ein Casting in Gruppen mit dem Zweck, sich gegenseitig spielend kennenzulernen.'
|
||||
- type: p
|
||||
children:
|
||||
- type: text
|
||||
text: 'Bemerkung: Es geht nicht darum, Leute auszuschliessen.'
|
||||
content_en:
|
||||
type: root
|
||||
children:
|
||||
- type: p
|
||||
children:
|
||||
- type: text
|
||||
text: 'Open to everyone from the age of 16!'
|
||||
- type: p
|
||||
children:
|
||||
- type: text
|
||||
text: 'Anyone who wants to be on stage should contact the director directly (contact details below).'
|
||||
- type: p
|
||||
children:
|
||||
- type: text
|
||||
text: 'At the appropriate time, there will be group casting sessions with the purpose of getting to know each other through play.'
|
||||
- type: p
|
||||
children:
|
||||
- type: text
|
||||
text: 'Note: The goal is not to exclude people.'
|
||||
director_name: Danny Wehrmüller
|
||||
director_email: director@theater-ziefen.ch
|
||||
director_phone: '+41 XX XXX XX XX'
|
||||
termine:
|
||||
title_de: Termine
|
||||
title_en: Schedule
|
||||
events:
|
||||
- title_de: Casting
|
||||
title_en: Casting
|
||||
date: Frühjahr 2027
|
||||
description_de: Gruppencasting zum gegenseitigen Kennenlernen
|
||||
description_en: Group casting to get to know each other
|
||||
- title_de: Proben
|
||||
title_en: Rehearsals
|
||||
date: Ab Oktober 2027
|
||||
description_de: Beginn der regelmässigen Proben
|
||||
description_en: Start of regular rehearsals
|
||||
- title_de: Intensive Proben
|
||||
title_en: Intensive Rehearsals
|
||||
date: Ab Mai 2028
|
||||
description_de: 'WICHTIG: Keine Ferien oder längere Abwesenheit planen! Mit zwei Probewochenenden.'
|
||||
description_en: 'IMPORTANT: Do not plan vacations or longer absences! Includes two rehearsal weekends.'
|
||||
- title_de: Vorstellungen
|
||||
title_en: Performances
|
||||
date: Juni 2028
|
||||
description_de: Acht bis neun Vorstellungen
|
||||
description_en: Eight to nine performances
|
||||
presse:
|
||||
title_de: Presse
|
||||
title_en: Press
|
||||
content_de:
|
||||
type: root
|
||||
children:
|
||||
- type: p
|
||||
children:
|
||||
- type: text
|
||||
text: 'Pressemitteilungen und Artikel werden hier veröffentlicht (digital und print).'
|
||||
- type: p
|
||||
children:
|
||||
- type: text
|
||||
text: 'Wir streben eine Pressepartnerschaft an, ähnlich wie das Theater Läufelfingen mit der «Volksstimme».'
|
||||
content_en:
|
||||
type: root
|
||||
children:
|
||||
- type: p
|
||||
children:
|
||||
- type: text
|
||||
text: 'Press releases and articles will be published here (digital and print).'
|
||||
- type: p
|
||||
children:
|
||||
- type: text
|
||||
text: 'We are aiming for a press partnership, similar to Theater Läufelfingen with «Volksstimme».'
|
||||
gallery:
|
||||
title_de: Foto Galerie
|
||||
title_en: Photo Gallery
|
||||
images: []
|
||||
tickets:
|
||||
title_de: Tickets
|
||||
title_en: Tickets
|
||||
content_de:
|
||||
type: root
|
||||
children:
|
||||
- type: p
|
||||
children:
|
||||
- type: text
|
||||
text: 'Tickets werden über eine Partnerfirma erhältlich sein.'
|
||||
- type: p
|
||||
children:
|
||||
- type: text
|
||||
text: 'Weitere Informationen folgen in Kürze.'
|
||||
content_en:
|
||||
type: root
|
||||
children:
|
||||
- type: p
|
||||
children:
|
||||
- type: text
|
||||
text: 'Tickets will be available through a partner company.'
|
||||
- type: p
|
||||
children:
|
||||
- type: text
|
||||
text: 'More information coming soon.'
|
||||
ticket_url: ''
|
||||
---
|
||||
@@ -0,0 +1,47 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg id="Layer_2" data-name="Layer 2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000">
|
||||
<defs>
|
||||
<style>
|
||||
.cls-1 {
|
||||
fill: none;
|
||||
}
|
||||
|
||||
.cls-2 {
|
||||
fill: #2b2b56;
|
||||
}
|
||||
|
||||
.cls-3 {
|
||||
fill: #e4a635;
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
<path class="cls-3" d="M236.73,691.69l-16.74,17.12c-16.94,2.35-32.54,7.74-46.27,17.71-1.64,1.19-3.19,2.36-5.14,2.62-1.51.2-5.09-2.4-3.86-4.12,11.82-16.53,25.17-31.16,39.48-45.9l66.98-69.02c15.95-60.39,41.56-117.97,77.32-169.85-2.34,24.65-4.33,44.91,2.81,70.04l1.29-12.24c2.87-27.26,7.47-53.86,18.17-79.03,4.51-10.61,9.57-20.14,17.21-28.64,27.89-31.07,64.26-62.61,101.09-86.07-14.61,27.49-25.69,57.79-29.53,89.76-.88,7.35-2.85,13.87-1.46,21.49,7.03-24.33,13.63-48.21,25.4-70.69,24.83-47.43,46.03-65.77,93.78-89.94,38.5-19.49,77.4-36.4,117.72-51.69l44.67-16.93c-11.14,10.68-19.39,22.42-26.3,35.88-2.79,5.42-6.92,10.64-7.03,17.22,21.43-28.84,47.63-53.84,80.23-66.61,38.21-14.97,103.23-19.8,143.78-12.35-42.4,23.37-66.19,56.28-94.1,93.87-13.4,18.05-48.65,35.24-69.62,40.91l-32.32,8.74c23.48,3.2,52.33-4.13,74.18-12-4.81,8.22-10.33,14.73-15.39,22.07-5.69,8.26-13.56,13.44-21.99,18.76-41.39,26.14-90.14,36.95-139.17,43.41,38.39,7.45,86-2.31,123.98-15.5-45.74,56.82-98.12,106.48-156.97,148.33-13.23,9.41-26.32,15.81-41.64,20.58-19.93,6.2-39.66,10.09-60.55,12.57-21.19,2.52-41.49,1.83-63.39,2.05,21.92,8.76,65.15,12.44,87.73,9.28,3.32-.47,6.72-.56,9.68.1-74.16,44.51-157.83,77.48-243.32,88.36-18.82,16.97-33.36,31.98-50.69,49.69ZM215.96,699.67l62.62-63.17c96.67-97.52,273.49-245.35,385.3-327.82,37.37-27.57,75.03-53.76,114.11-78.51,22.03-13.95,43.82-26.41,66.82-38.21,4.5-2.12,9.26-3.2,12.5-6.98-34.04,14.75-65.91,31.73-97.74,50.42-87.3,51.27-182.8,121.97-261.8,185.79-79.76,64.43-186.05,157.82-255.56,231.92l-49.44,52.7c7.95-2.69,15.01-4.32,23.18-6.15Z"/>
|
||||
<path class="cls-3" d="M214.39,552.26l-76.55.17-.07-259.73c-1.89-1.36-3.69-.57-6.12-1.96,4.37-6.51,9.77-12.13,13.04-19.41l9.82-21.9,17.14-31.68,14.74,30.65c5.36,11.38,9.65,22.26,16.96,31.66l10.67,13.72.21,160.48M191.06,343.85l-.36-31.46c-.04-3.67-4.08-4.61-7.08-3.84-2.14.55-4.37,2.64-4.42,5.83-.16,10.01-.22,19.55.18,29.65,3.88.56,7.38.61,11.68-.18ZM171.48,344.82c.08-9.87.42-19.21-.15-28.85-.21-3.61-2.76-6.44-5.84-6.54-3.17-.1-6.29,2.13-6.29,5.94l.06,29.61c4.06.61,7.49.53,12.22-.17ZM177.78,452.56c-.06-6.38.72-12.49-.06-18.08-.53-1.17-4.71-1.12-5.08.08-.57,5.92-.17,12.62-.06,18.38,1.77.19,4.26.68,5.19-.38Z"/>
|
||||
<path class="cls-3" d="M268.69,419.9l.17-121.23c2.05-2.07,4.83-1.88,6.99-.02l.06,76.35,103.87.45c-22.6,25.23-41.75,51.2-59.04,79.72l-43.8.35v84.54c0,3.67,0,11.88,0,11.88h-8.25"/>
|
||||
<path class="cls-3" d="M175.64,217.4l66.2,8.72c6.68,13.94,13.27,26.75,20.65,39.81,5.28,9.34,12.24,15.54,19.68,25.23l-64.06-2.51c-13.83-10.85-20.78-29.28-28.57-44.35"/>
|
||||
<path class="cls-3" d="M250.81,345.13c-4.69,1.79-9.7,1.57-14.51-.5-.02-10.44-.68-20.54.24-30.76.31-3.5,4.36-6.32,6.82-6.32,3.59,0,7.26,2.88,7.28,6.82l.17,30.77Z"/>
|
||||
<path class="cls-3" d="M294.3,506.1c-3.64,3.74-2.03-30.01-2.05-29.74.21-3.35,2.5-6.21,4.65-6.83,3.29-.94,7.57-.34,9.25,1.86,2.24,2.94,2.11,6.49.51,9.72l-12.36,24.99Z"/>
|
||||
<g>
|
||||
<path class="cls-3" d="M258.52,725.32c0,3.3-3.4,5.3-8.1,5.3-1,0-2.1-.1-3.2-.2-11.6,10.4-20.3,30.6-20.3,43.6,0,7.2,2.7,12.3,8.9,12.3,3.8,0,8.8-1.2,13.5-7,.2-21.5,9.6-47.6,21.1-47.6,3.7,0,5.1,3.4,5.1,7.6,0,8.3-5.7,23.4-12.2,35.1.2,8.2,3.6,14.3,9.1,14.3,13.8,0,21.4-21.2,21.4-38.8,0-12.7-3.9-23.5-12.3-23.5-.6,0-1.6.3-2,.3-.7,0-1.1-.5-1.1-1.5,0-3.4,4.8-9.8,12.3-9.8,9.6,0,13.9,9.6,13.9,22.4,0,25.1-16.3,62.2-39.4,62.2-6.7,0-12.6-5.4-14.9-12.9-6,7.3-14.2,11.3-21.9,11.3-11.5,0-16.3-8.3-16.3-19.5,0-16.4,10.3-39.1,25-50.9-4.3-1.1-8.9-2.1-13.5-2.1-12,0-18.1,5.3-18.1,12.2,0,3.6,2.1,6,5.2,6,2.4,0,4-1.2,4.8-1.9.4-.3.7-.5,1.1-.5.7,0,1.4.7,1.4,2.5,0,4.7-5.2,11.7-13.5,11.7-7.2,0-12.9-5.2-12.9-13.5,0-12.1,12.3-21.8,31.4-21.8,7.3,0,13.8,1.5,20,2.5,2-1.2,5-2.5,8.6-2.5,4,0,6.9,1.6,6.9,4.7Z"/>
|
||||
<path class="cls-3" d="M320.42,758.93c0,1.8-.9,2.8-2.4,5.6-3,5.7-4.4,10.9-4.4,14.3,0,3,1.3,4.1,2.7,4.1,1.9,0,4.9-.6,11.7-10.3.4-.6,1-.9,1.5-.9.7,0,1.3.6,1.3,1.5,0,.5-.1,1-.5,1.7-7.5,13.5-14.2,16.7-19.4,16.7-5.9,0-8.7-5.1-8.7-11.3,0-4.6,1.4-11,3.4-16,2.5-6.2,5.4-11.4,9.1-11.4s5.7,2.7,5.7,6ZM314.52,741.53c0-4.5,3.9-8.1,8.6-8.1s6.7,3.4,6.7,6.3c0,4.5-4.2,7.6-8.9,7.6-3.6,0-6.4-2.4-6.4-5.8Z"/>
|
||||
<path class="cls-3" d="M373.42,744.23c-1.8,3.1-3.9,7.4-5.8,12.3,2.1-.5,3.9-1.1,5.2-1.7,4.4-2.1,4.8-3.8,5.7-3.8,1.1,0,2.5,1.3,2.5,4,0,4-1.9,8.3-15.9,9.8-1,3.9-1.6,8-1.6,11.9,0,4.4,1.2,6.8,3.4,6.8,1.9,0,5.5-1.2,12.3-10.9.4-.6,1-.9,1.5-.9.7,0,1.3.6,1.3,1.5,0,.5-.1,1-.5,1.7-7.5,13.5-13.9,16.7-20,16.7-5.5,0-8.7-4.1-9.2-10.1-5.8,8-11,10.1-15.9,10.1-6,0-9.3-5-9.3-12,0-2.4.3-6.2,1.1-10,.4-2.2,1-4.7,1.7-7.2-2.9-1.2-4.3-2.7-4.3-4.3,0-.7.3-1.3.8-1.3.4,0,1.2.6,4.8,1.1,1.8-5.8,4.1-11.8,6.5-16.4,3.2-6.1,5.8-9.4,9.3-9.4,2.3,0,5.4,1.8,5.4,5.1,0,1.2-2.3,3.8-4.1,7-2,3.5-4.5,8.6-6.5,14.4h4.1c3.8,0,7.3-.1,10.3-.4,1.8-5.9,4.1-12,6.6-16.7,3.2-6.1,5.8-9.4,9.3-9.4,2.3,0,5.4,1.8,5.4,5.1,0,1.2-2.3,3.8-4.1,7ZM340.02,764.63c-1,4-1.6,8.1-1.6,12.1,0,4.4,1.2,6.8,3.4,6.8,1.7,0,4.9-1,10.6-8.6.2-1.7.5-3.5.9-5.3l1-4.3h-1.4c-5,0-9.3-.2-12.9-.7Z"/>
|
||||
<path class="cls-3" d="M391.12,783.13c2.9,0,3.8-2.6,4.9-2.6.7,0,1,.6,1,1.5,0,2.6-3.7,9.6-11.4,9.6-6,0-8.7-5.1-8.7-11.3,0-4.6,1.4-11,3.4-16,2.5-6.2,5.4-11.4,9.1-11.4s5.7,2.7,5.7,6c0,1.8-.9,2.8-2.4,5.6-3,5.7-4.4,10.9-4.4,14.3,0,3,1.3,4.3,2.8,4.3ZM389.21,741.53c0-4.5,3.9-8.1,8.6-8.1s6.7,3.4,6.7,6.3c0,4.5-4.2,7.6-8.9,7.6-3.6,0-6.4-2.4-6.4-5.8Z"/>
|
||||
<path class="cls-3" d="M491.62,725.32c0,3.3-3.4,5.3-8.1,5.3-1,0-2.1-.1-3.2-.2-11.6,10.4-20.3,30.6-20.3,43.6,0,7.2,2.7,12.3,8.9,12.3,3.8,0,8.8-1.2,13.5-7,.2-21.5,9.6-47.6,21.1-47.6,3.7,0,5.1,3.4,5.1,7.6,0,8.3-5.7,23.4-12.2,35.1.2,8.2,3.6,14.3,9.1,14.3,13.8,0,21.4-21.2,21.4-38.8,0-12.7-3.9-23.5-12.3-23.5-.6,0-1.6.3-2,.3-.7,0-1.1-.5-1.1-1.5,0-3.4,4.8-9.8,12.3-9.8,9.6,0,13.9,9.6,13.9,22.4,0,25.1-16.3,62.2-39.4,62.2-6.7,0-12.6-5.4-14.9-12.9-6,7.3-14.2,11.3-21.9,11.3-11.5,0-16.3-8.3-16.3-19.5,0-16.4,10.3-39.1,25-50.9-4.3-1.1-8.9-2.1-13.5-2.1-12,0-18.1,5.3-18.1,12.2,0,3.6,2.1,6,5.2,6,2.4,0,4-1.2,4.8-1.9.4-.3.7-.5,1.1-.5.7,0,1.4.7,1.4,2.5,0,4.7-5.2,11.7-13.5,11.7-7.2,0-12.9-5.2-12.9-13.5,0-12.1,12.3-21.8,31.4-21.8,7.3,0,13.8,1.5,20,2.5,2-1.2,5-2.5,8.6-2.5,4,0,6.9,1.6,6.9,4.7Z"/>
|
||||
<path class="cls-3" d="M556.81,787.43c-3.5,3.2-6.9,4.2-10.2,4.2-6.4,0-11.5-4.7-11.5-12.9,0-13.1,11.2-25.8,22.9-25.8,5.3,0,9.1,3.2,9.1,6.4,0,.4-.1.7-.1.7,0,0,.4-.1.8-.1,2.1,0,3.7,1.9,3.7,4.4,0,5.5-4.1,12.2-6.4,15.7.3,1.8,1.1,2.7,2.1,2.7,1.4,0,4.1-.4,10.9-10.1.4-.6,1-.9,1.5-.9.7,0,1.3.6,1.3,1.5,0,.5-.1,1-.5,1.7-7.5,13.5-12.4,16.3-17.1,16.3-3,0-5.2-1.4-6.5-3.8ZM555.41,782.13v-1.2c0-5.2,1.7-11.1,4.4-15.4-1.1-.2-2.1-.6-2.1-1.2,0-.9.8-1.4.8-3,0-1.8-.9-2.9-2.6-2.9-3.8,0-9.9,7.2-9.9,17.3,0,5.2,2.2,8.1,5.4,8.1,1.7,0,3-.7,4-1.7ZM547.91,741.93c0-3.9,3.4-7.4,7.3-7.4,3,0,4.9,2.3,4.9,5.1,0,4.2-3.3,7.5-7.1,7.5-2.9,0-5.1-2.3-5.1-5.2ZM562.71,742.43c0-3.9,3.4-7.4,7.3-7.4,3,0,4.9,2.3,4.9,5.1,0,4.2-3.3,7.5-7.1,7.5-2.9,0-5.1-2.3-5.1-5.2Z"/>
|
||||
<path class="cls-3" d="M595.51,788.23c-3.1,2.2-6.2,2.8-8.5,2.8-5.9,0-11.4-4.1-11.4-12.5,0-13.1,11.2-25.6,22.9-25.6,5.3,0,9.1,3.2,9.1,6.4,0,.2,0,.5-.1.7.3,0,.5-.1.8-.1,2.8,0,4.3,2.4,4.3,5.4,0,5.2-3.2,10.2-6.2,14.3-.2,7.9-.5,20-4.7,29.1-3.4,7.4-10.4,12.2-18.9,12.2s-13.7-5.1-13.7-11.7c0-7.1,7.1-12.4,14.5-12.4,2.2,0,4.2.6,4.2,2.1,0,.5-.4.8-1.3,1.3-3.2,1.9-7,5.2-7,9.8,0,3,1.9,5.3,4.7,5.3,5.8,0,9.3-9.6,10.7-21.7l.6-5.4ZM596.21,781.83c.7-5.8,2-11.9,4.3-16.2-1.2-.2-2.3-.6-2.3-1.3,0-.9.8-1.4.8-3,0-1.8-.9-2.9-2.6-2.9-3.8,0-9.9,7.2-9.9,17.3,0,5.2,2.2,8.1,5.4,8.1,1.9,0,3.2-.9,4.3-2Z"/>
|
||||
<path class="cls-3" d="M673.91,763.03c4.5-5.7,9.8-10.1,15.2-10.1,2.8,0,6.2,1.7,6.2,6.8,0,8-6.4,15.9-6.4,20.5,0,1.5.8,2.4,1.7,2.4,1.4,0,4.1-.3,10.9-10,.4-.6,1-.9,1.5-.9.7,0,1.3.6,1.3,1.5,0,.5-.1,1-.5,1.7-7.5,13.5-13,16.7-17.9,16.7s-8-3.4-8-8.6c0-7,4.5-14.7,4.5-17.5,0-.9-.4-1.7-1.5-1.7-1.5,0-4.3,2.1-7,5.5-.8,11.1-5.5,21.8-11.3,21.8-3.1,0-4.9-2.4-4.9-5.7s2-8.4,5.2-12.7c.4-1.9.6-3.5.6-4.7,0-2.6-.6-3.5-1.4-3.5-2.6,0-7.8,7.9-11.3,17.2-2.2,5.9-2.8,9.9-6.1,9.9-3.5,0-5.5-2-6.7-5-.5-1.3-.8-4.4-.8-7,0-2.4.6-6,1.4-9.8,1.9-9.3,4.2-13.4,8-13.4,3,0,5.4,2.7,5.4,5.6,0,3.1-3.9,8-5.1,17.5,4.4-10.7,11.2-25.1,19.9-25.1,2.5,0,6.3,1.6,7.1,8.6Z"/>
|
||||
<path class="cls-3" d="M717.41,758.93c0,1.8-.9,2.8-2.4,5.6-3,5.7-4.4,10.9-4.4,14.3,0,3,1.3,4.1,2.7,4.1,1.9,0,4.9-.6,11.7-10.3.4-.6,1-.9,1.5-.9.7,0,1.3.6,1.3,1.5,0,.5-.1,1-.5,1.7-7.5,13.5-14.2,16.7-19.4,16.7-5.9,0-8.7-5.1-8.7-11.3,0-4.6,1.4-11,3.4-16,2.5-6.2,5.4-11.4,9.1-11.4s5.7,2.7,5.7,6ZM711.51,741.53c0-4.5,3.9-8.1,8.6-8.1s6.7,3.4,6.7,6.3c0,4.5-4.2,7.6-8.9,7.6-3.6,0-6.4-2.4-6.4-5.8Z"/>
|
||||
<path class="cls-3" d="M745.31,744.23c-1.8,3.1-3.9,7.4-5.7,12.3,1.9-.5,3.6-1,5.1-1.7,4.4-2.1,4.8-3.8,5.7-3.8,1.1,0,2.5,1.3,2.5,4,0,4.7-3.6,9.1-15.8,9.5-1,4-1.7,8.2-1.7,12.2,0,4.4,1.2,6.8,3.4,6.8,1.9,0,5.5-1.2,12.3-10.9.4-.6,1-.9,1.5-.9.7,0,1.3.6,1.3,1.5,0,.5-.1,1-.5,1.7-7.5,13.5-13.9,16.7-20,16.7s-9.3-5-9.3-12c0-2.4.3-6.2,1.1-10,.4-1.9.9-4.1,1.5-6.3-2.4-1.1-4.1-3.1-4.1-5.2,0-.7.3-1.3.8-1.3.7,0,1.8.9,4.7.9h.2c1.8-5.8,4-11.6,6.4-16.2,3.2-6.1,5.8-9.4,9.3-9.4,2.3,0,5.4,1.8,5.4,5.1,0,1.2-2.3,3.8-4.1,7Z"/>
|
||||
<path class="cls-3" d="M418.52,874.03c1.2-.7,2.4-1.1,3.7-1.1,6.8,0,9.9,6.3,9.9,12.4,0,11.5-9.9,26.3-22.7,26.3-10.4,0-14.8-7.1-14.8-16.5,0-4.1.7-8.6,1.9-13.3,4.2-17,14.4-42.2,25.3-42.2,4.9,0,7.4,4.1,7.4,10.1,0,7.1-4.5,16.1-10.7,24.3ZM412.22,881.53v-.3c-2,2-4,3.8-6,5.5-.5,2-1,5.1-1,8.6,0,4.8,1.5,10.1,5.9,10.1,6,0,10.8-8.7,10.8-15.8,0-5.8-2.1-8.4-4.7-8.4-1.7,0-2.7,1.4-3.9,1.4-.4,0-1.1-.1-1.1-1.1ZM407.92,880.63c8.3-9,14.2-19.2,14.2-24.9,0-.7-.1-1.6-1.1-1.6-2.8,0-9.2,13.7-13.1,26.5Z"/>
|
||||
<path class="cls-3" d="M442.42,883.43c-2.3-2.1-3.9-4.7-3.9-7.9,0-4,2.4-7.3,5.7-7.3,2.5,0,4.3,2.3,4.3,6,0,1.6-.2,3.3-.6,5.2h.9c2.9,0,6.6-1,8.2-2.2,1-.8,1.8-1.1,2.4-1.1,1.6,0,3.9,2.1,3.9,4.6,0,1.5-.8,3-2,4.9-2.3,3.7-5.6,9.2-5.6,14.2,0,1.9,1.1,2.8,2.3,2.8,1.4,0,4.1-.3,10.9-10,.4-.6,1-.9,1.5-.9.7,0,1.3.6,1.3,1.5,0,.5-.1,1-.5,1.7-7.5,13.5-13.1,16.7-18.5,16.7-5,0-8.7-3.5-8.7-8.7,0-4.8,4.1-11.2,7.3-15.1-1.8-.4-3.5-1.1-5.1-1.9-3.2,9.8-8.7,20.1-10.7,21.7-.8.6-1.5.8-2.7.8-2.4,0-4.7-2-4.7-4.4,0-.4.3-.9.8-1.2,5-3.4,11.4-13.2,13.5-19.4Z"/>
|
||||
<path class="cls-3" d="M501.92,892.63c.4-.6,1-.9,1.5-.9.7,0,1.3.6,1.3,1.5,0,.5-.1,1-.5,1.7-7.5,13.5-17.1,16.7-23.7,16.7s-14-4.7-14-14.3c0-12.1,10.3-24.4,21.4-24.4,6.3,0,9.9,3.9,9.9,8.4,0,6.8-7.8,13.4-19.8,14.9.6,4.2,2.6,7.4,7.1,7.4,3.3,0,10-1.3,16.8-11ZM477.82,892.23c5.7-1.5,11.1-6.3,11.1-11.5,0-2.1-1.1-3-2.1-3-3.6,0-8.4,7.4-9,14.5Z"/>
|
||||
<path class="cls-3" d="M517.82,878.93c0,1.8-.9,2.8-2.4,5.6-3,5.7-4.4,10.9-4.4,14.3,0,3,1.3,4.1,2.7,4.1,1.9,0,4.9-.6,11.7-10.3.4-.6,1-.9,1.5-.9.7,0,1.3.6,1.3,1.5,0,.5-.1,1-.5,1.7-7.5,13.5-14.2,16.7-19.4,16.7-5.9,0-8.7-5.1-8.7-11.3,0-4.6,1.4-11,3.4-16,2.5-6.2,5.4-11.4,9.1-11.4s5.7,2.7,5.7,6ZM511.92,861.53c0-4.5,3.9-8.1,8.6-8.1s6.7,3.4,6.7,6.3c0,4.5-4.2,7.6-8.9,7.6-3.6,0-6.4-2.4-6.4-5.8Z"/>
|
||||
<path class="cls-3" d="M545.72,864.23c-1.8,3.1-3.9,7.4-5.7,12.3,1.9-.5,3.6-1,5.1-1.7,4.4-2.1,4.8-3.8,5.7-3.8,1.1,0,2.5,1.3,2.5,4,0,4.7-3.6,9.1-15.8,9.5-1,4-1.7,8.2-1.7,12.2,0,4.4,1.2,6.8,3.4,6.8,1.9,0,5.5-1.2,12.3-10.9.4-.6,1-.9,1.5-.9.7,0,1.3.6,1.3,1.5,0,.5-.1,1-.5,1.7-7.5,13.5-13.9,16.7-20,16.7s-9.3-5-9.3-12c0-2.4.3-6.2,1.1-10,.4-1.9.9-4.1,1.5-6.3-2.4-1.1-4.1-3.1-4.1-5.2,0-.7.3-1.3.8-1.3.7,0,1.8.9,4.7.9h.2c1.8-5.8,4-11.6,6.4-16.2,3.2-6.1,5.8-9.4,9.3-9.4,2.3,0,5.4,1.8,5.4,5.1,0,1.2-2.3,3.8-4.1,7Z"/>
|
||||
<path class="cls-3" d="M549.12,897.33c0-12.1,10.3-24.4,21.4-24.4,6.3,0,9.9,3.9,9.9,8.4,0,6.8-7.8,13.4-19.8,14.9.8,4.1,3.3,7.1,8,7.1,4.2,0,7.2-2.1,9.2-4,1.6-1.5,2.5-3.1,3.3-3.1.7,0,1.3.6,1.3,1.5,0,3.8-6.8,13.9-19.3,13.9-6.8,0-14-4.7-14-14.3ZM560.42,892.23c5.7-1.5,11.1-6.3,11.1-11.5,0-2.1-1.1-3-2.1-3-3.6,0-8.4,7.4-9,14.5Z"/>
|
||||
<path class="cls-3" d="M664.72,894.93c0,14.3-14.1,25.9-32.7,25.9-16.7,0-26.9-9.5-26.9-19.6,0-6.7,4.6-12.3,11.1-12.3,3.9,0,6.9,2.6,6.9,4.5s-3.2,3.5-3.2,8.9c0,6.6,5.2,12.7,14.7,12.7,8.9,0,15.8-5.9,15.8-14.3,0-16.8-30-18.6-30-38,0-13.1,14.1-23.1,30.7-23.1,10,0,19.3,3.8,19.3,12.1,0,7.7-7.6,11-13.4,11-4.9,0-7.1-1.9-7.1-3.5,0-.5.3-.9.8-1,4-1.2,6.3-3.3,6.3-6.7,0-3.8-3.5-5.9-7.8-5.9-6.7,0-14.6,4.3-14.6,12.3,0,15.2,30.1,16.6,30.1,37Z"/>
|
||||
<path class="cls-3" d="M691.11,864.23c-1.8,3.1-3.9,7.4-5.7,12.3,1.9-.5,3.6-1,5.1-1.7,4.4-2.1,4.8-3.8,5.7-3.8,1.1,0,2.5,1.3,2.5,4,0,4.7-3.6,9.1-15.8,9.5-1,4-1.7,8.2-1.7,12.2,0,4.4,1.2,6.8,3.4,6.8,1.9,0,5.5-1.2,12.3-10.9.4-.6,1-.9,1.5-.9.7,0,1.3.6,1.3,1.5,0,.5-.1,1-.5,1.7-7.5,13.5-13.9,16.7-20,16.7s-9.3-5-9.3-12c0-2.4.3-6.2,1.1-10,.4-1.9.9-4.1,1.5-6.3-2.4-1.1-4.1-3.1-4.1-5.2,0-.7.3-1.3.8-1.3.7,0,1.8.9,4.7.9h.2c1.8-5.8,4-11.6,6.4-16.2,3.2-6.1,5.8-9.4,9.3-9.4,2.3,0,5.4,1.8,5.4,5.1,0,1.2-2.3,3.8-4.1,7Z"/>
|
||||
<path class="cls-3" d="M729.91,892.63c.4-.6,1-.9,1.5-.9.7,0,1.3.6,1.3,1.5,0,.5-.1,1-.5,1.7-7.5,13.5-17.1,16.7-23.7,16.7s-14-4.7-14-14.3c0-12.1,10.3-24.4,21.4-24.4,6.3,0,9.9,3.9,9.9,8.4,0,6.8-7.8,13.4-19.8,14.9.6,4.2,2.6,7.4,7.1,7.4,3.3,0,10-1.3,16.8-11ZM705.81,892.23c5.7-1.5,11.1-6.3,11.1-11.5,0-2.1-1.1-3-2.1-3-3.6,0-8.4,7.4-9,14.5Z"/>
|
||||
<path class="cls-3" d="M741.81,903.13c2.9,0,3.8-2.6,4.9-2.6.7,0,1,.6,1,1.5,0,2.6-3.7,9.6-11.4,9.6-6,0-8.7-5.1-8.7-11.3,0-4.6,1.4-11,3.4-16,2.5-6.2,5.4-11.4,9.1-11.4s5.7,2.7,5.7,6c0,1.8-.9,2.8-2.4,5.6-3,5.7-4.4,10.9-4.4,14.3,0,3,1.3,4.3,2.8,4.3ZM739.91,861.53c0-4.5,3.9-8.1,8.6-8.1s6.7,3.4,6.7,6.3c0,4.5-4.2,7.6-8.9,7.6-3.6,0-6.4-2.4-6.4-5.8Z"/>
|
||||
</g>
|
||||
<rect class="cls-3" x="166.56" y="427.59" width="17.53" height="45.91"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 13 KiB |
@@ -0,0 +1,179 @@
|
||||
---
|
||||
// Navigation items for the theater homepage sections
|
||||
const navItems = [
|
||||
{ id: 'projekt', label_de: 'Das Projekt', label_en: 'The Project' },
|
||||
{ id: 'team', label_de: 'Wer steckt dahinter', label_en: 'Who\'s Behind It' },
|
||||
{ id: 'stueck', label_de: 'Das Stück', label_en: 'The Play' },
|
||||
{ id: 'mitwirkung', label_de: 'Mitwirkung', label_en: 'Participation' },
|
||||
{ id: 'termine', label_de: 'Termine', label_en: 'Schedule' },
|
||||
{ id: 'presse', label_de: 'Presse', label_en: 'Press' },
|
||||
{ id: 'gallery', label_de: 'Galerie', label_en: 'Gallery' },
|
||||
{ id: 'tickets', label_de: 'Tickets', label_en: 'Tickets' },
|
||||
];
|
||||
---
|
||||
|
||||
<nav class="anchor-nav" id="anchor-nav">
|
||||
<div class="nav-container">
|
||||
<ul class="nav-list">
|
||||
{navItems.map((item) => (
|
||||
<li class="nav-item">
|
||||
<a
|
||||
href={`#${item.id}`}
|
||||
class="nav-link"
|
||||
data-section={item.id}
|
||||
>
|
||||
<span class="nav-label-de" data-lang="de">{item.label_de}</span>
|
||||
<span class="nav-label-en" data-lang="en">{item.label_en}</span>
|
||||
</a>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<script>
|
||||
// Smooth scroll to sections
|
||||
document.querySelectorAll('.nav-link').forEach(link => {
|
||||
link.addEventListener('click', (e) => {
|
||||
e.preventDefault();
|
||||
const targetId = link.getAttribute('href');
|
||||
if (targetId) {
|
||||
const targetSection = document.querySelector(targetId);
|
||||
if (targetSection) {
|
||||
const navHeight = document.querySelector('.anchor-nav')?.clientHeight || 0;
|
||||
const targetPosition = targetSection.getBoundingClientRect().top + window.scrollY - navHeight - 20;
|
||||
window.scrollTo({
|
||||
top: targetPosition,
|
||||
behavior: 'smooth'
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
// Highlight active section on scroll
|
||||
const observerOptions = {
|
||||
root: null,
|
||||
rootMargin: '-20% 0px -70% 0px',
|
||||
threshold: 0
|
||||
};
|
||||
|
||||
const observer = new IntersectionObserver((entries) => {
|
||||
entries.forEach(entry => {
|
||||
if (entry.isIntersecting) {
|
||||
const sectionId = entry.target.getAttribute('id');
|
||||
document.querySelectorAll('.nav-link').forEach(link => {
|
||||
link.classList.remove('active');
|
||||
if (link.getAttribute('data-section') === sectionId) {
|
||||
link.classList.add('active');
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}, observerOptions);
|
||||
|
||||
// Observe all sections
|
||||
document.querySelectorAll('.theater-section').forEach(section => {
|
||||
observer.observe(section);
|
||||
});
|
||||
|
||||
// Make nav sticky on scroll
|
||||
let lastScroll = 0;
|
||||
const nav = document.querySelector('.anchor-nav');
|
||||
|
||||
window.addEventListener('scroll', () => {
|
||||
const currentScroll = window.scrollY;
|
||||
|
||||
if (currentScroll > 400) {
|
||||
nav?.classList.add('sticky');
|
||||
} else {
|
||||
nav?.classList.remove('sticky');
|
||||
}
|
||||
|
||||
lastScroll = currentScroll;
|
||||
});
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.anchor-nav {
|
||||
background: #2b2b56;
|
||||
padding: 1rem 0;
|
||||
transition: all 0.3s ease;
|
||||
z-index: 100;
|
||||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.anchor-nav.sticky {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.nav-container {
|
||||
max-width: var(--max-width);
|
||||
margin: 0 auto;
|
||||
padding: 0 var(--spacing-md);
|
||||
}
|
||||
|
||||
.nav-list {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.nav-item {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
display: block;
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
padding: 0.5rem 1rem;
|
||||
border-radius: 4px;
|
||||
transition: all 0.3s ease;
|
||||
font-size: 0.95rem;
|
||||
font-weight: 500;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.nav-link:hover {
|
||||
background: rgba(255, 255, 255, 0.2);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.nav-link.active {
|
||||
background: rgba(255, 255, 255, 0.3);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
/* Language-specific labels */
|
||||
:global([data-language="de"]) .nav-label-en,
|
||||
:global([data-language="en"]) .nav-label-de {
|
||||
display: none;
|
||||
}
|
||||
|
||||
:global([data-language="de"]) .nav-label-de,
|
||||
:global([data-language="en"]) .nav-label-en {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.nav-list {
|
||||
gap: 0.25rem;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
padding: 0.4rem 0.75rem;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.anchor-nav {
|
||||
padding: 0.75rem 0;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,97 @@
|
||||
---
|
||||
interface Props {
|
||||
currentLang: 'de' | 'en';
|
||||
}
|
||||
|
||||
const { currentLang } = Astro.props;
|
||||
---
|
||||
|
||||
<div class="language-switcher">
|
||||
<button
|
||||
class="lang-btn"
|
||||
data-lang="de"
|
||||
data-active={currentLang === 'de'}
|
||||
>
|
||||
DE
|
||||
</button>
|
||||
<span class="separator">|</span>
|
||||
<button
|
||||
class="lang-btn"
|
||||
data-lang="en"
|
||||
data-active={currentLang === 'en'}
|
||||
>
|
||||
EN
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
// Initialize language from localStorage or default to 'de'
|
||||
let currentLanguage = localStorage.getItem('language') || 'de';
|
||||
|
||||
// Apply language on page load
|
||||
document.documentElement.setAttribute('data-language', currentLanguage);
|
||||
updateActiveButton();
|
||||
|
||||
// Add click handlers to language buttons
|
||||
document.querySelectorAll('.lang-btn').forEach(button => {
|
||||
button.addEventListener('click', (e) => {
|
||||
const target = e.target as HTMLElement;
|
||||
const lang = target.getAttribute('data-lang');
|
||||
if (lang) {
|
||||
currentLanguage = lang;
|
||||
localStorage.setItem('language', lang);
|
||||
document.documentElement.setAttribute('data-language', lang);
|
||||
updateActiveButton();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
function updateActiveButton() {
|
||||
document.querySelectorAll('.lang-btn').forEach(btn => {
|
||||
const btnLang = btn.getAttribute('data-lang');
|
||||
btn.setAttribute('data-active', (btnLang === currentLanguage).toString());
|
||||
});
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.language-switcher {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.lang-btn {
|
||||
background: none;
|
||||
border: none;
|
||||
color: white;
|
||||
font-size: 1rem;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
padding: 0.5rem;
|
||||
transition: all 0.3s ease;
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.lang-btn:hover {
|
||||
opacity: 1;
|
||||
transform: scale(1.1);
|
||||
}
|
||||
|
||||
.lang-btn[data-active="true"] {
|
||||
opacity: 1;
|
||||
font-weight: 700;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.separator {
|
||||
color: white;
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.lang-btn {
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,87 @@
|
||||
---
|
||||
interface Props {
|
||||
images: string[];
|
||||
}
|
||||
|
||||
const { images } = Astro.props;
|
||||
---
|
||||
|
||||
{images && images.length > 0 ? (
|
||||
<div class="photo-gallery">
|
||||
{images.map((image) => (
|
||||
<div class="gallery-item">
|
||||
<img src={image} alt="Theater photo" loading="lazy" />
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
) : (
|
||||
<div class="placeholder">
|
||||
<p class="placeholder-de" data-lang="de">Fotos werden bald hinzugefügt. Besuchen Sie uns später wieder!</p>
|
||||
<p class="placeholder-en" data-lang="en">Photos will be added soon. Check back later!</p>
|
||||
</div>
|
||||
)}
|
||||
|
||||
<style>
|
||||
.photo-gallery {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
||||
gap: var(--spacing-md);
|
||||
margin-top: var(--spacing-lg);
|
||||
}
|
||||
|
||||
.gallery-item {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
|
||||
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
||||
aspect-ratio: 4 / 3;
|
||||
}
|
||||
|
||||
.gallery-item:hover {
|
||||
transform: translateY(-5px);
|
||||
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.gallery-item img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.gallery-item:hover img {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.placeholder {
|
||||
text-align: center;
|
||||
padding: var(--spacing-xl);
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
border-radius: 8px;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.placeholder p {
|
||||
margin: 0;
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
/* Language-specific placeholders */
|
||||
:global([data-language="de"]) .placeholder-en,
|
||||
:global([data-language="en"]) .placeholder-de {
|
||||
display: none;
|
||||
}
|
||||
|
||||
:global([data-language="de"]) .placeholder-de,
|
||||
:global([data-language="en"]) .placeholder-en {
|
||||
display: block;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.photo-gallery {
|
||||
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
||||
gap: var(--spacing-sm);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,84 @@
|
||||
---
|
||||
interface Props {
|
||||
id: string;
|
||||
titleDe: string;
|
||||
titleEn: string;
|
||||
variant?: 'light' | 'dark';
|
||||
}
|
||||
|
||||
const { id, titleDe, titleEn, variant = 'light' } = Astro.props;
|
||||
---
|
||||
|
||||
<section class={`theater-section ${variant}`} id={id}>
|
||||
<div class="container">
|
||||
<h2 class="section-title">
|
||||
<span class="title-de" data-lang="de">{titleDe}</span>
|
||||
<span class="title-en" data-lang="en">{titleEn}</span>
|
||||
</h2>
|
||||
<div class="section-content">
|
||||
<slot />
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<style>
|
||||
.theater-section {
|
||||
padding: var(--spacing-xl) var(--spacing-md);
|
||||
scroll-margin-top: 100px;
|
||||
}
|
||||
|
||||
.theater-section.light {
|
||||
background: #3d3d6f;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.theater-section.dark {
|
||||
background: #2b2b56;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: var(--max-width);
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
font-family: 'Great Vibes', cursive;
|
||||
font-size: 3.5rem;
|
||||
margin-bottom: var(--spacing-lg);
|
||||
text-align: center;
|
||||
font-weight: 400;
|
||||
color: white;
|
||||
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.section-content {
|
||||
font-size: 1.1rem;
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
/* Language-specific titles */
|
||||
:global([data-language="de"]) .title-en,
|
||||
:global([data-language="en"]) .title-de {
|
||||
display: none;
|
||||
}
|
||||
|
||||
:global([data-language="de"]) .title-de,
|
||||
:global([data-language="en"]) .title-en {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.theater-section {
|
||||
padding: var(--spacing-lg) var(--spacing-sm);
|
||||
}
|
||||
|
||||
.section-title {
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
|
||||
.section-content {
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -8,32 +8,26 @@ const { title, description = "Theater Ziefen - Coming 2029" } = Astro.props;
|
||||
---
|
||||
|
||||
<!doctype html>
|
||||
<html lang="de">
|
||||
<html lang="de" data-language="de">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="description" content={description} />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<meta name="generator" content={Astro.generator} />
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap" rel="stylesheet">
|
||||
<title>{title} | Theater Ziefen</title>
|
||||
<script is:inline>
|
||||
// Set language immediately before page renders
|
||||
(function() {
|
||||
const savedLang = localStorage.getItem('language') || 'de';
|
||||
document.documentElement.setAttribute('data-language', savedLang);
|
||||
})();
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<header class="header">
|
||||
<div class="container">
|
||||
<nav class="nav">
|
||||
<a href="/" class="logo">
|
||||
<h1>Theater Ziefen</h1>
|
||||
</a>
|
||||
<ul class="nav-links">
|
||||
<li><a href="/">Home</a></li>
|
||||
<li><a href="/blog">Blog</a></li>
|
||||
<li><a href="/about">About</a></li>
|
||||
<li><a href="/contact">Contact</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="main">
|
||||
<slot />
|
||||
</main>
|
||||
@@ -47,13 +41,13 @@ const { title, description = "Theater Ziefen - Coming 2029" } = Astro.props;
|
||||
|
||||
<style>
|
||||
:root {
|
||||
--color-primary: #8b0000;
|
||||
--color-secondary: #2c3e50;
|
||||
--color-accent: #c0392b;
|
||||
--color-primary: #2b2b56;
|
||||
--color-secondary: #2d4a54;
|
||||
--color-accent: #f9f871;
|
||||
--color-text: #333;
|
||||
--color-text-light: #666;
|
||||
--color-bg: #ffffff;
|
||||
--color-bg-alt: #f8f9fa;
|
||||
--color-bg-alt: #fafaf5;
|
||||
--spacing-xs: 0.5rem;
|
||||
--spacing-sm: 1rem;
|
||||
--spacing-md: 2rem;
|
||||
@@ -68,11 +62,20 @@ const { title, description = "Theater Ziefen - Coming 2029" } = Astro.props;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
|
||||
color: var(--color-text);
|
||||
color: white;
|
||||
line-height: 1.6;
|
||||
background-color: var(--color-bg);
|
||||
background-color: #2b2b56;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-family: 'Great Vibes', cursive;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.container {
|
||||
@@ -81,82 +84,30 @@ const { title, description = "Theater Ziefen - Coming 2029" } = Astro.props;
|
||||
padding: 0 var(--spacing-md);
|
||||
}
|
||||
|
||||
/* Header Styles */
|
||||
.header {
|
||||
background-color: var(--color-secondary);
|
||||
color: white;
|
||||
padding: var(--spacing-sm) 0;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.nav {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.logo {
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.logo h1 {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.nav-links {
|
||||
display: flex;
|
||||
list-style: none;
|
||||
gap: var(--spacing-md);
|
||||
}
|
||||
|
||||
.nav-links a {
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
font-weight: 500;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
.nav-links a:hover {
|
||||
color: var(--color-accent);
|
||||
}
|
||||
|
||||
/* Main Content */
|
||||
.main {
|
||||
min-height: calc(100vh - 200px);
|
||||
padding: var(--spacing-lg) 0;
|
||||
}
|
||||
|
||||
/* Footer Styles */
|
||||
.footer {
|
||||
background-color: var(--color-secondary);
|
||||
background-color: #2b2b56;
|
||||
color: white;
|
||||
padding: var(--spacing-md) 0;
|
||||
text-align: center;
|
||||
margin-top: var(--spacing-xl);
|
||||
border-top: 2px solid rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.footer-tagline {
|
||||
margin-top: var(--spacing-xs);
|
||||
color: var(--color-accent);
|
||||
font-weight: 600;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
/* Responsive Design */
|
||||
@media (max-width: 768px) {
|
||||
.nav {
|
||||
flex-direction: column;
|
||||
gap: var(--spacing-sm);
|
||||
}
|
||||
|
||||
.nav-links {
|
||||
gap: var(--spacing-sm);
|
||||
}
|
||||
|
||||
.container {
|
||||
padding: 0 var(--spacing-sm);
|
||||
}
|
||||
|
||||
+599
-193
@@ -1,251 +1,657 @@
|
||||
---
|
||||
import BaseLayout from '../layouts/BaseLayout.astro';
|
||||
import LanguageSwitcher from '../components/LanguageSwitcher.astro';
|
||||
import AnchorNav from '../components/AnchorNav.astro';
|
||||
import TheaterSection from '../components/TheaterSection.astro';
|
||||
import PhotoGallery from '../components/PhotoGallery.astro';
|
||||
|
||||
const allPostFiles = import.meta.glob('../../content/blog/*.mdx', { eager: true });
|
||||
const recentPosts = Object.entries(allPostFiles).map(([path, post]) => ({
|
||||
...post,
|
||||
slug: path.split('/').pop()?.replace('.mdx', '') || ''
|
||||
}));
|
||||
const sortedPosts = recentPosts
|
||||
.sort((a, b) => new Date(b.frontmatter.date).valueOf() - new Date(a.frontmatter.date).valueOf())
|
||||
.slice(0, 3);
|
||||
// Import theater homepage content
|
||||
const theaterFiles = import.meta.glob('../../content/theater/*.mdx', { eager: true });
|
||||
const theaterHomepage = Object.values(theaterFiles)[0] as any;
|
||||
const content = theaterHomepage?.frontmatter || {};
|
||||
|
||||
// Helper function to render rich-text content
|
||||
function renderRichText(richText: any, lang: 'de' | 'en'): string {
|
||||
if (!richText || !richText.children) return '';
|
||||
|
||||
let html = '';
|
||||
richText.children.forEach((child: any) => {
|
||||
if (child.type === 'p') {
|
||||
html += '<p>';
|
||||
child.children.forEach((textNode: any) => {
|
||||
if (textNode.type === 'text') {
|
||||
html += textNode.text;
|
||||
}
|
||||
});
|
||||
html += '</p>';
|
||||
} else if (child.type === 'h3') {
|
||||
html += '<h3>';
|
||||
child.children.forEach((textNode: any) => {
|
||||
if (textNode.type === 'text') {
|
||||
html += textNode.text;
|
||||
}
|
||||
});
|
||||
html += '</h3>';
|
||||
}
|
||||
});
|
||||
|
||||
return html;
|
||||
}
|
||||
---
|
||||
|
||||
<BaseLayout title="Home">
|
||||
<BaseLayout title={content.title || 'Freilichttheater Ziefen 2028'}>
|
||||
<!-- Hero Section -->
|
||||
<div class="hero">
|
||||
<div class="container">
|
||||
<h1 class="hero-title">Theater Ziefen</h1>
|
||||
<p class="hero-subtitle">An Unforgettable Theatrical Experience</p>
|
||||
<p class="hero-date">Coming 2029</p>
|
||||
<div class="hero-cta">
|
||||
<a href="/about" class="btn btn-primary">Learn More</a>
|
||||
<a href="/blog" class="btn btn-secondary">Latest Updates</a>
|
||||
<div class="hero-wrapper">
|
||||
<div class="hero-language">
|
||||
<LanguageSwitcher currentLang="de" />
|
||||
</div>
|
||||
|
||||
<img src="/logo.svg" alt="Theater Ziefen Logo" class="hero-logo" />
|
||||
|
||||
<div class="hero-content">
|
||||
<h1 class="hero-title">
|
||||
<span class="title-de" data-lang="de">{content.hero?.title_de || 'Freilichttheater in Ziefen'}</span>
|
||||
<span class="title-en" data-lang="en">{content.hero?.title_en || 'Open-Air Theater in Ziefen'}</span>
|
||||
</h1>
|
||||
<p class="hero-subtitle">
|
||||
<span class="subtitle-de" data-lang="de">{content.hero?.subtitle_de || ''}</span>
|
||||
<span class="subtitle-en" data-lang="en">{content.hero?.subtitle_en || ''}</span>
|
||||
</p>
|
||||
<div class="hero-year">2028</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<section class="intro">
|
||||
<div class="container">
|
||||
<h2>Welcome to Theater Ziefen</h2>
|
||||
<p>
|
||||
We are excited to bring you an exceptional theatrical production in 2029.
|
||||
This website will be your hub for all updates, news, and information about
|
||||
our upcoming show.
|
||||
</p>
|
||||
<p>
|
||||
Stay connected with us through our blog, where we'll share behind-the-scenes
|
||||
insights, production updates, and announcements about ticket sales when they
|
||||
become available.
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
<!-- Anchor Navigation -->
|
||||
<AnchorNav />
|
||||
|
||||
{sortedPosts.length > 0 && (
|
||||
<section class="recent-posts">
|
||||
<div class="container">
|
||||
<h2>Latest Updates</h2>
|
||||
<div class="posts-grid">
|
||||
{sortedPosts.map((post) => (
|
||||
<article class="post-card">
|
||||
<h3>
|
||||
<a href={`/blog/${post.slug}`}>
|
||||
{post.frontmatter.title}
|
||||
</a>
|
||||
</h3>
|
||||
<p class="post-date">
|
||||
{new Date(post.frontmatter.date).toLocaleDateString('de-DE', {
|
||||
year: 'numeric',
|
||||
month: 'long',
|
||||
day: 'numeric'
|
||||
})}
|
||||
</p>
|
||||
<p class="post-excerpt">{post.frontmatter.excerpt}</p>
|
||||
<a href={`/blog/${post.slug}`} class="read-more">
|
||||
Read more →
|
||||
</a>
|
||||
</article>
|
||||
))}
|
||||
</div>
|
||||
<div class="view-all">
|
||||
<a href="/blog" class="btn btn-secondary">View All Posts</a>
|
||||
</div>
|
||||
<!-- Section 1: Das Projekt -->
|
||||
<TheaterSection
|
||||
id="projekt"
|
||||
titleDe={content.projekt?.title_de || 'Das Projekt'}
|
||||
titleEn={content.projekt?.title_en || 'The Project'}
|
||||
variant="light"
|
||||
>
|
||||
<div class="content-de" data-lang="de" set:html={renderRichText(content.projekt?.content_de, 'de')} />
|
||||
<div class="content-en" data-lang="en" set:html={renderRichText(content.projekt?.content_en, 'en')} />
|
||||
</TheaterSection>
|
||||
|
||||
<!-- Section 2: Wer steckt dahinter -->
|
||||
<TheaterSection
|
||||
id="team"
|
||||
titleDe={content.team?.title_de || 'Wer steckt dahinter'}
|
||||
titleEn={content.team?.title_en || "Who's Behind It"}
|
||||
variant="dark"
|
||||
>
|
||||
<div class="content-de" data-lang="de" set:html={renderRichText(content.team?.content_de, 'de')} />
|
||||
<div class="content-en" data-lang="en" set:html={renderRichText(content.team?.content_en, 'en')} />
|
||||
|
||||
{content.team?.organizations && content.team.organizations.length > 0 && (
|
||||
<div class="organizations">
|
||||
{content.team.organizations.map((org: any) => (
|
||||
<div class="org-card">
|
||||
<h3>{org.name}</h3>
|
||||
<p class="org-role-de" data-lang="de">{org.role_de}</p>
|
||||
<p class="org-role-en" data-lang="en">{org.role_en}</p>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</section>
|
||||
)}
|
||||
)}
|
||||
</TheaterSection>
|
||||
|
||||
<!-- Section 3: Das Stück -->
|
||||
<TheaterSection
|
||||
id="stueck"
|
||||
titleDe={content.stueck?.title_de || 'Das Stück'}
|
||||
titleEn={content.stueck?.title_en || 'The Play'}
|
||||
variant="light"
|
||||
>
|
||||
<div class="content-de" data-lang="de" set:html={renderRichText(content.stueck?.content_de, 'de')} />
|
||||
<div class="content-en" data-lang="en" set:html={renderRichText(content.stueck?.content_en, 'en')} />
|
||||
</TheaterSection>
|
||||
|
||||
<!-- Section 4: Mitwirkung -->
|
||||
<TheaterSection
|
||||
id="mitwirkung"
|
||||
titleDe={content.mitwirkung?.title_de || 'Mitwirkung im Schauspiel'}
|
||||
titleEn={content.mitwirkung?.title_en || 'Participation in the Play'}
|
||||
variant="dark"
|
||||
>
|
||||
<div class="content-de" data-lang="de" set:html={renderRichText(content.mitwirkung?.content_de, 'de')} />
|
||||
<div class="content-en" data-lang="en" set:html={renderRichText(content.mitwirkung?.content_en, 'en')} />
|
||||
|
||||
{content.mitwirkung?.director_name && (
|
||||
<div class="director-contact">
|
||||
<h3>
|
||||
<span data-lang="de">Kontakt Regisseur:</span>
|
||||
<span data-lang="en">Contact Director:</span>
|
||||
</h3>
|
||||
<p><strong>{content.mitwirkung.director_name}</strong></p>
|
||||
{content.mitwirkung.director_email && (
|
||||
<p>
|
||||
<span data-lang="de">E-Mail:</span>
|
||||
<span data-lang="en">Email:</span>
|
||||
{' '}
|
||||
<a href={`mailto:${content.mitwirkung.director_email}`}>{content.mitwirkung.director_email}</a>
|
||||
</p>
|
||||
)}
|
||||
{content.mitwirkung.director_phone && (
|
||||
<p>
|
||||
<span data-lang="de">Telefon:</span>
|
||||
<span data-lang="en">Phone:</span>
|
||||
{' '}
|
||||
<a href={`tel:${content.mitwirkung.director_phone}`}>{content.mitwirkung.director_phone}</a>
|
||||
</p>
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
</TheaterSection>
|
||||
|
||||
<!-- Section 5: Termine -->
|
||||
<TheaterSection
|
||||
id="termine"
|
||||
titleDe={content.termine?.title_de || 'Termine'}
|
||||
titleEn={content.termine?.title_en || 'Schedule'}
|
||||
variant="light"
|
||||
>
|
||||
<div class="map-subtitle">
|
||||
<span data-lang="de">Weite Wege mit Breitenstein</span>
|
||||
<span data-lang="en">Long Paths with Breitenstein</span>
|
||||
</div>
|
||||
{content.termine?.events && content.termine.events.length > 0 && (
|
||||
<div class="journey-map">
|
||||
<svg class="journey-path" viewBox="0 0 1000 1000" preserveAspectRatio="xMidYMid meet">
|
||||
<path
|
||||
d="M 50,30 C 150,80 350,150 550,200 S 350,290 100,380 S 300,470 600,560 S 350,670 150,740 S 350,850 550,920"
|
||||
fill="none"
|
||||
stroke="var(--color-accent)"
|
||||
stroke-width="4"
|
||||
stroke-dasharray="15,10"
|
||||
opacity="0.7"
|
||||
/>
|
||||
</svg>
|
||||
{content.termine.events.map((event: any, index: number) => (
|
||||
<div class="journey-stop" style={`--stop-index: ${index}`} data-stop={index + 1}>
|
||||
<div class="journey-marker">
|
||||
<div class="marker-pin"></div>
|
||||
<div class="marker-label">{event.date}</div>
|
||||
</div>
|
||||
<div class="journey-card">
|
||||
<h3 class="event-title">
|
||||
<span class="event-title-de" data-lang="de">{event.title_de}</span>
|
||||
<span class="event-title-en" data-lang="en">{event.title_en}</span>
|
||||
</h3>
|
||||
<p class="event-desc-de" data-lang="de">{event.description_de}</p>
|
||||
<p class="event-desc-en" data-lang="en">{event.description_en}</p>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
)}
|
||||
</TheaterSection>
|
||||
|
||||
<!-- Section 6: Presse -->
|
||||
<TheaterSection
|
||||
id="presse"
|
||||
titleDe={content.presse?.title_de || 'Presse'}
|
||||
titleEn={content.presse?.title_en || 'Press'}
|
||||
variant="dark"
|
||||
>
|
||||
<div class="content-de" data-lang="de" set:html={renderRichText(content.presse?.content_de, 'de')} />
|
||||
<div class="content-en" data-lang="en" set:html={renderRichText(content.presse?.content_en, 'en')} />
|
||||
</TheaterSection>
|
||||
|
||||
<!-- Section 7: Foto Galerie -->
|
||||
<TheaterSection
|
||||
id="gallery"
|
||||
titleDe={content.gallery?.title_de || 'Foto Galerie'}
|
||||
titleEn={content.gallery?.title_en || 'Photo Gallery'}
|
||||
variant="light"
|
||||
>
|
||||
<PhotoGallery images={content.gallery?.images || []} />
|
||||
</TheaterSection>
|
||||
|
||||
<!-- Section 8: Tickets -->
|
||||
<TheaterSection
|
||||
id="tickets"
|
||||
titleDe={content.tickets?.title_de || 'Tickets'}
|
||||
titleEn={content.tickets?.title_en || 'Tickets'}
|
||||
variant="dark"
|
||||
>
|
||||
<div class="content-de" data-lang="de" set:html={renderRichText(content.tickets?.content_de, 'de')} />
|
||||
<div class="content-en" data-lang="en" set:html={renderRichText(content.tickets?.content_en, 'en')} />
|
||||
|
||||
{content.tickets?.ticket_url && (
|
||||
<div class="ticket-cta">
|
||||
<a href={content.tickets.ticket_url} class="btn btn-primary" target="_blank" rel="noopener noreferrer">
|
||||
<span data-lang="de">Tickets kaufen</span>
|
||||
<span data-lang="en">Buy Tickets</span>
|
||||
</a>
|
||||
</div>
|
||||
)}
|
||||
</TheaterSection>
|
||||
</BaseLayout>
|
||||
|
||||
<style>
|
||||
/* Hero Section */
|
||||
.hero {
|
||||
background: linear-gradient(135deg, #2c3e50 0%, #8b0000 100%);
|
||||
background: #2b2b56;
|
||||
color: white;
|
||||
padding: 6rem 0;
|
||||
text-align: center;
|
||||
padding: 3rem 0 6rem;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
min-height: 500px;
|
||||
}
|
||||
|
||||
.hero-wrapper {
|
||||
position: relative;
|
||||
min-height: 400px;
|
||||
}
|
||||
|
||||
.hero-language {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.hero-logo {
|
||||
position: absolute;
|
||||
top: -40px;
|
||||
right: -60px;
|
||||
height: 500px;
|
||||
width: auto;
|
||||
opacity: 0.95;
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
.hero-content {
|
||||
position: relative;
|
||||
z-index: 8;
|
||||
max-width: 850px;
|
||||
padding-top: 4rem;
|
||||
padding-left: 3rem;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.hero-title {
|
||||
font-size: 3.5rem;
|
||||
font-weight: 800;
|
||||
margin-bottom: 1rem;
|
||||
font-size: 4.5rem;
|
||||
font-weight: 400;
|
||||
margin-bottom: 1.5rem;
|
||||
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.hero-subtitle {
|
||||
font-size: 1.5rem;
|
||||
margin-bottom: 0.5rem;
|
||||
font-size: 1.3rem;
|
||||
line-height: 1.6;
|
||||
margin-bottom: 2rem;
|
||||
opacity: 0.95;
|
||||
}
|
||||
|
||||
.hero-date {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
color: #ffd700;
|
||||
margin-bottom: 2rem;
|
||||
.hero-year {
|
||||
font-family: 'Great Vibes', cursive;
|
||||
font-size: 6rem;
|
||||
font-weight: 400;
|
||||
color: var(--color-accent);
|
||||
text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.hero-cta {
|
||||
/* Language-specific content */
|
||||
:global([data-language="de"]) .title-en,
|
||||
:global([data-language="de"]) .subtitle-en,
|
||||
:global([data-language="de"]) .content-en,
|
||||
:global([data-language="de"]) .org-role-en,
|
||||
:global([data-language="de"]) .event-title-en,
|
||||
:global([data-language="de"]) .event-desc-en,
|
||||
:global([data-language="de"]) [data-lang="en"] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
:global([data-language="en"]) .title-de,
|
||||
:global([data-language="en"]) .subtitle-de,
|
||||
:global([data-language="en"]) .content-de,
|
||||
:global([data-language="en"]) .org-role-de,
|
||||
:global([data-language="en"]) .event-title-de,
|
||||
:global([data-language="en"]) .event-desc-de,
|
||||
:global([data-language="en"]) [data-lang="de"] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Organizations Grid */
|
||||
.organizations {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
||||
gap: var(--spacing-md);
|
||||
margin-top: var(--spacing-lg);
|
||||
}
|
||||
|
||||
.org-card {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
padding: var(--spacing-md);
|
||||
border-radius: 8px;
|
||||
text-align: center;
|
||||
transition: transform 0.3s ease, background 0.3s ease;
|
||||
}
|
||||
|
||||
.org-card:hover {
|
||||
transform: translateY(-5px);
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
}
|
||||
|
||||
.org-card h3 {
|
||||
font-family: 'Great Vibes', cursive;
|
||||
font-size: 2rem;
|
||||
margin-bottom: 0.5rem;
|
||||
color: white;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.org-card p {
|
||||
margin: 0;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
/* Director Contact */
|
||||
.director-contact {
|
||||
margin-top: var(--spacing-lg);
|
||||
padding: var(--spacing-md);
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
border-radius: 8px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.director-contact h3 {
|
||||
font-family: 'Great Vibes', cursive;
|
||||
font-size: 2rem;
|
||||
color: white;
|
||||
margin-bottom: 1rem;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.director-contact a {
|
||||
color: var(--color-accent);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.director-contact a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* Journey Map */
|
||||
.map-subtitle {
|
||||
font-family: 'Great Vibes', cursive;
|
||||
font-size: 2.5rem;
|
||||
text-align: center;
|
||||
color: var(--color-accent);
|
||||
margin-bottom: var(--spacing-lg);
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.journey-map {
|
||||
position: relative;
|
||||
margin-top: var(--spacing-xl);
|
||||
padding: 2rem 0;
|
||||
min-height: 1400px;
|
||||
}
|
||||
|
||||
.journey-path {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 1;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.journey-stop {
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
align-items: flex-start;
|
||||
gap: 3rem;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.journey-stop[data-stop="2"],
|
||||
.journey-stop[data-stop="3"],
|
||||
.journey-stop[data-stop="5"],
|
||||
.journey-stop[data-stop="6"] {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/* Position stops in structured layout - path will follow these */
|
||||
.journey-stop[data-stop="1"] {
|
||||
top: 3%;
|
||||
left: 5%;
|
||||
}
|
||||
|
||||
.journey-stop[data-stop="2"] {
|
||||
top: 20%;
|
||||
left: 55%;
|
||||
flex-direction: row-reverse;
|
||||
}
|
||||
|
||||
.journey-stop[data-stop="3"] {
|
||||
top: 38%;
|
||||
left: 10%;
|
||||
}
|
||||
|
||||
.journey-stop[data-stop="4"] {
|
||||
top: 56%;
|
||||
left: 60%;
|
||||
flex-direction: row-reverse;
|
||||
}
|
||||
|
||||
.journey-stop[data-stop="5"] {
|
||||
top: 74%;
|
||||
left: 15%;
|
||||
}
|
||||
|
||||
.journey-stop[data-stop="6"] {
|
||||
top: 92%;
|
||||
left: 55%;
|
||||
flex-direction: row-reverse;
|
||||
}
|
||||
|
||||
.journey-marker {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
min-width: 120px;
|
||||
}
|
||||
|
||||
.marker-pin {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
background: var(--color-accent);
|
||||
border-radius: 50%;
|
||||
border: 4px solid white;
|
||||
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.marker-pin::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: -15px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-left: 10px solid transparent;
|
||||
border-right: 10px solid transparent;
|
||||
border-top: 15px solid var(--color-accent);
|
||||
}
|
||||
|
||||
.marker-label {
|
||||
margin-top: 1.5rem;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 700;
|
||||
color: var(--color-accent);
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.journey-card {
|
||||
flex: 1;
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
padding: var(--spacing-md);
|
||||
border-radius: 12px;
|
||||
backdrop-filter: blur(10px);
|
||||
border: 2px solid rgba(255, 255, 255, 0.2);
|
||||
transition: all 0.3s ease;
|
||||
max-width: 500px;
|
||||
}
|
||||
|
||||
.journey-card:hover {
|
||||
transform: translateY(-5px);
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.journey-card h3 {
|
||||
font-family: 'Great Vibes', cursive;
|
||||
font-size: 2rem;
|
||||
margin-bottom: 0.5rem;
|
||||
color: white;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.journey-card p {
|
||||
margin: 0;
|
||||
color: rgba(255, 255, 255, 0.9);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
/* Ticket CTA */
|
||||
.ticket-cta {
|
||||
margin-top: var(--spacing-lg);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.btn {
|
||||
padding: 0.75rem 2rem;
|
||||
border-radius: 4px;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
transition: all 0.3s ease;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background-color: #c0392b;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
background-color: #8b0000;
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.btn-secondary {
|
||||
background-color: white;
|
||||
color: #2c3e50;
|
||||
}
|
||||
|
||||
.btn-secondary:hover {
|
||||
background-color: #f8f9fa;
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.intro {
|
||||
padding: 4rem 0;
|
||||
background-color: #f8f9fa;
|
||||
}
|
||||
|
||||
.intro h2 {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 1.5rem;
|
||||
color: #2c3e50;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.intro p {
|
||||
font-size: 1.125rem;
|
||||
line-height: 1.8;
|
||||
max-width: 800px;
|
||||
margin: 0 auto 1rem;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.recent-posts {
|
||||
padding: 4rem 0;
|
||||
}
|
||||
|
||||
.recent-posts h2 {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 2rem;
|
||||
color: #2c3e50;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.posts-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||
gap: 2rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.post-card {
|
||||
background: white;
|
||||
padding: 2rem;
|
||||
padding: 1rem 2.5rem;
|
||||
background: var(--color-accent);
|
||||
color: var(--color-secondary);
|
||||
text-decoration: none;
|
||||
font-weight: 700;
|
||||
font-size: 1.2rem;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
||||
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
||||
transition: all 0.3s ease;
|
||||
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.post-card:hover {
|
||||
transform: translateY(-4px);
|
||||
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
|
||||
.btn:hover {
|
||||
transform: translateY(-3px);
|
||||
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
|
||||
background: #fbfa9a;
|
||||
}
|
||||
|
||||
.post-card h3 {
|
||||
font-size: 1.5rem;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.post-card h3 a {
|
||||
color: #2c3e50;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.post-card h3 a:hover {
|
||||
color: #8b0000;
|
||||
}
|
||||
|
||||
.post-date {
|
||||
color: #999;
|
||||
font-size: 0.9rem;
|
||||
/* Content Styling */
|
||||
:global(.section-content p) {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.post-excerpt {
|
||||
color: #666;
|
||||
line-height: 1.6;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.read-more {
|
||||
color: #8b0000;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.read-more:hover {
|
||||
color: #c0392b;
|
||||
}
|
||||
|
||||
.view-all {
|
||||
text-align: center;
|
||||
margin-top: 2rem;
|
||||
:global(.section-content h3) {
|
||||
font-size: 1.8rem;
|
||||
margin: 1.5rem 0 1rem;
|
||||
}
|
||||
|
||||
/* Mobile Responsiveness */
|
||||
@media (max-width: 768px) {
|
||||
.hero {
|
||||
padding: 2rem 0 4rem;
|
||||
min-height: 400px;
|
||||
}
|
||||
|
||||
.hero-wrapper {
|
||||
min-height: 350px;
|
||||
}
|
||||
|
||||
.hero-language {
|
||||
position: static;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.hero-logo {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: -30px;
|
||||
height: 200px;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.hero-content {
|
||||
padding-top: 3rem;
|
||||
padding-left: 1rem;
|
||||
max-width: 100%;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.hero-title {
|
||||
font-size: 2.5rem;
|
||||
font-size: 2.8rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.hero-subtitle {
|
||||
font-size: 1.25rem;
|
||||
font-size: 1.1rem;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.intro h2,
|
||||
.recent-posts h2 {
|
||||
.hero-year {
|
||||
font-size: 4rem;
|
||||
}
|
||||
|
||||
.organizations {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
/* Journey Map Mobile */
|
||||
.map-subtitle {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.posts-grid {
|
||||
grid-template-columns: 1fr;
|
||||
.journey-map {
|
||||
min-height: auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--spacing-lg);
|
||||
}
|
||||
|
||||
.journey-path {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.journey-stop {
|
||||
position: relative !important;
|
||||
top: auto !important;
|
||||
left: auto !important;
|
||||
flex-direction: column !important;
|
||||
text-align: left !important;
|
||||
}
|
||||
|
||||
.journey-marker {
|
||||
min-width: auto;
|
||||
align-self: flex-start;
|
||||
}
|
||||
|
||||
.marker-label {
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
.journey-card {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.journey-card h3 {
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Generated
+1
-1
File diff suppressed because one or more lines are too long
Generated
+1
-1
@@ -1 +1 @@
|
||||
{"DocumentConnection":{"type":"DocumentConnection","resolveType":"multiCollectionDocumentList","collections":["post","page"]},"Node":{"type":"Node","resolveType":"nodeDocument"},"DocumentNode":{"type":"DocumentNode","resolveType":"multiCollectionDocument","createDocument":"create","updateDocument":"update"},"Post":{"type":"Post","resolveType":"collectionDocument","collection":"post","createPost":"create","updatePost":"update"},"PostConnection":{"type":"PostConnection","resolveType":"collectionDocumentList","collection":"post"},"Page":{"type":"Page","resolveType":"collectionDocument","collection":"page","createPage":"create","updatePage":"update"},"PageConnection":{"type":"PageConnection","resolveType":"collectionDocumentList","collection":"page"}}
|
||||
{"DocumentConnection":{"type":"DocumentConnection","resolveType":"multiCollectionDocumentList","collections":["post","page","theaterHomepage"]},"Node":{"type":"Node","resolveType":"nodeDocument"},"DocumentNode":{"type":"DocumentNode","resolveType":"multiCollectionDocument","createDocument":"create","updateDocument":"update"},"Post":{"type":"Post","resolveType":"collectionDocument","collection":"post","createPost":"create","updatePost":"update"},"PostConnection":{"type":"PostConnection","resolveType":"collectionDocumentList","collection":"post"},"Page":{"type":"Page","resolveType":"collectionDocument","collection":"page","createPage":"create","updatePage":"update"},"PageConnection":{"type":"PageConnection","resolveType":"collectionDocumentList","collection":"page"},"TheaterHomepage":{"type":"TheaterHomepage","resolveType":"collectionDocument","collection":"theaterHomepage","createTheaterHomepage":"create","updateTheaterHomepage":"update"},"TheaterHomepageConnection":{"type":"TheaterHomepageConnection","resolveType":"collectionDocumentList","collection":"theaterHomepage"}}
|
||||
Generated
+1
-1
File diff suppressed because one or more lines are too long
Generated
+5
-2
@@ -1,2 +1,5 @@
|
||||
export default ()=>({})
|
||||
export const client = ()=>({})
|
||||
import { createClient } from "tinacms/dist/client";
|
||||
import { queries } from "./types";
|
||||
export const client = createClient({ url: 'http://localhost:4001/graphql', token: '', queries, });
|
||||
export default client;
|
||||
|
||||
Generated
+380
@@ -91,6 +91,386 @@ var config_default = defineConfig({
|
||||
required: true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: "theaterHomepage",
|
||||
label: "Theater Homepage",
|
||||
path: "content/theater",
|
||||
format: "mdx",
|
||||
ui: {
|
||||
allowedActions: {
|
||||
create: false,
|
||||
delete: false
|
||||
}
|
||||
},
|
||||
fields: [
|
||||
{
|
||||
type: "string",
|
||||
name: "title",
|
||||
label: "Page Title",
|
||||
isTitle: true,
|
||||
required: true
|
||||
},
|
||||
// Hero Section
|
||||
{
|
||||
type: "object",
|
||||
name: "hero",
|
||||
label: "Hero Section",
|
||||
fields: [
|
||||
{
|
||||
type: "string",
|
||||
name: "title_de",
|
||||
label: "Title (German)",
|
||||
required: true
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "title_en",
|
||||
label: "Title (English)",
|
||||
required: true
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "subtitle_de",
|
||||
label: "Subtitle (German)",
|
||||
required: true,
|
||||
ui: {
|
||||
component: "textarea"
|
||||
}
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "subtitle_en",
|
||||
label: "Subtitle (English)",
|
||||
required: true,
|
||||
ui: {
|
||||
component: "textarea"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
// Section 1: Das Projekt
|
||||
{
|
||||
type: "object",
|
||||
name: "projekt",
|
||||
label: "Section 1: Das Projekt / The Project",
|
||||
fields: [
|
||||
{
|
||||
type: "string",
|
||||
name: "title_de",
|
||||
label: "Title (German)",
|
||||
required: true
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "title_en",
|
||||
label: "Title (English)",
|
||||
required: true
|
||||
},
|
||||
{
|
||||
type: "rich-text",
|
||||
name: "content_de",
|
||||
label: "Content (German)",
|
||||
required: true
|
||||
},
|
||||
{
|
||||
type: "rich-text",
|
||||
name: "content_en",
|
||||
label: "Content (English)",
|
||||
required: true
|
||||
}
|
||||
]
|
||||
},
|
||||
// Section 2: Wer steckt dahinter
|
||||
{
|
||||
type: "object",
|
||||
name: "team",
|
||||
label: "Section 2: Wer steckt dahinter / Who's Behind It",
|
||||
fields: [
|
||||
{
|
||||
type: "string",
|
||||
name: "title_de",
|
||||
label: "Title (German)",
|
||||
required: true
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "title_en",
|
||||
label: "Title (English)",
|
||||
required: true
|
||||
},
|
||||
{
|
||||
type: "rich-text",
|
||||
name: "content_de",
|
||||
label: "Content (German)",
|
||||
required: true
|
||||
},
|
||||
{
|
||||
type: "rich-text",
|
||||
name: "content_en",
|
||||
label: "Content (English)",
|
||||
required: true
|
||||
},
|
||||
{
|
||||
type: "object",
|
||||
name: "organizations",
|
||||
label: "Organizations",
|
||||
list: true,
|
||||
fields: [
|
||||
{
|
||||
type: "string",
|
||||
name: "name",
|
||||
label: "Name"
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "role_de",
|
||||
label: "Role (German)"
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "role_en",
|
||||
label: "Role (English)"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
// Section 3: Das Stück
|
||||
{
|
||||
type: "object",
|
||||
name: "stueck",
|
||||
label: "Section 3: Das St\xFCck / The Play",
|
||||
fields: [
|
||||
{
|
||||
type: "string",
|
||||
name: "title_de",
|
||||
label: "Title (German)",
|
||||
required: true
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "title_en",
|
||||
label: "Title (English)",
|
||||
required: true
|
||||
},
|
||||
{
|
||||
type: "rich-text",
|
||||
name: "content_de",
|
||||
label: "Content (German)",
|
||||
required: true
|
||||
},
|
||||
{
|
||||
type: "rich-text",
|
||||
name: "content_en",
|
||||
label: "Content (English)",
|
||||
required: true
|
||||
}
|
||||
]
|
||||
},
|
||||
// Section 4: Mitwirkung
|
||||
{
|
||||
type: "object",
|
||||
name: "mitwirkung",
|
||||
label: "Section 4: Mitwirkung / Participation",
|
||||
fields: [
|
||||
{
|
||||
type: "string",
|
||||
name: "title_de",
|
||||
label: "Title (German)",
|
||||
required: true
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "title_en",
|
||||
label: "Title (English)",
|
||||
required: true
|
||||
},
|
||||
{
|
||||
type: "rich-text",
|
||||
name: "content_de",
|
||||
label: "Content (German)",
|
||||
required: true
|
||||
},
|
||||
{
|
||||
type: "rich-text",
|
||||
name: "content_en",
|
||||
label: "Content (English)",
|
||||
required: true
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "director_name",
|
||||
label: "Director Name"
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "director_email",
|
||||
label: "Director Email"
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "director_phone",
|
||||
label: "Director Phone"
|
||||
}
|
||||
]
|
||||
},
|
||||
// Section 5: Termine
|
||||
{
|
||||
type: "object",
|
||||
name: "termine",
|
||||
label: "Section 5: Termine / Schedule",
|
||||
fields: [
|
||||
{
|
||||
type: "string",
|
||||
name: "title_de",
|
||||
label: "Title (German)",
|
||||
required: true
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "title_en",
|
||||
label: "Title (English)",
|
||||
required: true
|
||||
},
|
||||
{
|
||||
type: "object",
|
||||
name: "events",
|
||||
label: "Events",
|
||||
list: true,
|
||||
fields: [
|
||||
{
|
||||
type: "string",
|
||||
name: "title_de",
|
||||
label: "Event Title (German)"
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "title_en",
|
||||
label: "Event Title (English)"
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "date",
|
||||
label: "Date/Period"
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "description_de",
|
||||
label: "Description (German)",
|
||||
ui: {
|
||||
component: "textarea"
|
||||
}
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "description_en",
|
||||
label: "Description (English)",
|
||||
ui: {
|
||||
component: "textarea"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
// Section 6: Presse
|
||||
{
|
||||
type: "object",
|
||||
name: "presse",
|
||||
label: "Section 6: Presse / Press",
|
||||
fields: [
|
||||
{
|
||||
type: "string",
|
||||
name: "title_de",
|
||||
label: "Title (German)",
|
||||
required: true
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "title_en",
|
||||
label: "Title (English)",
|
||||
required: true
|
||||
},
|
||||
{
|
||||
type: "rich-text",
|
||||
name: "content_de",
|
||||
label: "Content (German)",
|
||||
required: true
|
||||
},
|
||||
{
|
||||
type: "rich-text",
|
||||
name: "content_en",
|
||||
label: "Content (English)",
|
||||
required: true
|
||||
}
|
||||
]
|
||||
},
|
||||
// Section 7: Foto Galerie
|
||||
{
|
||||
type: "object",
|
||||
name: "gallery",
|
||||
label: "Section 7: Foto Galerie / Photo Gallery",
|
||||
fields: [
|
||||
{
|
||||
type: "string",
|
||||
name: "title_de",
|
||||
label: "Title (German)",
|
||||
required: true
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "title_en",
|
||||
label: "Title (English)",
|
||||
required: true
|
||||
},
|
||||
{
|
||||
type: "image",
|
||||
name: "images",
|
||||
label: "Gallery Images",
|
||||
list: true
|
||||
}
|
||||
]
|
||||
},
|
||||
// Section 8: Tickets
|
||||
{
|
||||
type: "object",
|
||||
name: "tickets",
|
||||
label: "Section 8: Tickets",
|
||||
fields: [
|
||||
{
|
||||
type: "string",
|
||||
name: "title_de",
|
||||
label: "Title (German)",
|
||||
required: true
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "title_en",
|
||||
label: "Title (English)",
|
||||
required: true
|
||||
},
|
||||
{
|
||||
type: "rich-text",
|
||||
name: "content_de",
|
||||
label: "Content (German)",
|
||||
required: true
|
||||
},
|
||||
{
|
||||
type: "rich-text",
|
||||
name: "content_en",
|
||||
label: "Content (English)",
|
||||
required: true
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "ticket_url",
|
||||
label: "Ticket Purchase URL",
|
||||
description: "External link to ticket partner"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Generated
+98
@@ -0,0 +1,98 @@
|
||||
fragment PostParts on Post {
|
||||
__typename
|
||||
title
|
||||
date
|
||||
excerpt
|
||||
coverImage
|
||||
body
|
||||
}
|
||||
|
||||
fragment PageParts on Page {
|
||||
__typename
|
||||
title
|
||||
description
|
||||
body
|
||||
}
|
||||
|
||||
fragment TheaterHomepageParts on TheaterHomepage {
|
||||
__typename
|
||||
title
|
||||
hero {
|
||||
__typename
|
||||
title_de
|
||||
title_en
|
||||
subtitle_de
|
||||
subtitle_en
|
||||
}
|
||||
projekt {
|
||||
__typename
|
||||
title_de
|
||||
title_en
|
||||
content_de
|
||||
content_en
|
||||
}
|
||||
team {
|
||||
__typename
|
||||
title_de
|
||||
title_en
|
||||
content_de
|
||||
content_en
|
||||
organizations {
|
||||
__typename
|
||||
name
|
||||
role_de
|
||||
role_en
|
||||
}
|
||||
}
|
||||
stueck {
|
||||
__typename
|
||||
title_de
|
||||
title_en
|
||||
content_de
|
||||
content_en
|
||||
}
|
||||
mitwirkung {
|
||||
__typename
|
||||
title_de
|
||||
title_en
|
||||
content_de
|
||||
content_en
|
||||
director_name
|
||||
director_email
|
||||
director_phone
|
||||
}
|
||||
termine {
|
||||
__typename
|
||||
title_de
|
||||
title_en
|
||||
events {
|
||||
__typename
|
||||
title_de
|
||||
title_en
|
||||
date
|
||||
description_de
|
||||
description_en
|
||||
}
|
||||
}
|
||||
presse {
|
||||
__typename
|
||||
title_de
|
||||
title_en
|
||||
content_de
|
||||
content_en
|
||||
}
|
||||
gallery {
|
||||
__typename
|
||||
title_de
|
||||
title_en
|
||||
images
|
||||
}
|
||||
tickets {
|
||||
__typename
|
||||
title_de
|
||||
title_en
|
||||
content_de
|
||||
content_en
|
||||
ticket_url
|
||||
}
|
||||
}
|
||||
Generated
+164
@@ -0,0 +1,164 @@
|
||||
query post($relativePath: String!) {
|
||||
post(relativePath: $relativePath) {
|
||||
... on Document {
|
||||
_sys {
|
||||
filename
|
||||
basename
|
||||
hasReferences
|
||||
breadcrumbs
|
||||
path
|
||||
relativePath
|
||||
extension
|
||||
}
|
||||
id
|
||||
}
|
||||
...PostParts
|
||||
}
|
||||
}
|
||||
|
||||
query postConnection($before: String, $after: String, $first: Float, $last: Float, $sort: String, $filter: PostFilter) {
|
||||
postConnection(
|
||||
before: $before
|
||||
after: $after
|
||||
first: $first
|
||||
last: $last
|
||||
sort: $sort
|
||||
filter: $filter
|
||||
) {
|
||||
pageInfo {
|
||||
hasPreviousPage
|
||||
hasNextPage
|
||||
startCursor
|
||||
endCursor
|
||||
}
|
||||
totalCount
|
||||
edges {
|
||||
cursor
|
||||
node {
|
||||
... on Document {
|
||||
_sys {
|
||||
filename
|
||||
basename
|
||||
hasReferences
|
||||
breadcrumbs
|
||||
path
|
||||
relativePath
|
||||
extension
|
||||
}
|
||||
id
|
||||
}
|
||||
...PostParts
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query page($relativePath: String!) {
|
||||
page(relativePath: $relativePath) {
|
||||
... on Document {
|
||||
_sys {
|
||||
filename
|
||||
basename
|
||||
hasReferences
|
||||
breadcrumbs
|
||||
path
|
||||
relativePath
|
||||
extension
|
||||
}
|
||||
id
|
||||
}
|
||||
...PageParts
|
||||
}
|
||||
}
|
||||
|
||||
query pageConnection($before: String, $after: String, $first: Float, $last: Float, $sort: String, $filter: PageFilter) {
|
||||
pageConnection(
|
||||
before: $before
|
||||
after: $after
|
||||
first: $first
|
||||
last: $last
|
||||
sort: $sort
|
||||
filter: $filter
|
||||
) {
|
||||
pageInfo {
|
||||
hasPreviousPage
|
||||
hasNextPage
|
||||
startCursor
|
||||
endCursor
|
||||
}
|
||||
totalCount
|
||||
edges {
|
||||
cursor
|
||||
node {
|
||||
... on Document {
|
||||
_sys {
|
||||
filename
|
||||
basename
|
||||
hasReferences
|
||||
breadcrumbs
|
||||
path
|
||||
relativePath
|
||||
extension
|
||||
}
|
||||
id
|
||||
}
|
||||
...PageParts
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query theaterHomepage($relativePath: String!) {
|
||||
theaterHomepage(relativePath: $relativePath) {
|
||||
... on Document {
|
||||
_sys {
|
||||
filename
|
||||
basename
|
||||
hasReferences
|
||||
breadcrumbs
|
||||
path
|
||||
relativePath
|
||||
extension
|
||||
}
|
||||
id
|
||||
}
|
||||
...TheaterHomepageParts
|
||||
}
|
||||
}
|
||||
|
||||
query theaterHomepageConnection($before: String, $after: String, $first: Float, $last: Float, $sort: String, $filter: TheaterHomepageFilter) {
|
||||
theaterHomepageConnection(
|
||||
before: $before
|
||||
after: $after
|
||||
first: $first
|
||||
last: $last
|
||||
sort: $sort
|
||||
filter: $filter
|
||||
) {
|
||||
pageInfo {
|
||||
hasPreviousPage
|
||||
hasNextPage
|
||||
startCursor
|
||||
endCursor
|
||||
}
|
||||
totalCount
|
||||
edges {
|
||||
cursor
|
||||
node {
|
||||
... on Document {
|
||||
_sys {
|
||||
filename
|
||||
basename
|
||||
hasReferences
|
||||
breadcrumbs
|
||||
path
|
||||
relativePath
|
||||
extension
|
||||
}
|
||||
id
|
||||
}
|
||||
...TheaterHomepageParts
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+517
@@ -0,0 +1,517 @@
|
||||
# DO NOT MODIFY THIS FILE. This file is automatically generated by Tina
|
||||
"""References another document, used as a foreign key"""
|
||||
scalar Reference
|
||||
|
||||
""""""
|
||||
scalar JSON
|
||||
|
||||
type SystemInfo {
|
||||
filename: String!
|
||||
title: String
|
||||
basename: String!
|
||||
hasReferences: Boolean
|
||||
breadcrumbs(excludeExtension: Boolean): [String!]!
|
||||
path: String!
|
||||
relativePath: String!
|
||||
extension: String!
|
||||
template: String!
|
||||
collection: Collection!
|
||||
}
|
||||
|
||||
type Folder {
|
||||
name: String!
|
||||
path: String!
|
||||
}
|
||||
|
||||
type PageInfo {
|
||||
hasPreviousPage: Boolean!
|
||||
hasNextPage: Boolean!
|
||||
startCursor: String!
|
||||
endCursor: String!
|
||||
}
|
||||
|
||||
""""""
|
||||
interface Node {
|
||||
id: ID!
|
||||
}
|
||||
|
||||
""""""
|
||||
interface Document {
|
||||
id: ID!
|
||||
_sys: SystemInfo
|
||||
_values: JSON!
|
||||
}
|
||||
|
||||
"""A relay-compliant pagination connection"""
|
||||
interface Connection {
|
||||
totalCount: Float!
|
||||
pageInfo: PageInfo!
|
||||
}
|
||||
|
||||
type Query {
|
||||
getOptimizedQuery(queryString: String!): String
|
||||
collection(collection: String): Collection!
|
||||
collections: [Collection!]!
|
||||
node(id: String): Node!
|
||||
document(collection: String, relativePath: String): DocumentNode!
|
||||
post(relativePath: String): Post!
|
||||
postConnection(before: String, after: String, first: Float, last: Float, sort: String, filter: PostFilter): PostConnection!
|
||||
page(relativePath: String): Page!
|
||||
pageConnection(before: String, after: String, first: Float, last: Float, sort: String, filter: PageFilter): PageConnection!
|
||||
theaterHomepage(relativePath: String): TheaterHomepage!
|
||||
theaterHomepageConnection(before: String, after: String, first: Float, last: Float, sort: String, filter: TheaterHomepageFilter): TheaterHomepageConnection!
|
||||
}
|
||||
|
||||
input DocumentFilter {
|
||||
post: PostFilter
|
||||
page: PageFilter
|
||||
theaterHomepage: TheaterHomepageFilter
|
||||
}
|
||||
|
||||
type DocumentConnectionEdges {
|
||||
cursor: String!
|
||||
node: DocumentNode
|
||||
}
|
||||
|
||||
type DocumentConnection implements Connection {
|
||||
pageInfo: PageInfo!
|
||||
totalCount: Float!
|
||||
edges: [DocumentConnectionEdges]
|
||||
}
|
||||
|
||||
type Collection {
|
||||
name: String!
|
||||
slug: String!
|
||||
label: String
|
||||
path: String!
|
||||
format: String
|
||||
matches: String
|
||||
templates: [JSON]
|
||||
fields: [JSON]
|
||||
documents(before: String, after: String, first: Float, last: Float, sort: String, filter: DocumentFilter, folder: String): DocumentConnection!
|
||||
}
|
||||
|
||||
union DocumentNode = Post | Page | TheaterHomepage | Folder
|
||||
|
||||
type Post implements Node & Document {
|
||||
title: String!
|
||||
date: String!
|
||||
excerpt: String!
|
||||
coverImage: String
|
||||
body: JSON!
|
||||
id: ID!
|
||||
_sys: SystemInfo!
|
||||
_values: JSON!
|
||||
}
|
||||
|
||||
input StringFilter {
|
||||
startsWith: String
|
||||
eq: String
|
||||
exists: Boolean
|
||||
in: [String]
|
||||
}
|
||||
|
||||
input DatetimeFilter {
|
||||
after: String
|
||||
before: String
|
||||
eq: String
|
||||
exists: Boolean
|
||||
in: [String]
|
||||
}
|
||||
|
||||
input ImageFilter {
|
||||
startsWith: String
|
||||
eq: String
|
||||
exists: Boolean
|
||||
in: [String]
|
||||
}
|
||||
|
||||
input RichTextFilter {
|
||||
startsWith: String
|
||||
eq: String
|
||||
exists: Boolean
|
||||
}
|
||||
|
||||
input PostFilter {
|
||||
title: StringFilter
|
||||
date: DatetimeFilter
|
||||
excerpt: StringFilter
|
||||
coverImage: ImageFilter
|
||||
body: RichTextFilter
|
||||
}
|
||||
|
||||
type PostConnectionEdges {
|
||||
cursor: String!
|
||||
node: Post
|
||||
}
|
||||
|
||||
type PostConnection implements Connection {
|
||||
pageInfo: PageInfo!
|
||||
totalCount: Float!
|
||||
edges: [PostConnectionEdges]
|
||||
}
|
||||
|
||||
type Page implements Node & Document {
|
||||
title: String!
|
||||
description: String
|
||||
body: JSON!
|
||||
id: ID!
|
||||
_sys: SystemInfo!
|
||||
_values: JSON!
|
||||
}
|
||||
|
||||
input PageFilter {
|
||||
title: StringFilter
|
||||
description: StringFilter
|
||||
body: RichTextFilter
|
||||
}
|
||||
|
||||
type PageConnectionEdges {
|
||||
cursor: String!
|
||||
node: Page
|
||||
}
|
||||
|
||||
type PageConnection implements Connection {
|
||||
pageInfo: PageInfo!
|
||||
totalCount: Float!
|
||||
edges: [PageConnectionEdges]
|
||||
}
|
||||
|
||||
type TheaterHomepageHero {
|
||||
title_de: String!
|
||||
title_en: String!
|
||||
subtitle_de: String!
|
||||
subtitle_en: String!
|
||||
}
|
||||
|
||||
type TheaterHomepageProjekt {
|
||||
title_de: String!
|
||||
title_en: String!
|
||||
content_de: JSON!
|
||||
content_en: JSON!
|
||||
}
|
||||
|
||||
type TheaterHomepageTeamOrganizations {
|
||||
name: String
|
||||
role_de: String
|
||||
role_en: String
|
||||
}
|
||||
|
||||
type TheaterHomepageTeam {
|
||||
title_de: String!
|
||||
title_en: String!
|
||||
content_de: JSON!
|
||||
content_en: JSON!
|
||||
organizations: [TheaterHomepageTeamOrganizations]
|
||||
}
|
||||
|
||||
type TheaterHomepageStueck {
|
||||
title_de: String!
|
||||
title_en: String!
|
||||
content_de: JSON!
|
||||
content_en: JSON!
|
||||
}
|
||||
|
||||
type TheaterHomepageMitwirkung {
|
||||
title_de: String!
|
||||
title_en: String!
|
||||
content_de: JSON!
|
||||
content_en: JSON!
|
||||
director_name: String
|
||||
director_email: String
|
||||
director_phone: String
|
||||
}
|
||||
|
||||
type TheaterHomepageTermineEvents {
|
||||
title_de: String
|
||||
title_en: String
|
||||
date: String
|
||||
description_de: String
|
||||
description_en: String
|
||||
}
|
||||
|
||||
type TheaterHomepageTermine {
|
||||
title_de: String!
|
||||
title_en: String!
|
||||
events: [TheaterHomepageTermineEvents]
|
||||
}
|
||||
|
||||
type TheaterHomepagePresse {
|
||||
title_de: String!
|
||||
title_en: String!
|
||||
content_de: JSON!
|
||||
content_en: JSON!
|
||||
}
|
||||
|
||||
type TheaterHomepageGallery {
|
||||
title_de: String!
|
||||
title_en: String!
|
||||
images: [String]
|
||||
}
|
||||
|
||||
type TheaterHomepageTickets {
|
||||
title_de: String!
|
||||
title_en: String!
|
||||
content_de: JSON!
|
||||
content_en: JSON!
|
||||
ticket_url: String
|
||||
}
|
||||
|
||||
type TheaterHomepage implements Node & Document {
|
||||
title: String!
|
||||
hero: TheaterHomepageHero
|
||||
projekt: TheaterHomepageProjekt
|
||||
team: TheaterHomepageTeam
|
||||
stueck: TheaterHomepageStueck
|
||||
mitwirkung: TheaterHomepageMitwirkung
|
||||
termine: TheaterHomepageTermine
|
||||
presse: TheaterHomepagePresse
|
||||
gallery: TheaterHomepageGallery
|
||||
tickets: TheaterHomepageTickets
|
||||
id: ID!
|
||||
_sys: SystemInfo!
|
||||
_values: JSON!
|
||||
}
|
||||
|
||||
input TheaterHomepageHeroFilter {
|
||||
title_de: StringFilter
|
||||
title_en: StringFilter
|
||||
subtitle_de: StringFilter
|
||||
subtitle_en: StringFilter
|
||||
}
|
||||
|
||||
input TheaterHomepageProjektFilter {
|
||||
title_de: StringFilter
|
||||
title_en: StringFilter
|
||||
content_de: RichTextFilter
|
||||
content_en: RichTextFilter
|
||||
}
|
||||
|
||||
input TheaterHomepageTeamOrganizationsFilter {
|
||||
name: StringFilter
|
||||
role_de: StringFilter
|
||||
role_en: StringFilter
|
||||
}
|
||||
|
||||
input TheaterHomepageTeamFilter {
|
||||
title_de: StringFilter
|
||||
title_en: StringFilter
|
||||
content_de: RichTextFilter
|
||||
content_en: RichTextFilter
|
||||
organizations: TheaterHomepageTeamOrganizationsFilter
|
||||
}
|
||||
|
||||
input TheaterHomepageStueckFilter {
|
||||
title_de: StringFilter
|
||||
title_en: StringFilter
|
||||
content_de: RichTextFilter
|
||||
content_en: RichTextFilter
|
||||
}
|
||||
|
||||
input TheaterHomepageMitwirkungFilter {
|
||||
title_de: StringFilter
|
||||
title_en: StringFilter
|
||||
content_de: RichTextFilter
|
||||
content_en: RichTextFilter
|
||||
director_name: StringFilter
|
||||
director_email: StringFilter
|
||||
director_phone: StringFilter
|
||||
}
|
||||
|
||||
input TheaterHomepageTermineEventsFilter {
|
||||
title_de: StringFilter
|
||||
title_en: StringFilter
|
||||
date: StringFilter
|
||||
description_de: StringFilter
|
||||
description_en: StringFilter
|
||||
}
|
||||
|
||||
input TheaterHomepageTermineFilter {
|
||||
title_de: StringFilter
|
||||
title_en: StringFilter
|
||||
events: TheaterHomepageTermineEventsFilter
|
||||
}
|
||||
|
||||
input TheaterHomepagePresseFilter {
|
||||
title_de: StringFilter
|
||||
title_en: StringFilter
|
||||
content_de: RichTextFilter
|
||||
content_en: RichTextFilter
|
||||
}
|
||||
|
||||
input TheaterHomepageGalleryFilter {
|
||||
title_de: StringFilter
|
||||
title_en: StringFilter
|
||||
images: ImageFilter
|
||||
}
|
||||
|
||||
input TheaterHomepageTicketsFilter {
|
||||
title_de: StringFilter
|
||||
title_en: StringFilter
|
||||
content_de: RichTextFilter
|
||||
content_en: RichTextFilter
|
||||
ticket_url: StringFilter
|
||||
}
|
||||
|
||||
input TheaterHomepageFilter {
|
||||
title: StringFilter
|
||||
hero: TheaterHomepageHeroFilter
|
||||
projekt: TheaterHomepageProjektFilter
|
||||
team: TheaterHomepageTeamFilter
|
||||
stueck: TheaterHomepageStueckFilter
|
||||
mitwirkung: TheaterHomepageMitwirkungFilter
|
||||
termine: TheaterHomepageTermineFilter
|
||||
presse: TheaterHomepagePresseFilter
|
||||
gallery: TheaterHomepageGalleryFilter
|
||||
tickets: TheaterHomepageTicketsFilter
|
||||
}
|
||||
|
||||
type TheaterHomepageConnectionEdges {
|
||||
cursor: String!
|
||||
node: TheaterHomepage
|
||||
}
|
||||
|
||||
type TheaterHomepageConnection implements Connection {
|
||||
pageInfo: PageInfo!
|
||||
totalCount: Float!
|
||||
edges: [TheaterHomepageConnectionEdges]
|
||||
}
|
||||
|
||||
type Mutation {
|
||||
addPendingDocument(collection: String!, relativePath: String!, template: String): DocumentNode!
|
||||
updateDocument(collection: String, relativePath: String!, params: DocumentUpdateMutation!): DocumentNode!
|
||||
deleteDocument(collection: String, relativePath: String!): DocumentNode!
|
||||
createDocument(collection: String, relativePath: String!, params: DocumentMutation!): DocumentNode!
|
||||
createFolder(collection: String, relativePath: String!): DocumentNode!
|
||||
updatePost(relativePath: String!, params: PostMutation!): Post!
|
||||
createPost(relativePath: String!, params: PostMutation!): Post!
|
||||
updatePage(relativePath: String!, params: PageMutation!): Page!
|
||||
createPage(relativePath: String!, params: PageMutation!): Page!
|
||||
updateTheaterHomepage(relativePath: String!, params: TheaterHomepageMutation!): TheaterHomepage!
|
||||
createTheaterHomepage(relativePath: String!, params: TheaterHomepageMutation!): TheaterHomepage!
|
||||
}
|
||||
|
||||
input DocumentUpdateMutation {
|
||||
post: PostMutation
|
||||
page: PageMutation
|
||||
theaterHomepage: TheaterHomepageMutation
|
||||
relativePath: String
|
||||
}
|
||||
|
||||
input DocumentMutation {
|
||||
post: PostMutation
|
||||
page: PageMutation
|
||||
theaterHomepage: TheaterHomepageMutation
|
||||
}
|
||||
|
||||
input PostMutation {
|
||||
title: String
|
||||
date: String
|
||||
excerpt: String
|
||||
coverImage: String
|
||||
body: JSON
|
||||
}
|
||||
|
||||
input PageMutation {
|
||||
title: String
|
||||
description: String
|
||||
body: JSON
|
||||
}
|
||||
|
||||
input TheaterHomepageHeroMutation {
|
||||
title_de: String
|
||||
title_en: String
|
||||
subtitle_de: String
|
||||
subtitle_en: String
|
||||
}
|
||||
|
||||
input TheaterHomepageProjektMutation {
|
||||
title_de: String
|
||||
title_en: String
|
||||
content_de: JSON
|
||||
content_en: JSON
|
||||
}
|
||||
|
||||
input TheaterHomepageTeamOrganizationsMutation {
|
||||
name: String
|
||||
role_de: String
|
||||
role_en: String
|
||||
}
|
||||
|
||||
input TheaterHomepageTeamMutation {
|
||||
title_de: String
|
||||
title_en: String
|
||||
content_de: JSON
|
||||
content_en: JSON
|
||||
organizations: [TheaterHomepageTeamOrganizationsMutation]
|
||||
}
|
||||
|
||||
input TheaterHomepageStueckMutation {
|
||||
title_de: String
|
||||
title_en: String
|
||||
content_de: JSON
|
||||
content_en: JSON
|
||||
}
|
||||
|
||||
input TheaterHomepageMitwirkungMutation {
|
||||
title_de: String
|
||||
title_en: String
|
||||
content_de: JSON
|
||||
content_en: JSON
|
||||
director_name: String
|
||||
director_email: String
|
||||
director_phone: String
|
||||
}
|
||||
|
||||
input TheaterHomepageTermineEventsMutation {
|
||||
title_de: String
|
||||
title_en: String
|
||||
date: String
|
||||
description_de: String
|
||||
description_en: String
|
||||
}
|
||||
|
||||
input TheaterHomepageTermineMutation {
|
||||
title_de: String
|
||||
title_en: String
|
||||
events: [TheaterHomepageTermineEventsMutation]
|
||||
}
|
||||
|
||||
input TheaterHomepagePresseMutation {
|
||||
title_de: String
|
||||
title_en: String
|
||||
content_de: JSON
|
||||
content_en: JSON
|
||||
}
|
||||
|
||||
input TheaterHomepageGalleryMutation {
|
||||
title_de: String
|
||||
title_en: String
|
||||
images: [String]
|
||||
}
|
||||
|
||||
input TheaterHomepageTicketsMutation {
|
||||
title_de: String
|
||||
title_en: String
|
||||
content_de: JSON
|
||||
content_en: JSON
|
||||
ticket_url: String
|
||||
}
|
||||
|
||||
input TheaterHomepageMutation {
|
||||
title: String
|
||||
hero: TheaterHomepageHeroMutation
|
||||
projekt: TheaterHomepageProjektMutation
|
||||
team: TheaterHomepageTeamMutation
|
||||
stueck: TheaterHomepageStueckMutation
|
||||
mitwirkung: TheaterHomepageMitwirkungMutation
|
||||
termine: TheaterHomepageTermineMutation
|
||||
presse: TheaterHomepagePresseMutation
|
||||
gallery: TheaterHomepageGalleryMutation
|
||||
tickets: TheaterHomepageTicketsMutation
|
||||
}
|
||||
|
||||
schema {
|
||||
query: Query
|
||||
mutation: Mutation
|
||||
}
|
||||
Generated
+1
@@ -0,0 +1 @@
|
||||
[]
|
||||
Generated
+1129
File diff suppressed because it is too large
Load Diff
+380
@@ -94,6 +94,386 @@ export default defineConfig({
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
name: "theaterHomepage",
|
||||
label: "Theater Homepage",
|
||||
path: "content/theater",
|
||||
format: "mdx",
|
||||
ui: {
|
||||
allowedActions: {
|
||||
create: false,
|
||||
delete: false,
|
||||
},
|
||||
},
|
||||
fields: [
|
||||
{
|
||||
type: "string",
|
||||
name: "title",
|
||||
label: "Page Title",
|
||||
isTitle: true,
|
||||
required: true,
|
||||
},
|
||||
// Hero Section
|
||||
{
|
||||
type: "object",
|
||||
name: "hero",
|
||||
label: "Hero Section",
|
||||
fields: [
|
||||
{
|
||||
type: "string",
|
||||
name: "title_de",
|
||||
label: "Title (German)",
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "title_en",
|
||||
label: "Title (English)",
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "subtitle_de",
|
||||
label: "Subtitle (German)",
|
||||
required: true,
|
||||
ui: {
|
||||
component: "textarea",
|
||||
},
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "subtitle_en",
|
||||
label: "Subtitle (English)",
|
||||
required: true,
|
||||
ui: {
|
||||
component: "textarea",
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
// Section 1: Das Projekt
|
||||
{
|
||||
type: "object",
|
||||
name: "projekt",
|
||||
label: "Section 1: Das Projekt / The Project",
|
||||
fields: [
|
||||
{
|
||||
type: "string",
|
||||
name: "title_de",
|
||||
label: "Title (German)",
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "title_en",
|
||||
label: "Title (English)",
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
type: "rich-text",
|
||||
name: "content_de",
|
||||
label: "Content (German)",
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
type: "rich-text",
|
||||
name: "content_en",
|
||||
label: "Content (English)",
|
||||
required: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
// Section 2: Wer steckt dahinter
|
||||
{
|
||||
type: "object",
|
||||
name: "team",
|
||||
label: "Section 2: Wer steckt dahinter / Who's Behind It",
|
||||
fields: [
|
||||
{
|
||||
type: "string",
|
||||
name: "title_de",
|
||||
label: "Title (German)",
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "title_en",
|
||||
label: "Title (English)",
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
type: "rich-text",
|
||||
name: "content_de",
|
||||
label: "Content (German)",
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
type: "rich-text",
|
||||
name: "content_en",
|
||||
label: "Content (English)",
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
type: "object",
|
||||
name: "organizations",
|
||||
label: "Organizations",
|
||||
list: true,
|
||||
fields: [
|
||||
{
|
||||
type: "string",
|
||||
name: "name",
|
||||
label: "Name",
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "role_de",
|
||||
label: "Role (German)",
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "role_en",
|
||||
label: "Role (English)",
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
// Section 3: Das Stück
|
||||
{
|
||||
type: "object",
|
||||
name: "stueck",
|
||||
label: "Section 3: Das Stück / The Play",
|
||||
fields: [
|
||||
{
|
||||
type: "string",
|
||||
name: "title_de",
|
||||
label: "Title (German)",
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "title_en",
|
||||
label: "Title (English)",
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
type: "rich-text",
|
||||
name: "content_de",
|
||||
label: "Content (German)",
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
type: "rich-text",
|
||||
name: "content_en",
|
||||
label: "Content (English)",
|
||||
required: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
// Section 4: Mitwirkung
|
||||
{
|
||||
type: "object",
|
||||
name: "mitwirkung",
|
||||
label: "Section 4: Mitwirkung / Participation",
|
||||
fields: [
|
||||
{
|
||||
type: "string",
|
||||
name: "title_de",
|
||||
label: "Title (German)",
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "title_en",
|
||||
label: "Title (English)",
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
type: "rich-text",
|
||||
name: "content_de",
|
||||
label: "Content (German)",
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
type: "rich-text",
|
||||
name: "content_en",
|
||||
label: "Content (English)",
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "director_name",
|
||||
label: "Director Name",
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "director_email",
|
||||
label: "Director Email",
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "director_phone",
|
||||
label: "Director Phone",
|
||||
},
|
||||
],
|
||||
},
|
||||
// Section 5: Termine
|
||||
{
|
||||
type: "object",
|
||||
name: "termine",
|
||||
label: "Section 5: Termine / Schedule",
|
||||
fields: [
|
||||
{
|
||||
type: "string",
|
||||
name: "title_de",
|
||||
label: "Title (German)",
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "title_en",
|
||||
label: "Title (English)",
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
type: "object",
|
||||
name: "events",
|
||||
label: "Events",
|
||||
list: true,
|
||||
fields: [
|
||||
{
|
||||
type: "string",
|
||||
name: "title_de",
|
||||
label: "Event Title (German)",
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "title_en",
|
||||
label: "Event Title (English)",
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "date",
|
||||
label: "Date/Period",
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "description_de",
|
||||
label: "Description (German)",
|
||||
ui: {
|
||||
component: "textarea",
|
||||
},
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "description_en",
|
||||
label: "Description (English)",
|
||||
ui: {
|
||||
component: "textarea",
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
// Section 6: Presse
|
||||
{
|
||||
type: "object",
|
||||
name: "presse",
|
||||
label: "Section 6: Presse / Press",
|
||||
fields: [
|
||||
{
|
||||
type: "string",
|
||||
name: "title_de",
|
||||
label: "Title (German)",
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "title_en",
|
||||
label: "Title (English)",
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
type: "rich-text",
|
||||
name: "content_de",
|
||||
label: "Content (German)",
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
type: "rich-text",
|
||||
name: "content_en",
|
||||
label: "Content (English)",
|
||||
required: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
// Section 7: Foto Galerie
|
||||
{
|
||||
type: "object",
|
||||
name: "gallery",
|
||||
label: "Section 7: Foto Galerie / Photo Gallery",
|
||||
fields: [
|
||||
{
|
||||
type: "string",
|
||||
name: "title_de",
|
||||
label: "Title (German)",
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "title_en",
|
||||
label: "Title (English)",
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
type: "image",
|
||||
name: "images",
|
||||
label: "Gallery Images",
|
||||
list: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
// Section 8: Tickets
|
||||
{
|
||||
type: "object",
|
||||
name: "tickets",
|
||||
label: "Section 8: Tickets",
|
||||
fields: [
|
||||
{
|
||||
type: "string",
|
||||
name: "title_de",
|
||||
label: "Title (German)",
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "title_en",
|
||||
label: "Title (English)",
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
type: "rich-text",
|
||||
name: "content_de",
|
||||
label: "Content (German)",
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
type: "rich-text",
|
||||
name: "content_en",
|
||||
label: "Content (English)",
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "ticket_url",
|
||||
label: "Ticket Purchase URL",
|
||||
description: "External link to ticket partner",
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
});
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user