-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
162 lines (152 loc) · 4.77 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
<!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="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700;800&display=swap"
rel="stylesheet"
/>
<link rel="icon" type="image/png" sizes="32x32" href="./assets/images/favicon-32x32.png" />
<link rel="stylesheet" href="css/style.css" />
<script src="js/script.js" defer></script>
<title>Frontend Mentor | News homepage</title>
</head>
<body>
<!-- Header -->
<header class="header container">
<div class="logo-container">
<img src="assets/images/logo.svg" alt="Logo" />
</div>
<nav>
<!-- Close Nav Button -->
<div id="close-menu">
<img src="assets/images/icon-menu-close.svg" alt="Close Navigation" />
</div>
<!-- Main Nav -->
<ul class="main-nav">
<li>
<a href="#">Home</a>
</li>
<li>
<a href="#">New</a>
</li>
<li>
<a href="#">Popular</a>
</li>
<li>
<a href="#">Trending</a>
</li>
<li>
<a href="#">Categories</a>
</li>
</ul>
<!-- Mobile Nav -->
<ul class="mobile-nav">
<li>
<a href="#">Home</a>
</li>
<li>
<a href="#">New</a>
</li>
<li>
<a href="#">Popular</a>
</li>
<li>
<a href="#">Trending</a>
</li>
<li>
<a href="#">Categories</a>
</li>
</ul>
<div class="overlay"></div>
<!-- Close Nav Button -->
<div id="open-menu" class="">
<img src="assets/images/icon-menu.svg" alt="Open Navigation" />
</div>
</nav>
</header>
<!-- Section: Showcase -->
<section class="showcase container grid">
<!-- Grid item one -->
<div class="grid-item-one">
<picture>
<source media="(min-width: 768px)" srcset="assets/images/image-web-3-desktop.jpg" />
<img src="assets/images/image-web-3-mobile.jpg" alt="" />
</picture>
<div class="articles">
<article>
<h1>The Bright Future of Web 3.0?</h1>
</article>
<article class="content">
<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>
<button>Read More</button>
</article>
</div>
</div>
<!-- Grid item two -->
<div class="grid-item-two">
<h2>New</h2>
<article>
<h3>Hydrogen VS Eletric Cars</h3>
<p>Will hydrogen-fueld cars ever catch up to EVs?</p>
</article>
<article>
<h3>The Downsides of AI Artistry</h3>
<p>What are the possible adverse effects of on-demand AI image generation?</p>
</article>
<article>
<h3>Is VC Funding Drying Up?</h3>
<p>Private funding by VC films is down 50% YOY. We take a look at what that means.</p>
</article>
</div>
</section>
<!-- Section: Cards -->
<section class="cards container">
<!-- Card -->
<div class="card">
<div class="img-wrapper">
<img src="assets/images/image-retro-pcs.jpg" alt="Retro PCs" />
</div>
<div>
<span>01</span>
<h4>Reviving Retro PCs</h4>
<p>What happens when old PCs are given modern upgrades?</p>
</div>
</div>
<!-- Card -->
<div class="card">
<div class="img-wrapper">
<img src="assets/images/image-top-laptops.jpg" alt="Retro PCs" />
</div>
<div>
<span>02</span>
<h4>Top 10 Laptops of 2022</h4>
<p>Our best picks for various needs and budgets.</p>
</div>
</div>
<!-- Card -->
<div class="card">
<div class="img-wrapper">
<img src="assets/images/image-gaming-growth.jpg" alt="Retro PCs" />
</div>
<div>
<span>03</span>
<h4>The Growth of Gaming</h4>
<p>How the pandemic has sparked fresh opportunities.</p>
</div>
</div>
</section>
<!-- <div class="attribution">
Challenge by
<a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a href="#">Your Name Here</a>.
</div> -->
</body>
</html>