index.html 556 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width">
		<title>Arch Linux Navigation Bar</title>
		<link rel="stylesheet" href="../css/navbar.css" type="text/css" media="screen" title="no title" charset="utf-8">
	</head>
	<body>
	</body>

	<script>
		document.addEventListener('DOMContentLoaded', (event) => {
			fetch("/html/navbar.html")
			.then(response => {
				return response.text()
			})
			.then(data => {
				document.querySelector("body").innerHTML = data;
			});
		});
	</script>
</html>