-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathblog.html
56 lines (56 loc) · 1.88 KB
/
blog.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
<!DOCTYPE html>
<html>
<head>
<title>CBSC</title>
<meta name="description" content="School Newspaper and blog" />
<link rel="stylesheet" href="src/desktop.css"/>
</head>
<body>
<div id="navbar">
<div class="navbutton" onclick="window.location.href='index.html'">
<a href="index.html"><i icon-name="home" class="icon"></i>Home</a>
</div>
<div class="navbutton" onclick="window.location.href='blog.html'">
<a href="blog.html"><i icon-name="newspaper" class="icon"></i>News</a>
</div>
<div class="navbutton" onclick="window.location.href='tools.html'">
<a href="tools.html"><i icon-name="package" class="icon"></i>Tools</a>
</div>
<div class="navbutton" onclick="window.location.href='smp.html'">
<a href="smp.html" id="mc"
><i icon-name="sword" class="icon"></i>Minecraft</a
>
</div>
<div class="navbutton" onclick="window.location.href='clubs.html'">
<a href="clubs.html"
><i icon-name="users" class="icon"></i>Join a Club!</a
>
</div>
</div>
<div id="titlebox">
<h1 style="color: #dedede;">CBSC News</h1>
<div id="directory">
</div>
</div>
<div id="blogger">
</div>
<script src="src/blogger.js"></script>
<script src="https://unpkg.com/lucide@latest"></script>
<script>
lucide.createIcons();
</script>
<script>
var theme = document.getElementsByTagName("link")[0];
if (
navigator.userAgent.match(/Android/i) ||
navigator.userAgent.match(/iPhone/i)
) {
theme.setAttribute("href", "src/mobile.css");
console.log("Set CSS to Mobile");
} else {
theme.setAttribute("href", "src/desktop.css");
console.log("Set CSS to Desktop");
}
</script>
</body>
</html>