From 838dabccca2c9efe94cf5daaaefc91b1d2c18dbf Mon Sep 17 00:00:00 2001 From: spetznas Date: Sat, 16 May 2026 22:22:24 +0200 Subject: [PATCH] Added updated RSVP-form --- i18n/de.toml | 8 +++++ i18n/en.toml | 8 +++++ i18n/ru.toml | 8 +++++ layouts/_default/wedding.html | 62 +++++++++++++++++++++++++++-------- public/categories/index.html | 4 +-- public/de/marriage/index.html | 56 +++++++++++++++++++++++++------ public/en/sitemap.xml | 8 ++--- public/marriage/index.html | 56 +++++++++++++++++++++++++------ public/rsvp-submit.php | 38 +++++++++++++++++++++ public/ru/marriage/index.html | 56 +++++++++++++++++++++++++------ static/rsvp-submit.php | 38 +++++++++++++++++++++ 11 files changed, 293 insertions(+), 49 deletions(-) create mode 100755 public/rsvp-submit.php create mode 100755 static/rsvp-submit.php diff --git a/i18n/de.toml b/i18n/de.toml index 44a1292..d17cf97 100755 --- a/i18n/de.toml +++ b/i18n/de.toml @@ -14,6 +14,14 @@ rsvp_title = "RSVP" rsvp_deadline = "Bitte antworten bis" rsvp_email = "E-Mail" rsvp_form = "RSVP Formular" +rsvp_firstname = "Vorname" +rsvp_lastname = "Nachname" +rsvp_drinks = "Getränkevorlieben" +rsvp_drinks_wine = "Wein" +rsvp_drinks_beer = "Bier" +rsvp_drinks_juice = "Saft" +rsvp_allergies = "Allergisch auf" +rsvp_send = "Abschicken" details_title = "Details" footer_message = "Wir freuen uns darauf, mit euch zu feiern ❤️" big_day = "Der große Tag ist da!" diff --git a/i18n/en.toml b/i18n/en.toml index c87af1d..26238ef 100755 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -14,6 +14,14 @@ rsvp_title = "RSVP" rsvp_deadline = "Please respond by" rsvp_email = "Email" rsvp_form = "RSVP Form" +rsvp_firstname = "First name" +rsvp_lastname = "Last name" +rsvp_drinks = "Drink preferences:" +rsvp_drinks_wine = "Wine" +rsvp_drinks_beer = "Beer" +rsvp_drinks_juice = "Juice" +rsvp_allergies = "Allergic to" +rsvp_send = "Send" details_title = "Details" footer_message = "We look forward to celebrating with you ❤️" big_day = "The big day is here!" diff --git a/i18n/ru.toml b/i18n/ru.toml index e4db505..38d4e3d 100755 --- a/i18n/ru.toml +++ b/i18n/ru.toml @@ -14,6 +14,14 @@ rsvp_title = "RSVP" rsvp_deadline = "Пожалуйста, ответьте до" rsvp_email = "Электронная почта" rsvp_form = "Форма RSVP" +rsvp_firstname = "Имя" +rsvp_lastname = "Фамилия" +rsvp_drinks = "Предпочтения по напиткам:" +rsvp_drinks_wine = "Вино" +rsvp_drinks_beer = "Пиво" +rsvp_drinks_juice = "Сок" +rsvp_allergies = "Аллергия на" +rsvp_send = "Отправить" details_title = "Детали" footer_message = "❤️ Мы с нетерпением ждем встречи с вами ❤️" big_day = "Наступил великий день!" diff --git a/layouts/_default/wedding.html b/layouts/_default/wedding.html index 1ae2c47..e304eb7 100755 --- a/layouts/_default/wedding.html +++ b/layouts/_default/wedding.html @@ -139,20 +139,56 @@ body { {{ end }} - -
-

📝 {{ i18n "rsvp_title" }}

- {{ with .Params.rsvp.deadline }} -

{{ i18n "rsvp_deadline" }} {{ . }}.

- {{ end }} - {{ with .Params.rsvp.email }} -

{{ i18n "rsvp_email" }}: {{ . }}

- {{ end }} - {{ with .Params.rsvp.form }} -

{{ i18n "rsvp_form" }}

- {{ end }} -
+ + + + + + + + + + + + + + +
+

📝 {{ i18n "rsvp_title" }}

+ {{ with .Params.rsvp.deadline }} +

{{ i18n "rsvp_deadline" }} {{ . }}.

+ {{ end }} + +
+ +
+

+ +
+

+ +
+ + +
+ + +
+ + +

+ +
+

+ + + + + + +
+
{{ with .Params.details }}
diff --git a/public/categories/index.html b/public/categories/index.html index 4731747..7ae9506 100755 --- a/public/categories/index.html +++ b/public/categories/index.html @@ -137,14 +137,14 @@ diff --git a/public/de/marriage/index.html b/public/de/marriage/index.html index f75a65c..4de23b1 100755 --- a/public/de/marriage/index.html +++ b/public/de/marriage/index.html @@ -371,17 +371,53 @@ btn.addEventListener("click", async () => { -
-

📝 RSVP

- -

Bitte antworten bis 30. Juni.

- - - -

RSVP Formular

- -
+ + + + + + + + + + +
+

📝 RSVP

+ +

Bitte antworten bis 30. Juni.

+ + + +
+ +
+

+ +
+

+ +
+ + +
+ + +
+ + +

+ +
+

+ + + + + + +
+
diff --git a/public/en/sitemap.xml b/public/en/sitemap.xml index 61294bf..b5a8256 100755 --- a/public/en/sitemap.xml +++ b/public/en/sitemap.xml @@ -22,13 +22,13 @@ http://localhost:1313/categories/ { -
-

📝 RSVP

- -

Please respond by June 30.

- - - -

RSVP Form

- -
+ + + + + + + + + + +
+

📝 RSVP

+ +

Please respond by June 30.

+ + + +
+ +
+

+ +
+

+ +
+ + +
+ + +
+ + +

+ +
+

+ + + + + + +
+
diff --git a/public/rsvp-submit.php b/public/rsvp-submit.php new file mode 100755 index 0000000..972b139 --- /dev/null +++ b/public/rsvp-submit.php @@ -0,0 +1,38 @@ + diff --git a/public/ru/marriage/index.html b/public/ru/marriage/index.html index b7d5375..0109374 100755 --- a/public/ru/marriage/index.html +++ b/public/ru/marriage/index.html @@ -371,17 +371,53 @@ btn.addEventListener("click", async () => { -
-

📝 RSVP

- -

Пожалуйста, ответьте до 30 июня.

- - - -

Форма RSVP

- -
+ + + + + + + + + + +
+

📝 RSVP

+ +

Пожалуйста, ответьте до 30 июня.

+ + + +
+ +
+

+ +
+

+ +
+ + +
+ + +
+ + +

+ +
+

+ + + + + + +
+
diff --git a/static/rsvp-submit.php b/static/rsvp-submit.php new file mode 100755 index 0000000..972b139 --- /dev/null +++ b/static/rsvp-submit.php @@ -0,0 +1,38 @@ +