-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
269 lines (170 loc) · 6.57 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- displays site properly based on user's device -->
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<title>Frontend Mentor | News homepage</title>
<!-- Bootstrap files -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://getbootstrap.com/docs/5.2/assets/css/docs.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js"></script>
<!-- CSS file -->
<link rel="stylesheet" href="./style.css">
</head>
<body>
<!-- Header Section -->
<div class="container-fluid background-width">
<header>
<nav class="navbar navbar-expand-sm">
<div class="container-fluid navbar">
<a class="navbar-brand" href="#">
<img src="./assets/images/logo.svg" alt="#">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasNavbar"
aria-controls="offcanvasNavbar">
<span class="navbar-toggler-icon"></span>
</button>
<div class="offcanvas offcanvas-end" tabindex="-1" id="offcanvasNavbar"
aria-labelledby="offcanvasNavbarLabel">
<div class="offcanvas-header">
<h5 class="offcanvas-title" id="offcanvasNavbarLabel"></h5>
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<ul class="navbar-nav justify-content-end flex-grow-1">
<li class="nav-item">
<a class="nav-link" aria-current="page" href="#">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" aria-current="page" href="#">New</a>
</li>
<li class="nav-item">
<a class="nav-link" aria-current="page" href="#">Popular</a>
</li>
<li class="nav-item">
<a class="nav-link" aria-current="page" href="#">Trending</a>
</li>
<li class="nav-item">
<a class="nav-link" aria-current="page" href="#">Categories</a>
</li>
</ul>
</div>
</div>
</div>
</nav>
</header>
<!-- Home -->
<main class="top-margin">
<div class="row">
<div class="col-sm-8">
<div class="row">
<div class="col-sm-12">
<picture>
<source media="(max-width: 578px)" srcset="./assets/images/image-web-3-mobile.jpg">
<source media="(max-width: 1440px)" srcset="./assets/images/image-web-3-desktop.jpg">
<img src="./assets/images/image-web-3-desktop.jpg" alt="Web 3 Image">
</picture>
</div>
<div class="col-sm-6 mt-4">
<h1>The Bright Future of Web 3.0?</h1>
</div>
<div class="col-sm-6 mt-4 pe-4">
<p>
We dive into the next evolution of the web that claims to put the power of the platforms back into the
hands of the people.
But is it really fulfilling its promise?
</p>
<br>
<button class="read-more-btn mt-3">Read More</button>
</div>
</div>
</div>
<div class="col-sm-4 new-tab">
<div class="container-fluid mt-2 news-tab">
<h2 class="new-tab-title mb-4">
New
</h2>
<h3>
<a href="#" class="news-link">Hydrogen VS Electric Cars</a>
</h3>
<p class="mt-2">Will hydrogen-fueled cars ever catch up to EVs?</p>
<hr>
<h3>
<a href="#" class="news-link">The Downsides of AI Artistry</a>
</h3>
<p class="mt-2">
What are the possible adverse effects of on-demand AI image generation?
</p>
<hr>
<h3>
<a href="#" class="news-link">Is VC Funding Drying Up?</a>
</h3>
<p class="mt-2">
Private funding by VC firms is down 50% YOY. We take a look at what that means.
</p>
</div>
</div>
</div>
<div class="row mt-5">
<div class="col-sm-4">
<table>
<tr>
<td>
<img src="./assets/images/image-retro-pcs.jpg" alt="Retro pcs Image" class="bottom-section-image me-3">
</td>
<td>
<h2 class="bottom-section-no mt-3">01</h2>
<h3 class="text-dark">
<a href="#" class="nav-link">Reviving Retro PCs</a>
</h3>
<p>What happens when old PCs are given modern upgrades?</p>
</td>
</tr>
</table>
</div>
<div class="col-sm-4">
<table>
<tr>
<td>
<img src="./assets/images/image-top-laptops.jpg" alt="Top Laptops Image"
class="bottom-section-image me-4">
</td>
<td>
<h2 class="bottom-section-no mt-3">02</h2>
<h3 class="text-dark">
<a href="#" class="nav-link">Top 10 Laptops of 2022</a>
</h3>
<p>Our best picks for various needs and budgets.</p>
</td>
</tr>
</table>
</div>
<div class="col-sm-4">
<table>
<tr>
<td>
<img src="./assets/images/image-gaming-growth.jpg" alt="Gaming Growth Image"
class="bottom-section-image me-3">
</td>
<td>
<h2 class="bottom-section-no mt-3">03</h2>
<h3 class="text-dark">
<a href="#" class="nav-link">The Growth of Gaming</a>
</h3>
<p>How the pandemic has sparked fresh opportunities.</p>
</td>
</tr>
</table>
</div>
</div>
</main>
</div>
<!-- creator attribution -->
<div class="attribution">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a href="#">Ansh Mittal</a>.
</div>
</body>
</html>