diff --git a/gatsby-browser.js b/gatsby-browser.js index 90c02af..523729d 100644 --- a/gatsby-browser.js +++ b/gatsby-browser.js @@ -7,7 +7,7 @@ import './src/styles/global.css' // Version logging -const VERSION = 'v0.1.15' +const VERSION = 'v0.1.16' export const onClientEntry = () => { // Temporär Prefetching deaktivieren diff --git a/src/components/elements/Section.js b/src/components/elements/Section.js index 8f1b076..c901c48 100644 --- a/src/components/elements/Section.js +++ b/src/components/elements/Section.js @@ -5,7 +5,7 @@ const Section = ({ className = '', backgroundColor = 'bg-transparent', innerBg = '', - padding = 'py-16', + padding = 'py-8 md:py-16', columns = 1, gapClass = 'gap-4', layout = 'equal', diff --git a/src/components/features/OpenToday.js b/src/components/features/OpenToday.js index efb3021..1e6c9e7 100644 --- a/src/components/features/OpenToday.js +++ b/src/components/features/OpenToday.js @@ -29,14 +29,14 @@ const OpenToday = () => { const getOpeningInfo = () => { // const now = new Date(); - const xdate = new Date('2024-12-25T22:00:00'); - const now = xdate; + // const xdate = new Date('2024-12-25T22:00:00'); + const now = new Date(); const currentHour = now.getHours(); const isAfterClosing = currentHour >= 18; // Wenn nach Schließzeit, dann Infos für morgen anzeigen // const targetDate = new Date(); - const targetDate = xdate; + const targetDate = now; if (isAfterClosing) { targetDate.setDate(targetDate.getDate() + 1); } diff --git a/src/components/layouts/StoryTime.js b/src/components/layouts/StoryTime.js index 4885728..93fc7c9 100644 --- a/src/components/layouts/StoryTime.js +++ b/src/components/layouts/StoryTime.js @@ -11,7 +11,7 @@ const StoryTime = ({ linkText }) => { const ImageElement = ( -
+
+
{imagePosition === 'left' ? ( <> {ImageElement} diff --git "a/src/images/Museum f\303\274r Naturkunde mit Vorplatz im Sommer (c) Pablo Castagnola.jpg" b/src/images/Museum_fuer_Naturkunde_mit_Vorplatz_im_Sommer_c_Pablo_Castagnola.jpg similarity index 100% rename from "src/images/Museum f\303\274r Naturkunde mit Vorplatz im Sommer (c) Pablo Castagnola.jpg" rename to src/images/Museum_fuer_Naturkunde_mit_Vorplatz_im_Sommer_c_Pablo_Castagnola.jpg diff --git a/src/pages/de/besuch-planen.js b/src/pages/de/besuch-planen.js index 44be6f8..bc013ec 100644 --- a/src/pages/de/besuch-planen.js +++ b/src/pages/de/besuch-planen.js @@ -46,7 +46,7 @@ const IndexPage = () => {
-
+
{ />
-
-
+
+
{
-
-
+
+
{/*

Am ersten Sonntag des Monats ist der Eintritt frei! @@ -455,8 +455,8 @@ const IndexPage = () => {

-
-
+
+
{
-
-
+
+
{ />
-
+
{
-
-
+
+
{ url="/de/museum/bildung/familien" />
-
-
+
+
{
-
+ {/*
{ } ]} /> -
+
*/} {/*
diff --git a/src/pages/de/kontakt.js b/src/pages/de/kontakt.js index ab8ca9d..71ad635 100644 --- a/src/pages/de/kontakt.js +++ b/src/pages/de/kontakt.js @@ -39,7 +39,7 @@ const IndexPage = () => {
{ }} textProps={{ headline: "Ein Haus für Natur und Gesellschaft", - body: "Das Museum für Naturkunde Berlin der Zukunft wird offen, integriert und forschungsstark sein, ein Vorbild für die Forschungsmuseen weltweit. Unser Drehbuch auf dem Weg dorthin ist unser Zukunftsplan.", + body: " \"Für uns geht es darum, ein Ort der Begegnung, des Dialogs und der Demokratie zu sein. Konstante Veränderung ist Teil unserer DNA. Wir sind das Museum der Zukunft.\" – Prof. Johannes Vogel, PhD, Generaldirektor", headlineStyle: "h4", spacing: "wide", - buttons: [ - { - text: "Zukunftsplan", - url: "/de/museum/zukunft/zukunftsplan/", - className: "mt-4", - } - ] }} textStyle="box-white" textPosition="bottom-left" @@ -126,7 +119,7 @@ const IndexPage = () => {
{ { {Object.keys(imageMap).length > 0 && ( { }} textProps={{ headline: "A House for Nature and Society", - body: "The Museum für Naturkunde Berlin of the future will be open, integrated and strong in research, a role model for research museums worldwide. Our script on the way there is our future plan.", + body: "\"For us, it is about being a place of encounter, dialogue, and democracy. Constant change is part of our DNA. We are the museum of the future.\" Prof. Johannes Vogel, PhD, Generaldirektor", headlineStyle: "h4", spacing: "wide", - buttons: [ - { - text: "Future Plan", - url: "/en/future/future-plan/", - className: "mt-4", - } - ] }} textStyle="box-white" textPosition="bottom-left" @@ -125,7 +118,7 @@ const IndexPage = () => { className="w-full" /> { {
-
+ {/*
{ } ]} /> -
+
*/} {/*
diff --git a/src/pages/en/visit.js b/src/pages/en/visit.js index 9a18875..88e90e1 100644 --- a/src/pages/en/visit.js +++ b/src/pages/en/visit.js @@ -47,7 +47,7 @@ const IndexPage = () => {
-
+
{ linkText="To Ticket Shop" />
-
-
+
+
{
-
-
+
+
{ url="/en/museum/education/guided-tours" />
-
+