-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
342 lines (300 loc) · 17.1 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
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
<!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">
<title>Discord | Your Place to Talk and Hang Out</title>
<link rel="stylesheet" href="styles.css">
<link rel="shortcut icon" href="./images/favicon.ico" type="image/x-icon">
</head>
<body>
<div class="wrapper">
<!-- nav section starts -->
<div class="bg-[#404EED] font-ggSans">
<!-- navbar starts -->
<div class="text-[#fff] container max-w-[1200px] mx-auto
flex justify-between h-[72px] items-center xl:px-0 px-7">
<!-- Logo -->
<div>
<img src="./images/logo.svg" alt="" class="cursor-pointer">
</div>
<!-- nav options -->
<div class="hidden xl:flex gap-9 font-ggSans font-[600] font-[16px]">
<a href="#" class="capitalize hover:underline">download</a>
<a href="#" class="capitalize hover:underline">nitro</a>
<a href="#" class="capitalize hover:underline">discover</a>
<a href="#" class="capitalize hover:underline">safety</a>
<a href="#" class="capitalize hover:underline">support</a>
<a href="#" class="capitalize hover:underline">blog</a>
<a href="#" class="capitalize hover:underline">careers</a>
</div>
<!-- login btn -->
<div class="hidden xl:flex">
<a href="#">
<button class="bg-[#fff] px-4 p-2 rounded-full font-[500] text-[14px] self-center text-[#2c2f33] ">
Login
</button>
</a>
</div>
<!-- Hamburger Icon(only for small displays) -->
<div class="xl:hidden block">
<i class="fa-solid fa-bars text-[23px]"></i>
</div>
</div>
</div>
<!-- hero section -->
<div class="bg-[#404EED] -mt-1 relative w-full overflow-hidden ">
<img src="./images/Image0.svg"
class="hidden xl:block z-11 absolute bottom-0 top-auto scale-125" alt=""/>
<img src="./images/Image1.svg" class="hidden xl:block absolute z-10 bottom-0 -right-[19%]" alt="" />
<img src="./images/Image2.svg" class="hidden xl:block absolute z-10 bottom-0 -left-[20%]" alt="" />
<!-- content wala part -->
<div class="flex flex-col max-w-[1200px] text-[#fff] container xl:px-0 px-7
xl:max-w-[900px] mx-auto text-center xl:h-[555px] gap-5 pt-[50px] xl:pt-[120px]">
<h2 class="font-[800] uppercase font-['GintoNord'] text-left xl:text-center text-[34px] md:text-[56px] z-20">
Imagine a Place....
</h2>
<p class="font-[300] text-left xl:text-center text-[16px] md:text-[20px] leading-[26px]
md:leading-[32.5px] font-['gg sans'] w-[90%] md:w-[70%] xl:w-[90%] z-20 xl:self-center">
...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="hidden xl:flex flex-row items-center justify-center gap-10 font-[500] z-20">
<a href="#" class="bg-white text-black p-3 px-7 rounded-full hover:text-[#404EED]">
<i class="fa-solid fa-download mr-2"></i>
Download for Mac
</a>
<a href="#" class="bg-[#23272a] text-white p-3 px-7 rounded-full">
<i class="fa-solid fa-download mr-2"></i>
Open Discord in your Browser
</a>
</div>
<!-- Mobile/Tablet Mode Start -->
<div class="flex xl:hidden font-[500] z-20">
<a href="#" class="bg-white text-black p-3 px-7 rounded-full hover:text-[#404EED]">
<p>
<i class="fa-solid fa-download mr-2"></i>
Download from Google Play
</p>
</a>
</div>
<img src="./images/Image2.svg" class="block md:hidden ml-[-80px]" alt="" />
<div class="hidden md:flex xl:hidden mr-[-150px] mt-[-16%] justify-end">
<img src="./images/Image1.svg" class="w-[70%]" alt="" />
</div>
<!-- Mobile/Tablet Mode End -->
</div>
</div>
<!-- HERO SECTION ENDS -->
<!-- SECTION 1 STARTS -->
<div class="w-full bg-white relative">
<div class="max-w-[1200px] flex container mx-auto items-center py-14 md:py-36 flex-col md:flex-row px-7 md:px-0">
<!-- left image -->
<div class="md:w-[50%]">
<img src="./images/section1Image.svg" alt="" >
</div>
<!-- right section -->
<div class="flex flex-col w-[95%] md:w-[35%] mx-auto">
<h2 class="font-[700] text-[20px] sm:text-[28px]
md:text-[48px] font-['ggSans'] leading-[24px]
md:leading-[57.6px] mt-5 md:mt-0 ">
Create an invite-only place where you belong
</h2>
<p class="font-['ggSans'] text-[16px] sm:text-[20px] font-[400] mt-[24px]">
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>
<!-- Section 1 Ends -->
<!-- Section 2 Starts -->
<div class="w-full bg-[#f6f6f6] relative">
<div class="max-w-[1200px] flex container mx-auto items-center py-14 md:py-36 flex-col md:flex-row px-7 md:px-0">
<!-- right section -->
<div class="flex flex-col w-[95%] md:w-[30%] mx-auto">
<h2 class="font-[700] text-[20px] sm:text-[28px]
md:text-[48px] font-['ggSans'] leading-[24px] md:leading-[57.6px] mt-5 md:mt-0">
Where hanging out is easy
</h2>
<p class="font-['ggSans'] text-[16px] sm:text-[20px] font-[400] mt-[24px]">
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>
<!-- left image -->
<div class="md:w-[50%]">
<img src="./images/section2Image.svg" alt="" >
</div>
</div>
</div>
<!-- Section 2 Ends -->
<!-- section 3 starts -->
<div class="w-full bg-white relative">
<div class="max-w-[1200px] flex container mx-auto items-center py-14 md:py-36 flex-col md:flex-row px-7 md:px-0">
<!-- left image -->
<div class="md:w-[50%]">
<img src="./images/section3Image.svg" alt="" >
</div>
<!-- right section -->
<div class="flex flex-col w-[95%] md:w-[35%] mx-auto">
<h2 class="font-[700] text-[20px] sm:text-[28px] md:text-[48px] font-['ggSans'] leading-[24px]
md:leading-[57.6px] mt-5 md:mt-0 ">
From few to a fandom
</h2>
<p class="font-['ggSans'] text-[16px] sm:text-[20px] font-[400] mt-[24px]">
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>
<!-- section 3 ends -->
<!-- section 4 starts -->
<div class="bg-[#f6f6f6]">
<div class="flex flex-col container max-w-[1200px] mx-auto items-center py-14 md:py-32 px-5">
<h2 class="font-[800] font-['GintoNord'] text-[20px] leading-[19px] md:leading-[32px] text-left md:text-center md:text-[40px]">
RELIABLE TECH FOR STAYING CLOSE
</h2>
<p class="md:text-center md:w-[83%] md:text-[20px] md:leading-[32.5px] text-[16px] leading-[26px] mt-[24px]">
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>
<img src="./images/section4Image.svg" alt="" width="100%">
<!-- stars + text = dwnld btn -->
<div class="text-[32px] font-['ggSans'] font-[700] relative w-[100%] flex flex-col items-center gap-[40px]">
<img src="./images/section5Image.svg" alt="" class="absolute md:block hidden top-0">
<div class="md:text-center pt-[30px] leading-[38px]">
Ready to start your journey?
</div>
<a href="#" class="bg-[#404EED] hidden md:block w-fit text-white text-[20px]
font-[500] font-['ggSans'] px-[32px] py-[16px] rounded-full">
<i class="fa-solid fa-download mr-2"></i>
Download for Mac
</a>
</div>
<div
class="bg-[#404EED] md:hidden flex justify-center items-center mt-4
text-white text-[20px] font-[500] font-['ggSans'] px-[32px] py-[16px] rounded-3xl">
<i class="fa-solid fa-download mr-2"></i>
<p>Download from Google Play</p>
</div>
</div>
</div>
<!-- section 4 ends -->
<footer class="relative w-full bg-[#23272a]">
<!-- we are dividing the footer into 2 vertical sections -->
<div class="container text-[#5865f2] max-w-[1200px] mx-auto pt-24 flex flex-col gap-10 pb-10">
<!-- section 1 -->
<!-- this contains all the major links and all -->
<div class="flex flex-col md:flex-row xl:gap-[100px] gap-[40px] px-5">
<!-- 1st col -->
<div class="flex flex-col gap-[24px] w-[100%] md:w-[50%] xl:w-[20%]">
<h1 class="font-[800] font-['GintoNord'] text-[32px] leading-[30.4px]">
IMAGINE A
<br />
PLACE
</h1>
<!-- social media links -->
<div class="flex text-white text-[23px] gap-7">
<a href="#">
<i class="fa-brands fa-twitter"></i>
</a>
<a href="#">
<i class="fa-brands fa-instagram"></i>
</a>
<a href="#">
<i class="fa-brands fa-square-facebook"></i>
</a>
<a href="#">
<i class="fa-brands fa-youtube"></i>
</a>
</div>
</div>
<!-- 2nd cols set of all the remaining cols -->
<div class="md:w-[75%] flex justify-around flex-wrap ">
<!-- 1st subcolumn -->
<div class="w-[50%] xl:w-fit">
<h2 class="text-[16px] font-['ggSans'] xl:py-[10px] py-[15px]">
Product
</h2>
<ul class="flex flex-col text-white gap-[10px] leading-[24px] font-[400] font-['ggSans']">
<li class="hover:underline">
<a href="#">Download</a>
</li>
<li class="hover:underline">
<a href="#">Nitro</a>
</li>
<li class="hover:underline">
<a href="#">Status</a>
</li>
</ul>
</div>
<!-- 2nd subcolumn -->
<div class="w-[50%] xl:w-fit">
<h2 class="text-[16px] font-['ggSans'] xl:py-[10px] py-[15px]">
Company
</h2>
<ul class="flex flex-col text-white gap-[10px] leading-[24px] font-[400] font-['ggSans']">
<li class="hover:underline"><a href="#">About</a></li>
<li class="hover:underline"><a href="#">Jobs</a></li>
<li class="hover:underline"><a href="#">Branding</a></li>
<li class="hover:underline"><a href="#">Newsroom</a></li>
<li class="hover:underline text-[#1f1f1f00] select-none">
<a href="#">.</a>
</li>
<!-- most probably the last li is for creating some space -->
</ul>
</div>
<!-- 3rd subcolumn -->
<div class="w-[50%] xl:w-fit">
<h2 class="text-[16px] font-['ggSans'] xl:py-[10px] py-[15px]">
Resources
</h2>
<ul class="text-white flex flex-col gap-[10px] leading-[24px] font-[400] font-['ggSans']">
<li class="hover:underline"><a href="#">Colleges</a></li>
<li class="hover:underline"><a href="#">Support</a></li>
<li class="hover:underline"><a href="#">Safety</a></li>
<li class="hover:underline"><a href="#">Blog</a></li>
<li class="hover:underline"><a href="#">Feedback</a></li>
<li class="hover:underline"><a href="#">Developers</a></li>
<li class="hover:underline"><a href="#">StreamKit</a></li>
<li class="hover:underline"><a href="#">Creators</a></li>
</ul>
</div>
<!-- 4th subcolumn -->
<div class="w-[50%] xl:w-fit">
<h2 class="text-[16px] font-['ggSans'] xl:py-[10px] py-[15px]">
Policies
</h2>
<ul class="text-white flex flex-col gap-[10px] leading-[24px] font-[400] font-['ggSans']">
<li class="hover:underline"><a href="#">Terms</a></li>
<li class="hover:underline"><a href="#">Privacy</a></li>
<li class="hover:underline"><a href="#">Cookie Settings</a></li>
<li class="hover:underline"><a href="#">Guidelines</a></li>
<li class="hover:underline"><a href="#">Acknowledgements</a></li>
<li class="hover:underline"><a href="#">Licenses</a></li>
<li class="hover:underline"><a href="#">Moderation</a></li>
</ul>
</div>
</div>
</div>
<!-- section 2 -->
<!-- the hr line and uske neeche wala part in the same section -->
<div class="flex border-t-2 border-[#5865f2] items-center justify-between pt-7 mx-5">
<img src="./images/logo.svg" alt="">
<div class="xl:block hidden">
<button
class="text-white bg-[#5865f2] px-[16px] py-[7px] rounded-full leading-[24px] text-[14px] font-[500] hover:bg-[#5865f2]">
Sign up
</button>
</div>
<div class="block xl:hidden">
<button
class="text-white bg-[#5865f2] px-[16px] py-[7px] rounded-full leading-[24px] text-[14px] font-[500] hover:bg-[#5865f2]">
Download for Android
</button>
</div>
</div>
</div>
</footer>
</div>
<script src="https://kit.fontawesome.com/58a810656e.js" crossorigin="anonymous"></script>
</body>
</html>