From 11d9664a73edfd61b495e9edfaf90e4cf984a0d0 Mon Sep 17 00:00:00 2001 From: Ben Ramey Date: Tue, 13 May 2014 11:43:28 -0500 Subject: [PATCH] Add about page --- config/routes.js | 3 +++ views/about.jade | 36 +++++++++++++++++++++++++++++++++ views/interior-page-layout.jade | 4 ++++ 3 files changed, 43 insertions(+) create mode 100644 views/about.jade create mode 100644 views/interior-page-layout.jade diff --git a/config/routes.js b/config/routes.js index 810e768..5ba8335 100644 --- a/config/routes.js +++ b/config/routes.js @@ -35,6 +35,9 @@ module.exports.routes = { '/': { view: 'home/index' }, + '/about': { + view: 'about' + }, /* // But what if you want your home page to display diff --git a/views/about.jade b/views/about.jade new file mode 100644 index 0000000..356f4a3 --- /dev/null +++ b/views/about.jade @@ -0,0 +1,36 @@ +extends interior-page-layout + +block pagetitle + | about lunchrun.me + +block interiorcontent + .row + .col-xs-12.col-sm-8 + h2 Why lunchrun.me? + p + | If you're like me, then lunch runs at the office are always + | a little bit of a hassle. Someone is usually nice enough to + | organize it, but then the e-mails start flying and who can keep + | track of everyone's orders in all that tangled web of email threads? + p + | This is the problem that lunchrun.me wants to solve: make lunch runs + | at the office a quick and painless task. So, we give you (the lunch + | run coordinator) an easy form to fill out with the basic lunch run information + | like where you are going and who is going. Everyone gets an email linking + | back to a simple form on the site where they can enter what they want for + | lunch. As people enter their lunches, you can sit at your screen and watch + | the lunch run orders fill up to 100% and you know you're ready to go. It's + | that easy! + + h2 Help us improve! + p + | We are always looking to improve the site. So, give us your feedback! + + p + | You can keep track of recent updates listed over there under "Recent updates". + + .col-xs-12.col-sm-4 + h2 Recent updates + ul + li [5/13/14] Added meta tags + li [5/13/14] Added validation messaging to create-run form diff --git a/views/interior-page-layout.jade b/views/interior-page-layout.jade new file mode 100644 index 0000000..66fb577 --- /dev/null +++ b/views/interior-page-layout.jade @@ -0,0 +1,4 @@ +extends layout + +block content + include ../assets/linker/templates/layouts/interior-page