-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
215 lines (203 loc) · 7.03 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
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0 ,
minimum-scale=1"
/>
<title>Discord | Your Place to Talk and Hang Out</title>
<link rel="stylesheet" href="style.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/fontawesome.min.css"
integrity="sha512-P9vJUXK+LyvAzj8otTOKzdfF1F3UYVl13+F8Fof8/2QNb8Twd6Vb+VD52I7+87tex9UXxnzPgWA3rH96RExA7A=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
</head>
<body>
<div class="main">
<div class="hero-main">
<div class="leftImg">
<img src="img/leftImg.svg" class="left-img" />
</div>
<div class="rightImg">
<img src="img/rightImg.svg" class="right-img" />
</div>
<div class="nav-bar">
<div class="logo">
<svg
width="124"
height="34"
viewBox="0 0 124 34"
class="logo-3LF899"
>
<g fill="currentColor">
</g>
</svg>
</div>
<div class="nav-items">
<ul class="nav-lists">
<li><a href="#" class="nav-links">Download</a></li>
<li><a href="#" class="nav-links">Nitro</a></li>
<li><a href="#" class="nav-links">Safety</a></li>
<li><a href="#" class="nav-links">Support</a></li>
</ul>
</div>
<div class="nav-btn">
<a href="#" class="login-btn" id="open">Login</a>
</div>
<div class="bar">
<i id="openBar" class="fa fa-bars"></i>
</div>
</div>
</div>
<div class="side-nav-container">
<div class="side-nav">
<div class="side-nav-header">
<svg
width="124"
height="34"
viewBox="0 0 124 34"
class="logo-3LF899"
>
<g fill="currentColor">
</g>
</svg>
<div class="closeBar">
<i class="fa fa-times close" id="close"></i>
</div>
</div>
<div class="side-nav-lists">
<div class="nav-area">
<ul class="side-nav-items">
<li><a href="#" class="side-nav-links active">Home</a></li>
<li><a href="#" class="side-nav-links">Download</a></li>
<li><a href="#" class="side-nav-links">Nitro</a></li>
<li>
<a href="#" class="side-nav-links"
>Safety <i class="fa fa-chevron-right"></i
></a>
</li>
<li>
<a href="#" class="side-nav-links"
>Mod Academy <i class="fa fa-chevron-right"></i
></a>
</li>
<li><a href="#" class="side-nav-links">Support</a></li>
</ul>
</div>
<div class="btn-area">
<a href="#" class="hero-btn-primary"
><i class="fa fa-download"></i> Download for Windows
</a>
</div>
</div>
</div>
</div>
<!-- hero section -->
<div class="hero">
<div class="hero-content">
<h1 class="hero-title">Imagine a Place ...</h1>
<p class="hero-sub">
...where you can belong to a school club, a gaming group, or a
worldwide art community. Where just you and a handful of friends can
spend time together. A place that makes it easy to talk every day
and hang out more often.
</p>
<div class="hero-btn-container">
<a href="#" class="hero-btn-primary">
<i class="fa fa-download"></i> Download for Windows
</a>
<a href="#" class="hero-btn-secondary">Open Discord in Browser</a>
</div>
</div>
</div>
</div>
<div class="features">
<div class="features-grid features-1">
<div class="features-img">
<img src="img/feature-1.svg" />
</div>
<div class="features-text">
<p class="features-title">
Create an invite-only place where you belong
</p>
<p class="features-sub">
Discord servers are organized into topic-based channels where you
can collaborate, share, and just talk about your day without
clogging up a group chat
</p>
</div>
</div>
<div class="features-grid features-2">
<div class="features-text">
<p class="features-title">Where hanging out is easy</p>
<p class="features-sub">
Grab a seat in a voice channel when you’re free. Friends in your
server can see you’re around and instantly pop in to talk without
having to call.
</p>
</div>
<div class="features-img">
<img src="img/feature-2.svg" />
</div>
</div>
<div class="features-grid features-3">
<div class="features-img">
<img src="img/feature-3.svg" />
</div>
<div class="features-text">
<p class="features-title">From few to a fandom</p>
<p class="features-sub">
Get any community running with moderation tools and custom member
access. Give members special powers, set up private channels, and
more
</p>
</div>
</div>
</div>
<div class="tech">
<div class="tech-text">
<h1 class="tech-title">Reliable Tech for staying close</h1>
<p class="tech-sub">
Low-latency voice and video feels like you’re in the same room. Wave
hello over video, watch friends stream their games, or gather up and
have a drawing session with screen share
</p>
</div>
<div class="tech-img">
<img src="img/tech.svg" alt="tech" />
</div>
<div class="get-started">
<h1 class="get-started-title">Ready to start your journey?</h1>
<a href="#" class="hero-btn-primary">
<i class="fa fa-download"></i> Download for Windows
</a>
</div>
</div>
<div class="footer">
<h1>© Discord</h1>
</div>
<!-- <script src="script.js"></script> -->
<script>
var bar = document.querySelector(".bar");
var sideNav = document.querySelector(".side-nav");
var closeBtn = document.querySelector(".closeBar");
bar.addEventListener("click", openNav);
closeBtn.addEventListener("click", closeNav);
function openNav() {
sideNav.classList.toggle("close");
document.body.classList.toggle("overflow");
// alert("Hi");
}
function closeNav() {
sideNav.classList.remove("close");
document.body.classList.remove("overflow");
}
</script>
</body>
</html>