From ea81277e5c9cd91cae88e90142a2d208cadf156f Mon Sep 17 00:00:00 2001 From: Benno Tielen Date: Sun, 2 Feb 2025 10:30:47 +0100 Subject: [PATCH] feature: pope prayer intention --- src/app/gebetsanliegen-des-papstes/[year]/[month]/page.tsx | 4 ++-- src/app/layout.tsx | 2 +- src/pageComponents/Parish/Parish.tsx | 6 ------ src/payload.config.ts | 2 +- 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/src/app/gebetsanliegen-des-papstes/[year]/[month]/page.tsx b/src/app/gebetsanliegen-des-papstes/[year]/[month]/page.tsx index cdddac4..ac473f1 100644 --- a/src/app/gebetsanliegen-des-papstes/[year]/[month]/page.tsx +++ b/src/app/gebetsanliegen-des-papstes/[year]/[month]/page.tsx @@ -12,8 +12,8 @@ const months: Record = { "03": "März", "04": "April", "05": "Mai", - "06": "June", - "07": "July", + "06": "Juni", + "07": "Juli", "08": "August", "09": "September", "10": "Oktober", diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 1fca650..e562f66 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -190,7 +190,7 @@ export default function RootLayout({ href: "/gruppe/eucharistische-anbetung" }, { - title: "Gebetsanlieges des Papstes", + title: "Gebetsanliegen des Papstes", description: "Vereint im Gebet mit dem Papst", href: `/gebetsanliegen-des-papstes/${date.getFullYear()}/${(date.getUTCMonth() + 1).toString(10).padStart(2, '0')}` }, diff --git a/src/pageComponents/Parish/Parish.tsx b/src/pageComponents/Parish/Parish.tsx index b6378e2..de28178 100644 --- a/src/pageComponents/Parish/Parish.tsx +++ b/src/pageComponents/Parish/Parish.tsx @@ -80,12 +80,6 @@ export const Parish = ( <ContactPersonList persons={contactPersons} /> - - <Section padding={"small"}> - { announcement && - <Button href={announcement} size={"md"}>Aktuelle Vermeldungen</Button> - } - </Section> </Col> </Row> </Container> diff --git a/src/payload.config.ts b/src/payload.config.ts index 012fc1a..66df378 100644 --- a/src/payload.config.ts +++ b/src/payload.config.ts @@ -91,7 +91,7 @@ export default buildConfig({ }, db: postgresAdapter({ idType: "uuid", - push: true, + push: false, pool: { connectionString: process.env.DATABASE_URI, }