-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlayout-improved-slightly-big-gap-right.pug
59 lines (55 loc) · 1.36 KB
/
layout-improved-slightly-big-gap-right.pug
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
doctype html
html
head
title= title
meta(charset='utf-8')
link(rel='stylesheet', href='/stylesheets/headernav.css')
block scripts
script(src='/javascripts/index.js')
body
header
// Turns the logo into a link for the welcome page
a(href='/')
// I made this logo using GIMP
img(src='/images/logo.PNG', alt='logo', style='margin: 0; height: 100px; float: left')
br
//maybe try do a user/not user nav switch for register andf my profile as only one should be visible at a time
if (!user)
a(href="/login") Login
br
a(href="/register") Register
if (user)
p Welcome #{user.username}
a(href="/profile") View Profile
br
a(href="/logout") Logout
#wrapper
nav
// Nav links area.
ul
li
a(href='/') Home
li
a(href='/register') Register
li
a(href='/profile') My Profile
li
a(href='/projects') My Projects
li
a(href='/chat') Chat
li
a(href='/about') About
li
a(href='/login') Login
block content
#content
block foot
footer
br
// time
#dynamic_time
br
#last_date
script.
startTime()
dateLastModified()