diff --git a/application/pom.xml b/application/pom.xml
index 32e3ed2..19bd241 100644
--- a/application/pom.xml
+++ b/application/pom.xml
@@ -25,6 +25,14 @@
+
+
+ org.thymeleaf
+ thymeleaf
+ 3.0.11.RELEASE
+
+
+
@@ -34,7 +42,7 @@
maven-compiler-plugin
3.8.0
- 11
+ 8
diff --git a/application/src/main/java/Quitt.java b/application/src/main/java/Quitt.java
index fc5e8c2..c704e44 100644
--- a/application/src/main/java/Quitt.java
+++ b/application/src/main/java/Quitt.java
@@ -1,8 +1,31 @@
import io.javalin.Javalin;
+import static io.javalin.plugin.rendering.template.TemplateUtil.model;
+
public class Quitt {
public static void main(String[] args) {
Javalin app = Javalin.create().start(7000);
- app.get("/", ctx -> ctx.result("Hello World"));
+ app.config.addStaticFiles("/stylesheets");
+ app.config.addStaticFiles("/components");
+
+ app.get("/", ctx -> {
+ ctx.render("/index.html", model("firstName", "John", "lastName", "Doe"));
+ });
+
+ app.get("/index.html", ctx -> {
+ ctx.render("/index.html", model("firstName", "John", "lastName", "Doe"));
+ });
+
+ app.get("/balance.html", ctx -> {
+ ctx.render("/balance.html", model("firstName", "John", "lastName", "Doe"));
+ });
+
+
+
+ }
+
+ public void get()
+ {
+
}
}
diff --git a/website/index.html b/website/index.html
index 6cf3b2d..c5665f1 100644
--- a/website/index.html
+++ b/website/index.html
@@ -1,12 +1,12 @@
-
+
-
+
Testosteroth
@@ -14,13 +14,13 @@
diff --git a/website/index_styles.css b/website/index_styles.css
index 913f888..2a8cfd4 100644
--- a/website/index_styles.css
+++ b/website/index_styles.css
@@ -115,7 +115,7 @@ img {
}
.dropdown {
- background-image: url("./components/icons/caret-down-solid.svg");
+ background-image: url("./icons/caret-down-solid.svg");
background-repeat: no-repeat;
background-size: 15px;
background-position: right;