@@ -2,4 +2,5 @@ export default (app)=>{
app.get("/", (req, res)=>res.sendFile(`${global.cwd}/views/index.html`));
app.get("/index.js", (req, res)=>res.sendFile(`${global.cwd}/views/build/index.js`));
app.get("/index.css", (req, res)=>res.sendFile(`${global.cwd}/views/build/index.css`));
+ app.get("/logo.svg", (req, res)=>res.sendFile(`${global.cwd}/views/logo.svg`));
}
@@ -25,6 +25,12 @@
background: var(--dark);
+.logo{
+ position: absolute;
+ top: 5px;
+ left: 5px;
+}
+
#notifier{
position: fixed;
bottom: 15px;
@@ -5,8 +5,13 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Workout Tracker</title>
<link rel="stylesheet" href="/index.css">
+ <link rel="icon" href="/logo.svg" type="image/svg+xml">
</head>
<body>
+ <svg class="logo" width="90" height="60" viewBox="10 20 80 50">
+ <path d="M10,40 Q25,20 50,30 Q75,40 90,30 Q75,50 50,60 Q25,70 10,60 Q25,50 10,40" fill="#D7263D">
+ </svg>
<p id="notifier" style="display:none">Some message here</p>
<div id="registerPage" class="page">
@@ -0,0 +1,3 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="90" height="60" viewBox="10 20 80 50">
+ <path d="M10,40 Q25,20 50,30 Q75,40 90,30 Q75,50 50,60 Q25,70 10,60 Q25,50 10,40" fill="#D7263D"/>
+</svg>