From 1e644eb13b9fa3977714104c94400b3ac93c6585 Mon Sep 17 00:00:00 2001 From: Frank Date: Sat, 4 Jul 2026 23:23:04 +0200 Subject: [PATCH] Add "Looking for Help" page for the open visual artist request Adds a /looking-for-help page listing the open volunteer request and links it from the site footer on every page. --- src/Website/Controller/HomeController.php | 7 +++++ templates/layout/site.html.twig | 3 ++ templates/website/home/help_wanted.html.twig | 33 ++++++++++++++++++++ translations/messages.en.yaml | 1 + translations/messages.nl.yaml | 1 + 5 files changed, 45 insertions(+) create mode 100644 templates/website/home/help_wanted.html.twig diff --git a/src/Website/Controller/HomeController.php b/src/Website/Controller/HomeController.php index fa88b12..91fa1e7 100644 --- a/src/Website/Controller/HomeController.php +++ b/src/Website/Controller/HomeController.php @@ -22,4 +22,11 @@ final class HomeController extends AbstractController return $this->render( 'website/home/intro.html.twig'); } + + #[Route(path: '/looking-for-help', name: 'website_help_wanted')] + public function helpWanted(): Response + { + return $this->render( + 'website/home/help_wanted.html.twig'); + } } diff --git a/templates/layout/site.html.twig b/templates/layout/site.html.twig index 4fe18c8..3cd9b0b 100644 --- a/templates/layout/site.html.twig +++ b/templates/layout/site.html.twig @@ -63,6 +63,9 @@ {% block footer %} diff --git a/templates/website/home/help_wanted.html.twig b/templates/website/home/help_wanted.html.twig new file mode 100644 index 0000000..355e9c4 --- /dev/null +++ b/templates/website/home/help_wanted.html.twig @@ -0,0 +1,33 @@ +{% extends 'layout/site.html.twig' %} + +{% block title %}Looking for Help | {{ 'site.name'|trans }}{% endblock %} + +{% block body %} +
+
+
+

Looking for Help

+

This site is a passion project, and every now and then it needs a hand.

+
+ +
+
+ Open Request + Visual Artist +
+
+

+ For this website, I am looking for some help in the field of art. I have unfortunately used + a bit of AI to create some images, and I would really like to get it done by someone real. +

+

+ Unfortunately, this site is currently just costing me money, so I am not in a position to pay + a huge amount, but if you would be interested to have your art out to (hopefully) a lot of + people, and you have ideas on how to make it something nice, please reach out to me. We can + discuss payment and ideas then. +

+
+
+
+
+{% endblock %} diff --git a/translations/messages.en.yaml b/translations/messages.en.yaml index ae3d850..0fe2631 100644 --- a/translations/messages.en.yaml +++ b/translations/messages.en.yaml @@ -8,6 +8,7 @@ nav.register: Register nav.logout: Logout link.enter_game: Enter the Game Area link.back_to_website: Back to Website +footer.help_wanted: Looking for Help # Home page home.title: "Welcome | EscapePage" diff --git a/translations/messages.nl.yaml b/translations/messages.nl.yaml index d40d70c..ff772f2 100644 --- a/translations/messages.nl.yaml +++ b/translations/messages.nl.yaml @@ -8,6 +8,7 @@ nav.register: Registreren nav.logout: Uitloggen link.enter_game: Ga naar het Speelgedeelte link.back_to_website: Terug naar Website +footer.help_wanted: Op zoek naar hulp # Home pagina home.title: "Welkom | %{site}%"