-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
60 lines (44 loc) · 1.93 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html>
<html lang="en">
<title>Blog, kind of</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs@2/webcomponents-loader.min.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/gh/zerodevx/zero-md@1/src/zero-md.min.js"></script>
<link rel="stylesheet" href="./src/css/styles.css">
<link rel="stylesheet" href="./src/css/navbar.css">
<body>
<!-- Navbar -->
<div class="navbar">
<a class="navbar-item" href="#" onclick="setMarkdown('home.md')"><i class="fa fa-home" style="color: white;"></i></a>
<div style="flex-grow: 1;"></div>
<a class="navbar-item" href="#" onclick="setMarkdown('php.md')">PHP</a>
<a class="navbar-item" href="#" onclick="setMarkdown('javaScript.md')">JavaScript</a>
</div>
<!-- Content -->
<div style="display: block;margin-left: auto;margin-right: auto;max-width: 90vw;">
<zero-md id="content" src="./src/assets/home.md"></zero-md>
</div>
<!-- Footer -->
<footer>
<a href="https://github.com/Azgeb/">
<i class="fa fa-github fa-2x"> </i>
</a>
</footer>
<script>
// Used to toggle the menu on small screens when clicking on the menu button
function myFunction() {
var x = document.getElementById("navDemo");
if (x.className.indexOf("show") == -1) {
x.className += " show";
} else {
x.className = x.className.replace(" show", "");
}
}
</script>
<script src="./src/scripts/index.js"></script>
</body>
</html>