-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathindex.html
93 lines (72 loc) · 2.01 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<title>Vanilla Router</title>
<script defer type="module" src="js/index.js"></script>
<style>
html,
body {
margin: 0
}
body {
padding-left: 1rem;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
main {
display: grid;
grid-template-columns: 10rem 1fr;
gap: 1rem;
}
aside {
border-right: 2px solid #ddd;
}
aside ul {
list-style: none;
}
aside ul li {
padding: .3rem;
}
footer {
position: fixed;
bottom: 1rem;
width: 100%;
text-align: center;
}
</style>
</head>
<body>
<h1>Vanilla Router</h1>
<main>
<aside>
<ul>
<li>
<a href="/">Home</a>
</li>
<li>
<a href="/products">Products</a>
<ul>
<li>
<a href="/products/451/details">HC 23i</a>
</li>
</ul>
</li>
<li>
<a href="/about">About</a>
</li>
<li>
<a href="/missing">Missing route</a>
</li>
</ul>
</aside>
<section>
</section>
</main>
<footer>
Proudly written as <a target="_blank" href="https://github.com/mvneerven/vanillarouter">open source</a> by</a>
<a href="https://neerventure.com" target="_blank">Neerventure</a>
</footer>
</body>
</html>