diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/hello.jade | 9 | ||||
-rw-r--r-- | views/index.jade | 3 | ||||
-rw-r--r-- | views/layout.jade | 10 |
3 files changed, 11 insertions, 11 deletions
diff --git a/views/hello.jade b/views/hello.jade deleted file mode 100644 index 260ca9f..0000000 --- a/views/hello.jade +++ /dev/null @@ -1,9 +0,0 @@ -extends layout - -block head - link(rel='stylesheet', href='/stylesheets/hello.css') - -block content - p.madeby Gemaakt door Noah Loomans - p.ideas Heb je ideeën om dit te verbeteren? Mail me op - a(href='mailto:noah.loomans+roostermml@hetcml.nl') noah.loomans+roostermml@hetcml.nl diff --git a/views/index.jade b/views/index.jade index df73177..3ee0d28 100644 --- a/views/index.jade +++ b/views/index.jade @@ -1,5 +1,8 @@ extends layout +block variables + - var bodyStyle = 'opacity: 0;'; + block head link(rel='stylesheet', href='/stylesheets/style.css') link(rel='stylesheet', href='/stylesheets/print.css', media='print') diff --git a/views/layout.jade b/views/layout.jade index 31b3918..f7f9e1f 100644 --- a/views/layout.jade +++ b/views/layout.jade @@ -1,8 +1,14 @@ +block variables + - var bodyStyle = ''; + doctype html html(lang='nl') head block head_top - title Metis Rooster + if isBeta + title BETA Metis Rooster + else + title Metis Rooster meta(name='theme-color',content='#F44336') meta(name='viewport', content='width=device-width, initial-scale=1') link(href='https://fonts.googleapis.com/css?family=Roboto', rel='stylesheet') @@ -12,7 +18,7 @@ html(lang='nl') link(rel="icon", type="image/png", href="/favicon-16x16.png", sizes="16x16") link(rel="mask-icon", href="/safari-pinned-tab.svg", color="#f44336") block head - body(style='opacity: 0;') + body(style=bodyStyle) block content script. (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');ga('create', 'UA-83684754-1', 'auto');ga('send', 'pageview'); |