From 0a6ee91157c2890b8b15a01e5e6b32b3bc4b7f48 Mon Sep 17 00:00:00 2001 From: Remko Date: Mon, 15 Apr 2024 16:35:21 +0200 Subject: [PATCH] Added zgw functions --- .env | 2 +- .env.development | 2 +- .env.production | 2 +- package-lock.json | 13 ++--- package.json | 2 +- pages/email-data-summary.tsx | 2 +- pages/email-reservation-success.tsx | 2 +- pages/extra/index.tsx | 2 +- pages/huwelijksplanner-cancel.tsx | 2 +- pages/huwelijksplanner-cancelled.tsx | 2 +- pages/index.tsx | 2 +- pages/persoonsgegevens/[person].tsx | 16 ++++-- pages/persoonsgegevens/succes.tsx | 6 +-- pages/sitemap.tsx | 2 +- pages/trouw-opties/[slug].tsx | 6 +-- pages/trouw-opties/index.tsx | 6 +-- pages/voorgenomen-huwelijk/checken.tsx | 10 +++- pages/voorgenomen-huwelijk/getuigen/index.tsx | 54 +++++++++++++------ .../voorgenomen-huwelijk/getuigen/succes.tsx | 18 ++++--- pages/voorgenomen-huwelijk/index.tsx | 6 +-- .../partner/aanvrager-email.tsx | 2 +- pages/voorgenomen-huwelijk/partner/index.tsx | 6 +-- .../partner/invitation-email-partner.tsx | 2 +- pages/voorgenomen-huwelijk/partner/succes.tsx | 2 +- .../partner/uitnodigen.tsx | 6 +-- 25 files changed, 109 insertions(+), 66 deletions(-) diff --git a/.env b/.env index 86aed22a..0d150ac1 100644 --- a/.env +++ b/.env @@ -11,4 +11,4 @@ NEXT_PUBLIC_MATOMO_URL=https://stats.utrecht.nl/analytics/ NEXT_PUBLIC_MATOMO_SITE_ID=5 NEXT_PUBLIC_NL_DESIGN_THEME_CLASSNAME=leiden-theme NEXT_PUBLIC_ORGANISATION_NAME=Gemeente Leiden -NEXT_PUBLIC_FAV_ICON=https://gemeente.leiden.nl/typo3conf/ext/leiden_template/Resources/Public/Images/favicon/favicon-96x96.png +NEXT_PUBLIC_FAV_ICON="data:image/svg+xml,%3Csvg id='eVILmByvqh51' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 32 32' shape-rendering='geometricPrecision' text-rendering='geometricPrecision'%3E%3Cimage width='32' height='32' xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAA7EAAAOxAGVKw4bAAACQ0lEQVRYheXWTagOYRTA8R8h6aYpFqIkTRgLsZFvUtihLFggIXZKKVlYcFcWykYp8pHCgiSKtRDlK8qUZiEkdNMkSdLN4nnU9HLdeee+L8qp6Tk9p3nOf+Z8PIf/RfI0GZ2nyfDW/RFddNiDeViKJVEfh09dAcjTZCwWVBzOrXN+Y4A8TRIsig6XYXaT8xoB5GlyHSvxU0zblaYHTOuEcwb4A3maHMc93MLzrCj7O+GsNgA2Y3vU+/I0uYPbEejhnwCoynisjg98wTZMwUIh85NuArTKaNzPivIcxOYyU6iIhdjQzrl1EukuNv3GvgVrs6I8lhXlJnyo67wOwLcI8AYHW415mixBL0bmaTKxHcd1AY4IyTcZ53Gx4nxq3LsgdL6jv+r1QwXYg8VC3K9gt1AFY3EV+/EIn7GuSbnWSZat6In6GazDWdzIivIk5GlyrWmvqPPLeir6cszCGBz4sZkVZdnEeV2AqpzACyEpTzWJeROAPpS4KXz1FewTGtSBOGhMbgozWA6cxGH0462QeFPwVciFB9gYbS+xvl2Awagv4TKeCp2uGuv+CLI4K8r5mNuNMlyFQ1Ffg8cV2ww8y4rydZ4mmzW8NQcLwS6h1jMh8y9VbA8xJk+TVxHsd+26MQCh1fa2bmZF+QUr8jQZPpR5YSCAPnyMax/ex/VdXN9UQIY0rPwSICvKSUM5tB3pyFz3rwHsxZO/BpAV5WnMEW7RC8JMMaAM6zRAq+RpMgE7sBPTs6L8NMgrXQMZ1YnLq+PyHZzbnYV38hWDAAAAAElFTkSuQmCC' preserveAspectRatio='xMidYMid meet'/%3E%3C/svg%3E%0A" diff --git a/.env.development b/.env.development index 3d9890ed..4cbb2e95 100644 --- a/.env.development +++ b/.env.development @@ -1,4 +1,4 @@ NEXT_PUBLIC_NL_DESIGN_THEME_CLASSNAME=leiden-theme NEXT_PUBLIC_ORGANISATION_NAME=Gemeente Leiden NEXT_PUBLIC_ORGANISATION_NAME_SHORT=Leiden -NEXT_PUBLIC_FAV_ICON=https://gemeente.leiden.nl/typo3conf/ext/leiden_template/Resources/Public/Images/favicon/favicon-96x96.png +NEXT_PUBLIC_FAV_ICON="data:image/svg+xml,%3Csvg id='eVILmByvqh51' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 32 32' shape-rendering='geometricPrecision' text-rendering='geometricPrecision'%3E%3Cimage width='32' height='32' xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAA7EAAAOxAGVKw4bAAACQ0lEQVRYheXWTagOYRTA8R8h6aYpFqIkTRgLsZFvUtihLFggIXZKKVlYcFcWykYp8pHCgiSKtRDlK8qUZiEkdNMkSdLN4nnU9HLdeee+L8qp6Tk9p3nOf+Z8PIf/RfI0GZ2nyfDW/RFddNiDeViKJVEfh09dAcjTZCwWVBzOrXN+Y4A8TRIsig6XYXaT8xoB5GlyHSvxU0zblaYHTOuEcwb4A3maHMc93MLzrCj7O+GsNgA2Y3vU+/I0uYPbEejhnwCoynisjg98wTZMwUIh85NuArTKaNzPivIcxOYyU6iIhdjQzrl1EukuNv3GvgVrs6I8lhXlJnyo67wOwLcI8AYHW415mixBL0bmaTKxHcd1AY4IyTcZ53Gx4nxq3LsgdL6jv+r1QwXYg8VC3K9gt1AFY3EV+/EIn7GuSbnWSZat6In6GazDWdzIivIk5GlyrWmvqPPLeir6cszCGBz4sZkVZdnEeV2AqpzACyEpTzWJeROAPpS4KXz1FewTGtSBOGhMbgozWA6cxGH0462QeFPwVciFB9gYbS+xvl2Awagv4TKeCp2uGuv+CLI4K8r5mNuNMlyFQ1Ffg8cV2ww8y4rydZ4mmzW8NQcLwS6h1jMh8y9VbA8xJk+TVxHsd+26MQCh1fa2bmZF+QUr8jQZPpR5YSCAPnyMax/ex/VdXN9UQIY0rPwSICvKSUM5tB3pyFz3rwHsxZO/BpAV5WnMEW7RC8JMMaAM6zRAq+RpMgE7sBPTs6L8NMgrXQMZ1YnLq+PyHZzbnYV38hWDAAAAAElFTkSuQmCC' preserveAspectRatio='xMidYMid meet'/%3E%3C/svg%3E%0A" diff --git a/.env.production b/.env.production index 3d9890ed..4cbb2e95 100644 --- a/.env.production +++ b/.env.production @@ -1,4 +1,4 @@ NEXT_PUBLIC_NL_DESIGN_THEME_CLASSNAME=leiden-theme NEXT_PUBLIC_ORGANISATION_NAME=Gemeente Leiden NEXT_PUBLIC_ORGANISATION_NAME_SHORT=Leiden -NEXT_PUBLIC_FAV_ICON=https://gemeente.leiden.nl/typo3conf/ext/leiden_template/Resources/Public/Images/favicon/favicon-96x96.png +NEXT_PUBLIC_FAV_ICON="data:image/svg+xml,%3Csvg id='eVILmByvqh51' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 32 32' shape-rendering='geometricPrecision' text-rendering='geometricPrecision'%3E%3Cimage width='32' height='32' xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAA7EAAAOxAGVKw4bAAACQ0lEQVRYheXWTagOYRTA8R8h6aYpFqIkTRgLsZFvUtihLFggIXZKKVlYcFcWykYp8pHCgiSKtRDlK8qUZiEkdNMkSdLN4nnU9HLdeee+L8qp6Tk9p3nOf+Z8PIf/RfI0GZ2nyfDW/RFddNiDeViKJVEfh09dAcjTZCwWVBzOrXN+Y4A8TRIsig6XYXaT8xoB5GlyHSvxU0zblaYHTOuEcwb4A3maHMc93MLzrCj7O+GsNgA2Y3vU+/I0uYPbEejhnwCoynisjg98wTZMwUIh85NuArTKaNzPivIcxOYyU6iIhdjQzrl1EukuNv3GvgVrs6I8lhXlJnyo67wOwLcI8AYHW415mixBL0bmaTKxHcd1AY4IyTcZ53Gx4nxq3LsgdL6jv+r1QwXYg8VC3K9gt1AFY3EV+/EIn7GuSbnWSZat6In6GazDWdzIivIk5GlyrWmvqPPLeir6cszCGBz4sZkVZdnEeV2AqpzACyEpTzWJeROAPpS4KXz1FewTGtSBOGhMbgozWA6cxGH0462QeFPwVciFB9gYbS+xvl2Awagv4TKeCp2uGuv+CLI4K8r5mNuNMlyFQ1Ffg8cV2ww8y4rydZ4mmzW8NQcLwS6h1jMh8y9VbA8xJk+TVxHsd+26MQCh1fa2bmZF+QUr8jQZPpR5YSCAPnyMax/ex/VdXN9UQIY0rPwSICvKSUM5tB3pyFz3rwHsxZO/BpAV5WnMEW7RC8JMMaAM6zRAq+RpMgE7sBPTs6L8NMgrXQMZ1YnLq+PyHZzbnYV38hWDAAAAAElFTkSuQmCC' preserveAspectRatio='xMidYMid meet'/%3E%3C/svg%3E%0A" diff --git a/package-lock.json b/package-lock.json index 14ccc59c..1d59a439 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.1.0", "license": "EUPL-1.2", "dependencies": { - "@conduction/theme": "1.1.23", + "@conduction/theme": "1.1.32", "@gemeente-denhaag/design-tokens-components": "0.2.3-alpha.316", "@gemeente-denhaag/process-steps": "0.1.0-alpha.145", "@utrecht/assets": "1.0.0-alpha.147", @@ -766,9 +766,9 @@ } }, "node_modules/@conduction/theme": { - "version": "1.1.23", - "resolved": "https://registry.npmjs.org/@conduction/theme/-/theme-1.1.23.tgz", - "integrity": "sha512-9dkfPnpVuIA6ap/lRNybnFlmUCPEjb8bBcic6vhf3mtNEU7b+0p4PE4+RHy+BXHdeCCu0ev7iSNsd254YVEQ7w==", + "version": "1.1.32", + "resolved": "https://registry.npmjs.org/@conduction/theme/-/theme-1.1.32.tgz", + "integrity": "sha512-HagkS4I56P+D3CApzTDtBzNy7sAOyqoKc8BgatNHFCuZvOW1b/Q0fTuQlZFDp9GRr8sXCRLK1/UqER9+QRSFBA==", "hasInstallScript": true, "dependencies": { "@nl-design-system-unstable/rotterdam-design-tokens": "^1.0.0-alpha.100", @@ -12250,9 +12250,10 @@ } }, "node_modules/tar": { - "version": "6.1.15", + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/tar/-/tar-6.2.1.tgz", + "integrity": "sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==", "dev": true, - "license": "ISC", "dependencies": { "chownr": "^2.0.0", "fs-minipass": "^2.0.0", diff --git a/package.json b/package.json index 3e33a5ba..eee13a8c 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "watch:test": "NODE_OPTIONS=--experimental-vm-modules jest --watch src/" }, "dependencies": { - "@conduction/theme": "1.1.23", + "@conduction/theme": "1.1.32", "@gemeente-denhaag/design-tokens-components": "0.2.3-alpha.316", "@gemeente-denhaag/process-steps": "0.1.0-alpha.145", "@utrecht/assets": "1.0.0-alpha.147", diff --git a/pages/email-data-summary.tsx b/pages/email-data-summary.tsx index edb198e3..fc918b92 100644 --- a/pages/email-data-summary.tsx +++ b/pages/email-data-summary.tsx @@ -161,7 +161,7 @@ export default function HuwelijksplannerStep0() { - {`Melding Voorgenomen Huwelijk - ${t("common:website-name")}`} + {`Melding Voorgenomen Huwelijk - ${process.env.NEXT_PUBLIC_ORGANISATION_NAME}`} diff --git a/pages/email-reservation-success.tsx b/pages/email-reservation-success.tsx index 460695e2..a0c16172 100644 --- a/pages/email-reservation-success.tsx +++ b/pages/email-reservation-success.tsx @@ -29,7 +29,7 @@ export default function HuwelijksplannerStep0() { - {`Melding Voorgenomen Huwelijk - ${t("common:website-name")}`} + {`Melding Voorgenomen Huwelijk - ${process.env.NEXT_PUBLIC_ORGANISATION_NAME}`} diff --git a/pages/extra/index.tsx b/pages/extra/index.tsx index 80895d0e..44ca73d1 100644 --- a/pages/extra/index.tsx +++ b/pages/extra/index.tsx @@ -86,7 +86,7 @@ export default function MultistepForm1() { - {`${t("huwelijksplanner-step-5:title")} - ${t("common:website-name")}`} + {`${t("huwelijksplanner-step-5:title")} - ${process.env.NEXT_PUBLIC_ORGANISATION_NAME}`} diff --git a/pages/huwelijksplanner-cancel.tsx b/pages/huwelijksplanner-cancel.tsx index 201b53ed..106d6173 100644 --- a/pages/huwelijksplanner-cancel.tsx +++ b/pages/huwelijksplanner-cancel.tsx @@ -40,7 +40,7 @@ export default function MultistepForm1() { - {`${t("huwelijksplanner-cancel:title")} - ${t("common:website-name")}`} + {`${t("huwelijksplanner-cancel:title")} - ${process.env.NEXT_PUBLIC_ORGANISATION_NAME}`} diff --git a/pages/huwelijksplanner-cancelled.tsx b/pages/huwelijksplanner-cancelled.tsx index f53210cf..2f5db968 100644 --- a/pages/huwelijksplanner-cancelled.tsx +++ b/pages/huwelijksplanner-cancelled.tsx @@ -62,7 +62,7 @@ export default function MultistepForm1() { - {`${t("huwelijksplanner-cancelled:title")} - ${t("common:website-name")}`} + {`${t("huwelijksplanner-cancelled:title")} - ${process.env.NEXT_PUBLIC_ORGANISATION_NAME}`} diff --git a/pages/index.tsx b/pages/index.tsx index 62f77625..fcaf487a 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -37,7 +37,7 @@ export default function HuwelijksplannerStep0() { - {`${t("huwelijksplanner-step-0:title")} - ${t("common:website-name")}`} + {`${t("huwelijksplanner-step-0:title")} - ${process.env.NEXT_PUBLIC_ORGANISATION_NAME}`} {t("common:skip-link-main")} diff --git a/pages/persoonsgegevens/[person].tsx b/pages/persoonsgegevens/[person].tsx index 28917a7c..fbb2f7b0 100644 --- a/pages/persoonsgegevens/[person].tsx +++ b/pages/persoonsgegevens/[person].tsx @@ -99,6 +99,16 @@ export default function MultistepForm1() { }; useEffect(() => { + // console.log(loadingType) + // console.log(loadingCeremonie) + // console.log(loadingMoment) + // console.log(loadingAmbtenaar) + // console.log(loadingLocatie) + // console.log(loadingKosten) + // console.log(loadingPartner) + // console.log(!huwelijkId) + // console.log(loading) + if ( loadingType === true && loadingCeremonie === true && @@ -357,9 +367,9 @@ export default function MultistepForm1() { - {`${t("common:step-n", { n: 3 })}: ${t("huwelijksplanner-step-4:title")} - ${t( - "common:website-name" - )}`} + {`${t("common:step-n", { n: 3 })}: ${t("huwelijksplanner-step-4:title")} - ${ + process.env.NEXT_PUBLIC_ORGANISATION_NAME + }`} {t("common:skip-link-main")} diff --git a/pages/persoonsgegevens/succes.tsx b/pages/persoonsgegevens/succes.tsx index 0147b58e..e89fd7d1 100644 --- a/pages/persoonsgegevens/succes.tsx +++ b/pages/persoonsgegevens/succes.tsx @@ -42,9 +42,9 @@ export default function MultistepForm1() { - {`${t("common:step-n", { n: 3 })}: ${t("huwelijksplanner-step-5:title")} - ${t( - "common:website-name" - )}`} + {`${t("common:step-n", { n: 3 })}: ${t("huwelijksplanner-step-5:title")} - ${ + process.env.NEXT_PUBLIC_ORGANISATION_NAME + }`} {t("common:skip-link-main")} diff --git a/pages/sitemap.tsx b/pages/sitemap.tsx index 1910b938..13ddbb52 100644 --- a/pages/sitemap.tsx +++ b/pages/sitemap.tsx @@ -29,7 +29,7 @@ export default function HuwelijksplannerStep0() { - {`${t("huwelijksplanner-step-0:title")} - ${t("common:website-name")}`} + {`${t("huwelijksplanner-step-0:title")} - ${process.env.NEXT_PUBLIC_ORGANISATION_NAME}`} diff --git a/pages/trouw-opties/[slug].tsx b/pages/trouw-opties/[slug].tsx index 253f3361..6b3b07cd 100644 --- a/pages/trouw-opties/[slug].tsx +++ b/pages/trouw-opties/[slug].tsx @@ -114,9 +114,9 @@ const PlanningFormPage: NextPage = () => { - {`${t("common:step-n", { n: 2 })}: ${t("huwelijksplanner-step-2:title")} - ${t( - "common:website-name" - )}`} + {`${t("common:step-n", { n: 2 })}: ${t("huwelijksplanner-step-2:title")} - ${ + process.env.NEXT_PUBLIC_ORGANISATION_NAME + }`} {t("common:skip-link-main")} diff --git a/pages/trouw-opties/index.tsx b/pages/trouw-opties/index.tsx index 0a5221a9..e5711661 100644 --- a/pages/trouw-opties/index.tsx +++ b/pages/trouw-opties/index.tsx @@ -58,9 +58,9 @@ export default function MultistepForm1() { - {`${t("common:step-n", { n: 1 })}: ${t("huwelijksplanner-step-1:title")} - ${t( - "common:website-name" - )}`} + {`${t("common:step-n", { n: 1 })}: ${t("huwelijksplanner-step-1:title")} - ${ + process.env.NEXT_PUBLIC_ORGANISATION_NAME + }`} {t("common:skip-link-main")} diff --git a/pages/voorgenomen-huwelijk/checken.tsx b/pages/voorgenomen-huwelijk/checken.tsx index 36c19778..14ae34c0 100644 --- a/pages/voorgenomen-huwelijk/checken.tsx +++ b/pages/voorgenomen-huwelijk/checken.tsx @@ -22,6 +22,8 @@ import { import { PageFooterTemplate } from "../../src/components/huwelijksplanner/PageFooterTemplate"; import { PageHeaderTemplate } from "../../src/components/huwelijksplanner/PageHeaderTemplate"; import { exampleState } from "../../src/data/huwelijksplanner-state"; +import { useContext } from "react"; +import { MarriageOptionsContext } from "../../src/context/MarriageOptionsContext"; export const getServerSideProps = async ({ locale }: { locale: string }) => ({ props: { @@ -31,6 +33,8 @@ export const getServerSideProps = async ({ locale }: { locale: string }) => ({ export default function MultistepForm1() { const { t } = useTranslation(["common", "huwelijksplanner-step-5", "form"]); + const [marriageOptions] = useContext(MarriageOptionsContext); + const data = { ...exampleState }; const { locale = "nl" } = useRouter(); @@ -38,7 +42,7 @@ export default function MultistepForm1() { - {`${t("huwelijksplanner-step-5:title")} - ${t("common:website-name")}`} + {`${t("huwelijksplanner-step-5:title")} - ${process.env.NEXT_PUBLIC_ORGANISATION_NAME}`} @@ -54,7 +58,9 @@ export default function MultistepForm1() { {t("common:step-n-of-m", { n: 3, m: 5 })} — Meld je voorgenomen huwelijk {/*TODO: Banner / card */} - {data["reservation"] ? : ""} + {marriageOptions.reservation && ( + + )}{" "}
Gelukt De gemeente heeft de volgende punten gecontroleerd: diff --git a/pages/voorgenomen-huwelijk/getuigen/index.tsx b/pages/voorgenomen-huwelijk/getuigen/index.tsx index 7a9b5e04..9a28d69e 100644 --- a/pages/voorgenomen-huwelijk/getuigen/index.tsx +++ b/pages/voorgenomen-huwelijk/getuigen/index.tsx @@ -3,7 +3,7 @@ import Head from "next/head"; import { useRouter } from "next/router"; import { useTranslation } from "next-i18next"; import { serverSideTranslations } from "next-i18next/serverSideTranslations"; -import { useContext, useId, useState } from "react"; +import { useContext, useEffect, useId, useState } from "react"; import { FormProvider, useForm, useFormContext } from "react-hook-form"; import { Button, @@ -51,6 +51,8 @@ type WitnessFormData = { export default function MultistepForm1() { const { t } = useTranslation(["common", "huwelijksplanner-step-getuigen", "form"]); const [marriageOptions] = useContext(MarriageOptionsContext); + console.log(marriageOptions); + const { locale = "nl", push } = useRouter(); const formMethods = useForm(); const [loading, setLoading] = useState(false); @@ -73,6 +75,8 @@ export default function MultistepForm1() { return; } + console.log(marriageOptions.id); + let hasError = false; formData.witnesses.forEach((witness, index) => { @@ -88,16 +92,36 @@ export default function MultistepForm1() { if (hasError) return; - setLoading(true); - HuwelijkService.huwelijkPatchItem({ - id: marriageOptions.id as string, - requestBody: { - getuigen: mapWitnesses(formData.witnesses), - }, - }).then(() => { - push("/voorgenomen-huwelijk/getuigen/succes"); - setLoading(false); - }); + console.log(formData); + + console.log(mapWitnesses(formData.witnesses)); + + console.log(); + + if (marriageOptions.id) { + HuwelijkService.huwelijkGet(marriageOptions.id.toString()).then((response: any) => { + // Getuigen + HuwelijkService.huwelijkPostEigenschap( + response.id ?? "", + "7e950e1d-04ab-482e-a066-299711d4b4ed", + JSON.stringify(mapWitnesses(formData.witnesses ?? [])) ?? "" + ).then(() => { + push("/voorgenomen-huwelijk/getuigen/succes"); + setLoading(false); + }); + }); + } + + // setLoading(true); + // HuwelijkService.huwelijkPatchItem({ + // id: marriageOptions.id as string, + // requestBody: { + // getuigen: mapWitnesses(formData.witnesses), + // }, + // }).then(() => { + // push("/voorgenomen-huwelijk/getuigen/succes"); + // setLoading(false); + // }); }; const formHeaderId = useId(); @@ -106,9 +130,9 @@ export default function MultistepForm1() { - {`${t("common:step-n", { n: 3 })}: ${t("huwelijksplanner-step-getuigen:title")} - ${t( - "common:website-name" - )}`} + {`${t("common:step-n", { n: 3 })}: ${t("huwelijksplanner-step-getuigen:title")} - ${ + process.env.NEXT_PUBLIC_ORGANISATION_NAME + }`} {t("common:skip-link-main")} @@ -143,7 +167,7 @@ export default function MultistepForm1() {