From bb2ef7141098cb319bcc1c4e01048308f7e04bcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vikt=C3=B3ria=20Brezinov=C3=A1?= Date: Sat, 11 Nov 2023 14:23:12 +0100 Subject: [PATCH] add links for registration --- src/pages/strom/akcie/[[...params]].tsx | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/pages/strom/akcie/[[...params]].tsx b/src/pages/strom/akcie/[[...params]].tsx index 9aabf1f6..79673c27 100644 --- a/src/pages/strom/akcie/[[...params]].tsx +++ b/src/pages/strom/akcie/[[...params]].tsx @@ -39,15 +39,21 @@ const StaticPage: NextPage = ({competition, is_rules}) =>

Odkedy? {competition.upcoming_or_current_event.start}

)} {competition.upcoming_or_current_event.end &&

Dokedy? {competition.upcoming_or_current_event.end}

} - {competition.upcoming_or_current_event.unspecifiedpublication_set?.length > 0 && ( -

Pozvánka: {competition.upcoming_or_current_event.unspecifiedpublication_set[0].name}

+ {competition.upcoming_or_current_event.publication_set.length > 0 && ( +

+ + Pozvánka + +

)} {competition.upcoming_or_current_event.registration_link && (

- Registračný formulár: {competition.upcoming_or_current_event.registration_link.start} - + Registrácia prebieha do: {competition.upcoming_or_current_event.registration_link.end} - {competition.upcoming_or_current_event.registration_link.url} + Registračný formulár

{competition.upcoming_or_current_event.registration_link.additional_info}