aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJan Tuomi <jan.tuomi@eficode.com>2018-03-03 14:56:44 +0200
committerJan Tuomi <jan.tuomi@eficode.com>2018-03-03 14:56:44 +0200
commit04ac06579b70014d794c4a9f36630df4e36db89b (patch)
treea881de1209913a52fef4b2168da08597a7acb2f0 /src
parent9e4b996de217c827a8949290bca7f896dab26f46 (diff)
Some stuff
Diffstat (limited to 'src')
-rw-r--r--src/app.js2
-rw-r--r--src/components/header.tag2
-rw-r--r--src/index.html3
3 files changed, 4 insertions, 3 deletions
diff --git a/src/app.js b/src/app.js
index 85732ec..6541e13 100644
--- a/src/app.js
+++ b/src/app.js
@@ -1,4 +1,4 @@
import riot from 'riot';
import './tags';
-riot.mount(document.getElementById('app'), 'site'); \ No newline at end of file
+riot.mount('site'); \ No newline at end of file
diff --git a/src/components/header.tag b/src/components/header.tag
index 13e37ae..1dbe3f8 100644
--- a/src/components/header.tag
+++ b/src/components/header.tag
@@ -1,7 +1,7 @@
<header>
<h1>Hello, my name is Jan</h1>
- <style>
+ <style type="less">
header {
display: flex;
}
diff --git a/src/index.html b/src/index.html
index ca61b52..23c8374 100644
--- a/src/index.html
+++ b/src/index.html
@@ -5,13 +5,14 @@
<title>Jan Tuomi</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="description" content="Jan Tuomi. Software Engineer and Student at Aalto University.">
<link href="https://fonts.googleapis.com/css?family=Lato:400,400i,700" rel="stylesheet">
<script src="https://use.fontawesome.com/eaed73f4f5.js"></script>
<link rel="stylesheet" href="style.css">
</head>
<body>
- <div id="app"></div>
+ <site></site>
<script src="app.js"></script>
</body>
</html>