From 62aa8414d51c8481fdac9fd09062a57bac7e3c29 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Mon, 25 Sep 2017 19:33:20 +0000 Subject: [PATCH] Added a real index --- controllers/index/templates/index.pug | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/controllers/index/templates/index.pug b/controllers/index/templates/index.pug index ca3d363..af9eb6c 100644 --- a/controllers/index/templates/index.pug +++ b/controllers/index/templates/index.pug @@ -1,4 +1,24 @@ extends ../../../templates/base.pug block content - p Hello world + .jumbotron + h1.display-3 Welcome#{session.user !== undefined ? ', ' + session.user._username.value : ' on ADEjs'}! + if session.user === undefined + p.lead. + On this site, you can subscribe, set your calendar information + and we will compute for you your total time and TD equivalent + time. + hr.my-4 + p. + If you are already registered on our site, you can + sign in, or if you are new, + you can sign up, it's free! + + else + p.lead. + Feel free to click one of the links in the top bar (I know, for + the moment there is only one link...) to get information about + your calendar! + hr + +