From 053630701e42bdd73fca769b9b1eed8f4c77ecf8 Mon Sep 17 00:00:00 2001 From: Hariprasath S <113695067+Hariprasath4022@users.noreply.github.com> Date: Thu, 27 Aug 2026 10:35:39 +0530 Subject: [PATCH] Added restriction page --- .../controller/VolunteerController.java | 12 ++- src/main/resources/templates/coming_soon.html | 81 +++++++++++++++++++ 2 files changed, 89 insertions(+), 4 deletions(-) create mode 100644 src/main/resources/templates/coming_soon.html diff --git a/src/main/java/com/volunteersregistration/controller/VolunteerController.java b/src/main/java/com/volunteersregistration/controller/VolunteerController.java index 38cfc53..5647e5b 100644 --- a/src/main/java/com/volunteersregistration/controller/VolunteerController.java +++ b/src/main/java/com/volunteersregistration/controller/VolunteerController.java @@ -44,7 +44,8 @@ public class VolunteerController { model.addAttribute("ref", ref); - return "webindex"; + //return "webindex"; + return "coming_soon"; } @GetMapping("/webtamil") @@ -53,7 +54,8 @@ public class VolunteerController { model.addAttribute("ref", ref); - return "webindex_tamil"; + //return "webindex_tamil"; + return "coming_soon"; } @GetMapping(value = { "/", "", "/index" }) @@ -62,7 +64,8 @@ public class VolunteerController { model.addAttribute("ref", ref); - return "index"; + //return "index"; + return "coming_soon"; } @GetMapping(value = {"/index_tamil" }) @@ -71,7 +74,8 @@ public class VolunteerController { model.addAttribute("ref", ref); - return "index_tamil"; + //return "index_tamil"; + return "coming_soon"; } diff --git a/src/main/resources/templates/coming_soon.html b/src/main/resources/templates/coming_soon.html new file mode 100644 index 0000000..e812b7c --- /dev/null +++ b/src/main/resources/templates/coming_soon.html @@ -0,0 +1,81 @@ + + + +
+ +
+
+
+ We’re working on something new.
+ Please check back soon.
+