Adding footer and auto redirection.

This commit is contained in:
Tristan Roux
2019-01-13 20:17:38 +01:00
parent ad146941a8
commit 49e7f5073e
3 changed files with 14 additions and 1 deletions

5
en/fragments/footer.html Normal file
View File

@@ -0,0 +1,5 @@
<div class="container text-light">
<hr style="padding-top: 50px;">
<p>Footer</p>
<hr>
</div>

View File

@@ -14,13 +14,20 @@
</head>
<body>
<div id="nav"></div>
<p>Add content here</p>
<div class="container">
<p>Add content here</p>
</div>
<div class="bg-dark" id="footer"></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js" integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" crossorigin="anonymous"></script>
<script>
$(function(){
$("#nav").load("fragments/navBar.html");
$("#footer").load("fragments/footer.html");
});
</script>
</body>

1
index.html Normal file
View File

@@ -0,0 +1 @@
<meta http-equiv="refresh" content="1; url=en">