-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
85 lines (69 loc) · 3.48 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>BOIDS</title>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.6.0/p5.js"></script>
<!-- Code Block Stuff -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.23.0/themes/prism.min.css" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.23.0/prism.min.js"></script>
<link href="/SimulationLabs/Stylesheets/main.css" rel="stylesheet">
<!-- Theme Switcher -->
<script defer src="Scripts\theme.js"></script>
<script>
function myFunction() {
var x = document.getElementById("topnav");
if (x.className === "navigation-bar") {
x.className += "responsive";
} else {
x.className = "navigation-bar";
}
}
function switchTheme() {
var element = document.body;
element.classList.toggle("lightmode");
}
</script>
</head>
<body>
<!-- NAVBAR -->
<!-- To add a new item, just add it in the same format and link as the rest. Remember to do that for all of the pages -->
<!-- Don't forget to switch the active item in the navbar -->
<nav class="navigation-bar" id="topnav">
<ul class="navigation">
<li class="navigation-item navigation-item--active" id="nav-home"><a href="index">Home</a></li>
<div class="navigation-item dropdown">
<button class="navigation-item dropbtn">Labs</button>
<div class="dropdown-content">
<a href="Boids">Boids</a>
<a href="Noise">Noise</a>
<a href="BoidsExtension">Extension</a>
</div>
</div>
</ul>
<button type="button" class="theme" data-theme-toggle aria-label="change to light theme"></button>
</nav>
<div class="section">
<h2 class="section-heading">Simulation Labs</h2>
<!-- Start of content -->
<!-- To add more content, simple add <h3> headings, <p> blocks and other divs as necessary. -->
<!-- See the existing headings and paragraphs for the necessary classes -->
<div class="content">
<!-- <h3 class="section-title">Title Here</h3> -->
<p class="section-text">This is the home page. I'll probably just put a description for the course; explain what it is</p>
<!-- Code Block -->
<pre>
<code class="language-javascript">
function helloWorld() {
console.log("Hello, World!");
}
</code>
</pre>
<!-- inline code -->
<p class="section-text">Here's some text to demonstrate inline code blocks, and here's some code: <code class="language-javascript">console.log("Hello, World!");</code></p>
</div>
</div>
</body>
</html>