Skip to content
Permalink
Browse files

Fix asset paths

  • Loading branch information...
nlaz committed Feb 25, 2019
1 parent 0592c28 commit e3180e258e943409ce2e704b86ce0a40ee551a8e
@@ -3,7 +3,7 @@ const express = require("express");
const router = express.Router();

router.get("/requesting", function(req, res) {
// TODO
res.render("tutorial/index");
});

module.exports = router;
@@ -2,7 +2,7 @@
<div class="container text-center py-5 mb-4">
<img src="img/logo.png" class="w-100" style="max-width:120px;" />
<div class="mt-3 mb-4">
<h1 class="h1 mb-0">Hackathon Flask Starter</h1>
<h1 class="h1 mb-0">Hackathon Node.js Starter</h1>
<h2 class="h4 text-gray font-weight-light">Build your hackathon project faster.</h2>
</div>
<a class="btn btn-primary mt-2" href="https://github.com/MLH/mlh-hackathon-nodejs-starter"> Check the Docs </a>
@@ -4,15 +4,13 @@
<meta charset="utf-8" />
<title>My Hackathon Project</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<link rel="shortcut icon" href="favicon.ico" />
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" />
<link rel="stylesheet" href="css/colors.css" />
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="/css/colors.css" />
<link rel="stylesheet" href="/css/style.css" />
</head>
<body>
{{> header }}
{{{ body }}}
{{> footer }}
{{> header }} {{{ body }}} {{> footer }}

<!-- Scripts for Bootstrap -->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"></script>
@@ -28,12 +28,10 @@
Tutorials
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="/requesting">Requesting Data</a>
<a class="dropdown-item" href="/tutorial/requesting">Requesting Data</a>
</div>
</li>
<li class="nav-item">
<a class="nav-link text-inherit" href="/auth/login/github"> Login with GitHub </a>
</li>
<li class="nav-item"><a class="nav-link text-inherit" href="/auth/login/github"> Login with GitHub </a></li>
</ul>
</div>
</div>
@@ -1 +1,10 @@
<h4>Tutorial</h4>
<div class="bg-dark text-light">
<div class="container text-center py-5 mb-4">
<img src="/img/logo.png" class="w-100" style="max-width:120px;" />
<div class="mt-3 mb-4">
<h1 class="h1 mb-0">Requesting Data</h1>
<h2 class="h4 font-weight-light text-gray-light">Learn how to retrieve data from GitHub.</h2>
</div>
<a class="btn btn-outline-light" href="https://developer.github.com/v3/">Check GitHub API</a>
</div>
</div>

0 comments on commit e3180e2

Please sign in to comment.
You can’t perform that action at this time.