Moved Thymeleaf-templates to src/main/webapp to enable hot reload
[examples/facebook-app] / src / main / webapp / thymeleaf / home.html
diff --git a/src/main/webapp/thymeleaf/home.html b/src/main/webapp/thymeleaf/home.html
new file mode 100644 (file)
index 0000000..b4d0074
--- /dev/null
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
+  <head>
+    <title>Home</title>
+  </head>
+  <body>
+    <h1>Hello, <span th:text="${user.name}">Some User</span>!</h1>
+    <ul>
+      <li><a href="connect/facebookConnected.html" th:href="@{/connect/facebook.html}">Show connection-status</a></li>
+      <li><a href="profile.html" th:href="@{/profile.html}">Show public profile-data</a></li>
+    </ul>
+  </body>
+</html>