From c9233f1ac2f41cd1c6964dcbd83fa21641d6c369 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IV=C3=81N=5FP=5CIv=C3=A1n?= Date: Tue, 6 Feb 2018 19:52:04 +0100 Subject: [PATCH] main controller start of spring --- pom.xml | 23 +- .../FitURJC/controller/MainController.java | 13 + src/main/resources/templates/index.html | 488 ++++++++++++++++++ 3 files changed, 511 insertions(+), 13 deletions(-) create mode 100644 src/main/java/FitURJC/controller/MainController.java create mode 100644 src/main/resources/templates/index.html diff --git a/pom.xml b/pom.xml index 3167f18..a352b54 100644 --- a/pom.xml +++ b/pom.xml @@ -23,37 +23,26 @@ org.springframework.boot spring-boot-starter-web - - - org.hibernate - hibernate-validator - - org.springframework.boot spring-boot-starter-mustache - - - com.h2database - h2 - runtime - + @@ -82,6 +71,14 @@ org.hibernate hibernate-core + + + + + com.h2database + h2 + runtime + diff --git a/src/main/java/FitURJC/controller/MainController.java b/src/main/java/FitURJC/controller/MainController.java new file mode 100644 index 0000000..9119cec --- /dev/null +++ b/src/main/java/FitURJC/controller/MainController.java @@ -0,0 +1,13 @@ +package FitURJC.controller; + +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; + +@Controller +public class MainController { + + @RequestMapping(value = "/") + public String getIndex() { + return "index"; + } +} diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html new file mode 100644 index 0000000..410e714 --- /dev/null +++ b/src/main/resources/templates/index.html @@ -0,0 +1,488 @@ + + + + + + + + + + + FitURJC + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+

+ + FitURJC-Logo +

+
+
+

We have the perfect atmopsphere, huge catalog of courses and a personalize workout plan for you

+ Start Now +
+
+
+
+ +
+
+
+ + + + + + +
+
+
+ +
+
+
+
+

At Your Service

+
+
+
+
+
+
+
+
+ + Profile_Img_teacher1 + +

"Aequam memento rebus in arduis servare mentem"

+
+
+
+
+ + Profile_Img_teacher2 + +

"Vires acquirit eundo"

+
+
+
+
+ + Profile_Img_teacher3 + +

"Vitanda est improba siren desidia"

+
+
+
+
+ + Profile_Img_teacher4 + +

"Si vis pacem, para bellum"

+
+
+
+
+
+ +
+ +
+ + +
+
+
+
+

Let's Get In Touch!

+
+

Ready to start your next routine with us? That's great! Give us a call or send us an email and we will get back + to you as soon as possible!

+
+
+
+
+ +

123-456-6789

+
+ +
+
+
+ + + + + + + + + + + + + + + + \ No newline at end of file