generated from usf-cs360-spring2020/template-bulma
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnavbar.html
127 lines (109 loc) · 4.29 KB
/
navbar.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<!-- Page header -->
<!-- https://bulma.io/documentation/layout/hero/ -->
<section class="hero is-primary">
<div class="hero-body">
<div class="container">
<h1 class="title">2019 SF Eviction Notices Visualization</h1>
</div>
</div>
</section>
<!-- End page header -->
<!-- Page navigation -->
<!-- https://bulma.io/documentation/components/navbar/ -->
<nav class="navbar is-primary" role="navigation" aria-label="main navigation">
<div class="container">
<div class="navbar-brand">
<!-- TODO: Change link to repository homepage if needed -->
<!-- TODO: Change which navbar-item is-active if needed -->
<a class="navbar-item" href="index.html">
<span class="icon"><i class="fas fa-home"></i></span>
<span>Home</span>
</a>
<a role="button" class="navbar-burger burger" aria-label="menu" aria-expanded="false" data-target="main-menu">
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
</a>
</div>
<div id="main-menu" class="navbar-menu has-text-weight-medium">
<!-- Left navbar items -->
<div class="navbar-start">
<a class="navbar-item" href="data.html" title="Data">
<span class="icon"><i class="fas fa-table"></i></span>
<span>Data</span>
</a>
<!-- Left navbar items -->
<div class="navbar-start">
<a class="navbar-item" href="feedback.html" title="Feedback">
<span class="icon"><i class="fa fa-comments"></i></span>
<span>Feedback</span>
</a>
<!-- TODO: Modify or remove dropdown -->
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link">
Visualizations
</a>
<div class="navbar-dropdown">
<p class="buttons">
<a class="navbar-item" href="map.html">
<span class="icon"><i class="fas fa-map-marked"></i></span>
<span>Alpha Prototype</span>
</a>
<p class="buttons">
<a class="navbar-item" href="map1.html">
<span class="icon"><i class="fas fa-map-marked"></i></span>
<span>Beta Prototype</span>
</a>
<p class="buttons">
<a class="navbar-item" href="map2.html">
<span class="icon"><i class="fas fa-map-marked"></i></span>
<span>Final</span>
</a>
<!-- <a class="button is-large is-info" href="https://usf-cs360-spring2020.github.io/homework1-adityanz/bar.html">
<span class="icon is-medium">
<i class="fas fa-chart-bar"></i>
</span>
<span>Beta Prototype</span>
</a> -->
<!-- <div class="navbar-dropdown"></div> -->
<!-- <a class="navbar-item" href="https://usf-cs360-spring2020.github.io/midterm-windows-10/stackBars.html">
<span class="icon"><i class="fas fa-chart-bar"></i></span>
<span>Stack Bar</span>
</a> -->
</div>
</div>
</div>
</div>
<!-- Right navbar items -->
<div class="navbar-end">
<!-- TODO: Update as needed -->
<a class="navbar-item" href="grade.html" title="Releases">
<span class="icon"><i class="fas fa-tasks"></i></span>
<span>Releases</span>
</a>
<a class="navbar-item" href="about.html" title="About">
<span class="icon"><i class="fas fa-info-circle"></i></span>
<span>About</span>
</a>
</div>
</div>
<!-- </div> -->
</nav>
<!-- End page navigation -->
<!-- Mobile menu responsiveness -->
<!-- https://bulma.io/documentation/components/navbar/ -->
<script>
document.addEventListener('DOMContentLoaded', () => {
const $navbarBurgers = Array.prototype.slice.call(document.querySelectorAll('.navbar-burger'), 0);
if ($navbarBurgers.length > 0) {
$navbarBurgers.forEach( el => {
el.addEventListener('click', () => {
const target = el.dataset.target;
const $target = document.getElementById(target);
el.classList.toggle('is-active');
$target.classList.toggle('is-active');
});
});
}
});
</script>