summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2014-12-01 16:30:27 -0500
committerJules Laplace <jules@okfoc.us>2014-12-01 16:30:27 -0500
commitb4de393c30ab2540ce8961b394be1915729d8df6 (patch)
treecad8e133217b864e52326a41e14b4a62b05c8fb2
parent64f99d71c9ff0d419fad080751ba02afe9f6f3df (diff)
about.ejs
-rw-r--r--server/lib/views/index.js6
-rw-r--r--views/about/about.ejs27
-rw-r--r--views/partials/footer.ejs3
3 files changed, 34 insertions, 2 deletions
diff --git a/server/lib/views/index.js b/server/lib/views/index.js
index 145b5ac..6ceef7e 100644
--- a/server/lib/views/index.js
+++ b/server/lib/views/index.js
@@ -111,12 +111,16 @@ var views = module.exports = {
},
docs: function (req, res){
- var name = req.params.name || "howto"
+ var name = req.params.name || "about"
if (name == "howto") {
res.render('about/' + name)
return
}
+ if (name == "about" || name == "index") {
+ res.render('about/' + name)
+ return
+ }
if (name === "new") {
res.render('docs', {
diff --git a/views/about/about.ejs b/views/about/about.ejs
new file mode 100644
index 0000000..e600a3d
--- /dev/null
+++ b/views/about/about.ejs
@@ -0,0 +1,27 @@
+<!doctype html>
+<html>
+<head>
+ <title>vvalls</title>
+ [[ include ../partials/meta ]]
+</head>
+<body class="loading">
+ <div class="rapper page home">
+ [[ include ../partials/header ]]
+
+
+ <div class="hero" style="background-image:url(http://okfocus.s3.amazonaws.com/images/vvalls/construction.jpg);">
+ <div class="holder">
+ </div>
+ </div>
+ <h1>About VValls</h1>
+
+
+ [[ include ../partials/confirm-modal ]]
+ [[ include ../projects/layouts-modal ]]
+ [[ include ../partials/sign-in ]]
+ [[ include ../partials/footer ]]
+
+ </div>
+</body>
+[[ include ../partials/scripts ]]
+</html>
diff --git a/views/partials/footer.ejs b/views/partials/footer.ejs
index 7b01162..e3c572f 100644
--- a/views/partials/footer.ejs
+++ b/views/partials/footer.ejs
@@ -13,7 +13,8 @@
<br><br>
- <a href="/about">How To</a>
+ <a href="/about">About</a>
+ <a href="/about/howto">How To</a>
<a href="/about/terms">Terms</a>
<a href="/about/privacy">Privacy</a>
<a href="mailto:hello@vvalls.com">Contact</a>