From 23dbf64cbc5643937362ed3caa2532e4e9177fb3 Mon Sep 17 00:00:00 2001 From: Babak Alizadeh Date: Wed, 6 Aug 2025 12:39:31 +0000 Subject: [PATCH] add professional support --- src/Controller/GeneralController.php | 6 + templates/base.html.twig | 14 +- .../general/professional-support.html.twig | 452 ++++++++++++++++++ 3 files changed, 465 insertions(+), 7 deletions(-) create mode 100644 templates/general/professional-support.html.twig diff --git a/src/Controller/GeneralController.php b/src/Controller/GeneralController.php index 9b1ae84..612be6f 100644 --- a/src/Controller/GeneralController.php +++ b/src/Controller/GeneralController.php @@ -37,4 +37,10 @@ class GeneralController extends AbstractController 'posts' => $em->getRepository(Post::class)->findBycat('blog', 3) ]); } + + #[Route('/professional-support', name: 'app_professional_support')] + public function app_professional_support(): Response + { + return $this->render('general/professional-support.html.twig'); + } } diff --git a/templates/base.html.twig b/templates/base.html.twig index a3d7c7a..f7077ad 100644 --- a/templates/base.html.twig +++ b/templates/base.html.twig @@ -10,11 +10,11 @@ @@ -35,7 +35,7 @@ gtag('config', 'G-K1R1SYQY8E'); {% block stylesheets %} - {# 'app' must match the first argument to addEntry() in webpack.config.js #} + { # 'app' must match the first argument to addEntry() in webpack.config.js #} {{ encore_entry_link_tags('app') }} {% endblock %} @@ -56,10 +56,10 @@ gtag('config', 'G-K1R1SYQY8E');