-
Notifications
You must be signed in to change notification settings - Fork 17
/
dashboard.html
139 lines (139 loc) · 3.78 KB
/
dashboard.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
128
129
130
131
132
133
134
135
136
137
138
139
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Thunderbolt - Dashboard</title>
<link rel="shortcut icon" href="./assets/images/dsc_logo.ico" />
<link rel="stylesheet" href="./assets/font-awesome/css/all.min.css" />
<link rel="stylesheet" href="./assets/css/index.min.css" />
</head>
<body>
<div class="loading hide">
<div class="loader">Loading...</div>
</div>
<header class="white">
<div class="sidenav__container">
<aside class="sidenav active">
<div class="sidenav__logo">
<img src="./assets/images/dsc_logo.svg" alt="DSC Unilag Logo" />
<p>Developer Students Club</p>
</div>
<ul class="sidenav__links">
<li class="sidenav__link">
<a href="">BLOG</a>
</li>
<li class="sidenav__link articlesLink">
<a href="">ARTICLES</a>
</li>
<li class="sidenav__link contributorsLink">
<a href="">CONTRIBUTORS</a>
</li>
<li class="sidenav__link applicantsLink">
<a href="">APPLICANTS</a>
</li>
</ul>
<div class="sidenav-reg__links">
<button class="sidenav-reg__link logout_btn">
LOGOUT
</button>
</div>
</aside>
</div>
<nav class="navbar">
<button class="sidenav__btn">
<span class="bar"></span>
<span class="bar"></span>
<span class="bar"></span>
</button>
<!--TODO Give better classname-->
<div class="navbar__wrapper">
<div class="navbar__logo">
<img src="./assets/images/dsc_logo.svg" alt="DSC Unilag Logo" />
<p>Developer Students Club</p>
</div>
</div>
<ul class="navbar__links">
<li class="navbar__link navbar__link--active">
Blog
</li>
<li class="navbar__link articlesLink">
Articles
</li>
<li class="navbar__link contributorsLink">
Contributors
</li>
<li class="navbar__link applicantsLink">
Applicants
</li>
</ul>
<div class="navbar__registration-links">
<a href="#" class="btn navbar__registration-link logout_btn">
LOGOUT
</a>
</div>
</nav>
</header>
<main class="dashboard__main"></main>
<main class="single__article-main">
<button class="btn"><i class="fas fa-arrow-left"></i> Back</button>
<section class="single__article-page"></section>
</main>
<footer>
<ul class="footer-page-links">
<li class="footer-page-link">
Blog
</li>
<li class="footer-page-link">
Articles
</li>
<li class="footer-page-link">
Contributors
</li>
<li class="footer-page-link">
Applicants
</li>
</ul>
<ul class="sm-icons">
<li class="sm-icon">
<a href="" class="twitter-icon">
<img src="./assets/images/tw.svg" alt="" />
</a>
</li>
<li class="sm-icon">
<a href="">
<img src="./assets/images/gb.svg" alt="" />
</a>
</li>
<li class="sm-icon">
<a href="">
<img src="./assets/images/ig.svg" alt="" />
</a>
</li>
</ul>
<p class="copyright">
© 2019 Thunderbolt, All Rights Reserved.
</p>
<img
src="./assets/images/dsc_logo.svg"
alt="Dsc Unilag logo"
class="dsc-logo"
/>
</footer>
<script>
const sidenavBtn = document.querySelector(".sidenav__btn");
const sidenav = document.querySelector(".sidenav__container");
sidenavBtn.addEventListener("click", () => {
if (sidenav.classList.contains("active")) {
sidenav.classList.remove("active");
sidenavBtn.classList.remove("sidenav__btn--active");
} else {
sidenav.classList.add("active");
sidenavBtn.classList.add("sidenav__btn--active");
}
});
</script>
<script src="assets/js/dist/bundle.min.js"></script>
</body>
</html>