-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
324 lines (316 loc) · 10.9 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
<!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 | Sunnyside agency landing page</title>
<link rel="stylesheet" href="dist/css/style.css" />
</head>
<body>
<header class="header">
<div class="container row">
<a href="#" class="logo">
<img src="dist/images/logo.svg" alt="this is the logo" />
</a>
<nav class="nav">
<ul class="nav__list">
<li class="nav__item">
<a href="#" class="nav__link">
<strong>About</strong>
</a>
</li>
<li class="nav__item">
<a href="#" class="nav__link">
<strong>Services</strong>
</a>
</li>
<li class="nav__item">
<a href="#" class="nav__link">
<strong>Projects</strong>
</a>
</li>
<li class="nav__item">
<a href="#" class="nav__link --nav__button">
<strong>Contact</strong>
</a>
</li>
</ul>
</nav>
<a class="hamburger" href="#">
<img src="dist/images/icon-hamburger.svg" alt="hamburger" />
</a>
</div>
<div class="dropdown">
<nav class="dropdown__nav">
<ul class="nav__list">
<li class="nav__item">
<a href="#" class="nav__link">
<strong>About</strong>
</a>
</li>
<li class="nav__item">
<a href="#" class="nav__link">
<strong>Services</strong>
</a>
</li>
<li class="nav__item">
<a href="#" class="nav__link">
<strong>Projects</strong>
</a>
</li>
<li class="nav__item">
<a href="#" class="nav__link --nav__button">
<strong>Contact</strong>
</a>
</li>
</ul>
</nav>
</div>
<div class="header__title row">
<h1 class="title first__title">We are creatives</h1>
<picture>
<img src="dist/images/icon-arrow-down.svg" alt="arrow down" />
</picture>
</div>
</div>
</header>
<main class="main container grid">
<section class="first-section">
<div class="container row">
<picture>
<source
media="(max-width:800px)"
srcset="dist/images/mobile/image-transform.jpg"
/>
<source
media="(min-width:850px)"
srcset="dist/images/desktop/image-transform.jpg"
/>
<img src="dist/images/desktop/image-transform.jpg" alt="an egg" />
</picture>
<div class="col section__col">
<h2 class="section__title">Transform your brand</h2>
<p class="section__info">
We are a full-service creative agency specializing in helping
brands grow fast. Engage your clients through compelling visuals
that do most of the marketing for you.
</p>
<a class="section__button button--yellow" href="#">Learn more </a>
</div>
</div>
</section>
<section class="second-section">
<div class="container row">
<picture>
<source
media="(max-width:550px)"
srcset="dist/images/mobile/stand-out.jpg"
/>
<source
media="(min-width:650px)"
srcset="dist/images/desktop/image-stand-out.jpg"
/>
<img src="dist/images/mobile/image-stand-out.jpg" alt="a pink cup" />
</picture>
<div class="col section__col">
<h2 class="section__title">Stand out to the right audience</h2>
<p class="section__info">
Using a collaborative formula of designers, researchers,
photographers, videographers, and copywriters, we’ll build and
extend your brand in digital places.
</p>
<a class="section__button button--red" href="#">Learn more </a>
</div>
</div>
</section>
<section class="third-section">
<div class="container row">
<div class="img_wrapper">
<div class="col">
<h2 class="section__title">Graphic design</h2>
<p class="section__info">
Great design makes you memorable. We deliver artwork that
underscores your brand message and captures potential clients’
attention.
</p>
</div>
</div>
</div>
</section>
<section class="fourth-section">
<div class="container row">
<div class="img_wrapper">
<div class="col">
<h2 class="section__title">Photography</h2>
<p class="section__info">
Increase your credibility by getting the most stunning,
high-quality photos that improve your business image.
</p>
</div>
</div>
</div>
</section>
<section class="fifth-section testimonials-section">
<div class="container row">
<div class="testimonials">
<h3 class="section__title">Client Testimonials</h3>
<div class="col">
<picture>
<img src="dist/images/image-emily.jpg" alt="Emily" />
</picture>
<p class="section__info">
We put our trust in Sunnyside and they delivered, making sure
our needs were met and deadlines were always hit.
</p>
<div class="profession">
<h3 class="profession__title">Emily R.</h3>
<p class="profession__info">Marketing Director</p>
</div>
</div>
<div class="col">
<picture>
<img src="dist/images/image-thomas.jpg" alt="Thomas" />
</picture>
<p class="section__info">
Sunnyside’s enthusiasm coupled with their keen interest in our
brand’s success made it a satisfying and enjoyable experience.
</p>
<div class="profession">
<h3 class="profession__title">Thomas S.</h3>
<p class="profession__info">Chief Operating Officer</p>
</div>
</div>
<div class="col">
<picture>
<img src="dist/images/image-jennie.jpg" alt="Jennie" />
</picture>
<p class="section__info">
Incredible end result! Our sales increased over 400% when we
worked with Sunnyside. Highly recommended!
</p>
<div class="profession">
<h3 class="profession__title">Jennie F.</h3>
<p class="profession__info">Business Owner</p>
</div>
</div>
</div>
</div>
</section>
</main>
<footer class="footer">
<div class="container row">
<div class="gallery">
<picture>
<source
media="(max-width:550px)"
srcset="dist/images/mobile/image-gallery-milkbottles.jpg"
/>
<source
media="(min-width:650px)"
srcset="dist/images/desktop/image-gallery-milkbottles.jpg"
/>
<img
src="dist/images/mobile/image-gallery-milkbottles.jpg
"
alt="some milkbottles in a row under some clouds"
/>
</picture>
<picture>
<source
media="(max-width:550px)"
srcset="dist/images/mobile/image-gallery-orange.jpg"
/>
<source
media="(min-width:650px)"
srcset="dist/images/desktop/image-gallery-orange.jpg"
/>
<img
src="dist/images/mobile/image-gallery-orange.jpg
"
alt="a slice of orange on a plate"
/>
</picture>
<picture>
<source
media="(max-width:550px)"
srcset="dist/images/mobile/image-gallery-cone.jpg"
/>
<source
media="(min-width:650px)"
srcset="dist/images/desktop/image-gallery-cone.jpg"
/>
<img
src="dist/images/mobile/image-gallery-cone.jpg
"
alt="a ice cream cone without ice cream "
/>
</picture>
<picture>
<source
media="(max-width:550px)"
srcset="dist/images/mobile/image-gallery-sugar-cubes.jpg"
/>
<source
media="(min-width:650px)"
srcset="dist/images/desktop/image-gallery-sugarcubes.jpg"
/>
<img
src="dist/images/mobile/image-gallery-sugar-cubes.jpg
"
alt="a bunch of sugarcubes stacked upon each others "
/>
</picture>
</div>
<div class="col">
<a href="#" class="logo">
<img src="dist/images/logo.svg" alt="this is the logo" />
</a>
<section class="footer__wrapper_links">
<div class="footer__links">
<a href="#">About</a>
<a href="#">Services</a>
<a href="#">Projects</a>
</div>
<div class="footer__links social">
<a href="#">
<img src="dist/images/icon-facebook.svg" alt="facebook icon" />
</a>
<a href="#">
<img src="dist/images/icon-instagram.svg" alt="instagram icon" />
</a>
<a href="#">
<img src="dist/images/icon-twitter.svg" alt="twitter icon" />
</a>
<a href="#">
<img src="dist/images/icon-pinterest.svg" alt="pinterest icon" />
</a>
</div>
</section>
</div>
</div>
</footer>
<div class="attribution">
Challenge by
<a href="https://www.frontendmentor.io?ref=challenge" target="_blank"
>Frontend Mentor</a
>. Coded by
<a href="https://www.frontendmentor.io/profile/purplehippo911">
Purplehipp911</a
>.
</div>
<script>
const hamburger = document.querySelector(".hamburger");
const dropdown = document.querySelector(".dropdown");
hamburger.addEventListener("click", (e) => {
dropdown.classList.toggle("open");
});
</script>
</body>
</html>