Am ersten Sonntag des Monats ist der Eintritt frei!
@@ -455,8 +455,8 @@ const IndexPage = () => {
-
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 = ( -
Am ersten Sonntag des Monats ist der Eintritt frei!
@@ -455,8 +455,8 @@ const IndexPage = () => {
-