Initial commit
This commit is contained in:
122
server/views/templates/layout.pug
Normal file
122
server/views/templates/layout.pug
Normal file
@@ -0,0 +1,122 @@
|
||||
|
||||
doctype html
|
||||
html(lang="en" dir="ltr")
|
||||
head
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
|
||||
<link async href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
||||
link(rel="icon", href="/static/img/mantra-icon.png", type="image/png")
|
||||
|
||||
block seo
|
||||
title Mantra
|
||||
|
||||
//- Using Material Design Lite for the CSS stuff
|
||||
//- https://getmdl.io
|
||||
//- <script src="https://code.getmdl.io/1.3.0/material.min.js"></script>
|
||||
//- <link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.indigo-pink.min.css">
|
||||
link(rel="stylesheet", href="/static/css/materialize.min.css")
|
||||
style(media="screen")
|
||||
include ../css/site-layout.css
|
||||
style(media="screen")
|
||||
include ../css/site.css
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
|
||||
block additionalStyle
|
||||
body
|
||||
ul.sidenav.sidenav-fixed#slide-out
|
||||
li
|
||||
.user-view.primary-color-light
|
||||
.background
|
||||
a#name
|
||||
p.flow-text.white-text.name Mantra
|
||||
a#bio
|
||||
span.white-text Mantra Mantra Mantra
|
||||
a#email
|
||||
span.white-text.email mantra@exonumia.africa
|
||||
|
||||
if user
|
||||
li
|
||||
.divider
|
||||
li
|
||||
a(href="/account")
|
||||
i.material-icons.black-text person
|
||||
span account
|
||||
li
|
||||
a(href="/account/tokens")
|
||||
i.material-icons.black-text vpn_key
|
||||
span tokens
|
||||
li
|
||||
form.center(action="/account/logout" method="POST")
|
||||
<button class="btn-flat" type="submit">logout</button>
|
||||
//- li.red-text
|
||||
a DELETE ACCOUNT
|
||||
else
|
||||
li
|
||||
a(href="/account/authenticate") login/register
|
||||
//- li
|
||||
a(href="/login/hd-auth") login with hd-auth
|
||||
|
||||
header(role="banner")
|
||||
block navigation
|
||||
nav.primary-color
|
||||
.nav-wrapper
|
||||
a.brand-logo.center.hide-on-small-only(href="/") Mantra
|
||||
ul.left
|
||||
li
|
||||
a.sidenav-trigger(href="#", data-target="slide-out")
|
||||
i.material-icons menu
|
||||
|
||||
main(role="main")
|
||||
.row
|
||||
.col.s12
|
||||
//- I just need the space at the top of the page to be good on mobile...
|
||||
block content
|
||||
.container
|
||||
p.flow-text Center content
|
||||
|
||||
.row
|
||||
.col.s12
|
||||
//- I just need some space at the bottom...
|
||||
|
||||
block footer
|
||||
footer.primary-color.page-footer(role="footer")
|
||||
.container
|
||||
.row
|
||||
.col.s12.m6
|
||||
p.flow-text Follow
|
||||
ul
|
||||
li
|
||||
a.white-text(href="https://www.twitter.com/exonumia280") Twitter
|
||||
li
|
||||
a.white-text(href="https://www.facebook.com/exonumia.africa") Facebook
|
||||
li
|
||||
a.white-text(href="https://www.instagram.com/exonumia.africa") Instagram
|
||||
li
|
||||
a.white-text(href="https://www.linkedin.com/company/exonumia-africa") LinkedIn
|
||||
|
||||
.col.s12.m6
|
||||
//- p.flow-text Links
|
||||
//- ul
|
||||
li
|
||||
a.white-text(href="/faq") FAQ
|
||||
li
|
||||
a.white-text(href="/privacy") Privacy Policy
|
||||
li
|
||||
a.white-text(href="/compliance") Compliance
|
||||
li
|
||||
a.white-text(href="/terms") Terms
|
||||
li
|
||||
a.white-text(href="/contact") Contact
|
||||
|
||||
.footer-copyright.primary-color-dark
|
||||
.container
|
||||
span © 2021
|
||||
a(href="https://sigidli.com/")
|
||||
strong Sigidli
|
||||
|
||||
|
||||
script(src="/static/js/materialize.min.js")
|
||||
script
|
||||
include ../js/site.js
|
||||
block additionalScripts
|
||||
//- All other scripts will be added here as they are needed in the views
|
||||
Reference in New Issue
Block a user