Răsfoiți Sursa

Added terms and privacy page, added them to footer.

Kris 9 ani în urmă
părinte
comite
bc7d22c0b3
2 a modificat fișierele cu 13 adăugiri și 5 ștergeri
  1. 9 1
      app/app.js
  2. 4 4
      app/templates/footer.html

+ 9 - 1
app/app.js

@@ -663,10 +663,18 @@ Router.route("/", {
     template: "home"
 });
 
+Router.route("/terms", {
+    template: "terms"
+});
+
+Router.route("/privacy", {
+    template: "privacy"
+});
+
 Router.route("/admin", {
     template: "admin"
 });
 
 Router.route("/:type", {
     template: "room"
-});
+});

+ 4 - 4
app/templates/footer.html

@@ -1,9 +1,9 @@
 <template name="footer">
     <footer>
         <p>Copyright © 2015 All Right Reserved</p>
-        <button class="footerButtons" id="APIButton">API |</button>
-        <button class="footerButtons" id="termsButton">Terms |</button>
-		<button class="footerButtons" id="privacyButton">Privacy |</button>
-        <button class="footerButtons" id="aboutButton">About</button>
+        <a class="footerButtons" id="apiButton">API |</a>
+        <a href="/terms" class="footerButtons" id="termsButton">Terms |</a>
+		<a href="/privacy" class="footerButtons" id="privacyButton">Privacy |</a>
+        <a class="footerButtons" id="aboutButton">About</a>
     </footer>
 </template>