Add startpage

This commit is contained in:
Tristan Maat 2018-04-15 23:12:01 +00:00
parent e248caab29
commit 263b09c912
4 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,9 @@
import "bootstrap";
import "./startpage.scss";
function print_time_recursively (element) {
element.html(new Date().toLocaleString());
setTimeout(() => print_time_recursively(element), 1000);
}
$(() => print_time_recursively($("#clock h1")));

View file

@ -0,0 +1,7 @@
extends ../lib/pug/base
block content
.container
.row
#clock.col-md-12
h1

View file

@ -0,0 +1,6 @@
@import "../lib/scss/main";
@import "~bootstrap/scss/bootstrap";
#clock {
text-align: center;
}