-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
294 lines (294 loc) · 8.98 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
<!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>
<!-- Google Fonts -->
<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=Barlow:wght@600;800&family=Fraunces:opsz,wght@9..144,700;9..144,900&display=swap"
rel="stylesheet"
/>
<!-- Normalize CSS -->
<link rel="stylesheet" href="css/normalize.css" />
<!-- My styles -->
<link rel="stylesheet" href="css/styles.css" />
</head>
<body>
<header class="header">
<nav class="header__navbar">
<a href="/" class="navbar__logo">sunnyside</a>
<ul class="navbar__desktop">
<li class="navbar__item">
<a href="#about" class="navbar__link">About</a>
</li>
<li class="navbar__item">
<a href="#services" class="navbar__link">Services</a>
</li>
<li class="navbar__item">
<a href="#proyects" class="navbar__link">Projects</a>
</li>
<li class="navbar__item navbar__item--highlighted">
<a href="#contact" class="navbar__link navbar__link--highlighted">
Contact
</a>
</li>
</ul>
<button id="navbar-btn" class="navbar__btn">
<img src="images/icon-hamburger.svg" alt="☰" class="navbar__bars" />
</button>
<ul class="navbar__list" id="navbar-list">
<li class="navbar__item">
<a href="#about" class="navbar__link">About</a>
</li>
<li class="navbar__item">
<a href="#services" class="navbar__link">Services</a>
</li>
<li class="navbar__item">
<a href="#proyects" class="navbar__link">Projects</a>
</li>
<li class="navbar__item navbar__item--highlighted">
<a href="#contact" class="navbar__link navbar__link--highlighted">
Contact
</a>
</li>
</ul>
</nav>
<div class="header__hero">
<h1 class="hero__title">We are creatives</h1>
<img src="images/icon-arrow-down.svg" alt="" class="hero__arrow" />
</div>
</header>
<main>
<section id="about" class="about">
<div class="about__row about__row--left">
<picture class="about__img-container">
<source
media="(min-width: 769px)"
srcset="images/desktop/image-transform.jpg"
/>
<img
src="images/mobile/image-transform.jpg"
alt="Photography of a egg"
class="about__img"
/>
</picture>
<div class="about__body">
<h2 class="about__title">Transform your brand</h2>
<p class="about__text">
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 href="/" class="about__link about__link--yellow">Learn more</a>
</div>
</div>
<div class="about__row about__row--right">
<picture class="about__img-container">
<source
media="(min-width: 769px)"
srcset="images/desktop/image-stand-out.jpg"
/>
<img
src="images/mobile/image-stand-out.jpg"
alt="Photography of a egg"
class="about__img"
/>
</picture>
<div class="about__body">
<h2 class="about__title">Stand out to the right audience</h2>
<p class="about__text">
Using a collaborative formula of designers, researchers,
photographers, videographers, and copywriters, we’ll build and
extend your brand in digital places.
</p>
<a href="/" class="about__link about__link--red">Learn more</a>
</div>
</div>
</section>
<section id="services" class="services">
<div class="services__service services__service--graphic-design">
<h2 class="service__title">Graphic design</h2>
<p class="service__text">
Great design makes you memorable. We deliver artwork that
underscores your brand message and captures potential clients’
attention.
</p>
</div>
<div class="services__service services__service--photography">
<h2 class="service__title">Photography</h2>
<p class="service__text">
Increase your credibility by getting the most stunning, high-quality
photos that improve your business image.
</p>
</div>
</section>
<section id="testimonials" class="testimonials">
<h2 class="testimonials__title">Client testimonials</h2>
<div class="testimonials__grid">
<article class="testimonials__testimonial">
<img
src="images/image-emily.jpg"
alt="Fotografía de Emily"
class="testimonial__photo"
/>
<p class="testimonial__text">
We put our trust in Sunnyside and they delivered, making sure our
needs were met and deadlines were always hit.
</p>
<p class="testimonial__info">
<span class="testimonial__name">Emily R.</span>
<span class="testimonial__job">Marketing Director</span>
</p>
</article>
<article class="testimonials__testimonial">
<img
src="images/image-thomas.jpg"
alt="Fotografía de Thomas"
class="testimonial__photo"
/>
<p class="testimonial__text">
Sunnyside’s enthusiasm coupled with their keen interest in our
brand’s success made it a satisfying and enjoyable experience.
</p>
<p class="testimonial__info">
<span class="testimonial__name">Thomas S.</span>
<span class="testimonial__job">Chief Operating Officer</span>
</p>
</article>
<article class="testimonials__testimonial">
<img
src="images/image-jennie.jpg"
alt="Fotografía de Jennie"
class="testimonial__photo"
/>
<p class="testimonial__text">
Incredible end result! Our sales increased over 400% when we
worked with Sunnyside. Highly recommended!
</p>
<p class="testimonial__info">
<span class="testimonial__name">Jennie F.</span>
<span class="testimonial__job">Business Owner</span>
</p>
</article>
</div>
</section>
<section id="gallery" class="gallery">
<picture class="gallery__img-container">
<source
media="(min-width: 768px)"
srcset="images/desktop/image-gallery-milkbottles.jpg"
/>
<img
src="images/mobile/image-gallery-milkbottles.jpg"
alt="Botellas de leche"
class="gallery__img"
/>
</picture>
<picture class="gallery__img-container">
<source
media="(min-width: 768px)"
srcset="images/desktop/image-gallery-orange.jpg"
/>
<img
src="images/mobile/image-gallery-orange.jpg"
alt="Naranja en un plato"
class="gallery__img"
/>
</picture>
<picture class="gallery__img-container">
<source
media="(min-width: 768px)"
srcset="images/desktop/image-gallery-cone.jpg"
/>
<img
src="images/mobile/image-gallery-cone.jpg"
alt="Cono de galleta"
class="gallery__img"
/>
</picture>
<picture class="gallery__img-container">
<source
media="(min-width: 768px)"
srcset="images/desktop/image-gallery-sugarcubes.jpg"
/>
<img
src="images/mobile/image-gallery-sugar-cubes.jpg"
alt="Cubos de azúcar"
class="gallery__img"
/>
</picture>
</section>
</main>
<footer id="footer" class="footer">
<a href="/" class="footer__name">sunnyside</a>
<div class="footer__links">
<a href="/" class="footer__link">About</a>
<a href="/" class="footer__link">Services</a>
<a href="/" class="footer__link">Projects</a>
</div>
<div class="footer__social">
<a href="https://facebook.com" target="_blank" class="footer__icon">
<img
src="images/icon-facebook.svg"
alt="facebook"
data-icon="facebook"
/>
</a>
<a href="https://instagram.com" target="_blank" class="footer__icon">
<img
src="images/icon-instagram.svg"
alt="instagram"
data-icon="instagram"
/>
</a>
<a href="https://twitter.com" target="_blank" class="footer__icon">
<img
src="images/icon-twitter.svg"
alt="twitter"
data-icon="twitter"
/>
</a>
<a href="https://pinterest.com" target="_blank" class="footer__icon">
<img
src="images/icon-pinterest.svg"
alt="pinterest"
data-icon="pinterest"
/>
</a>
</div>
<div class="footer__attribution">
<p class="attribution__frontend-mentor">
Challenge by
<a
href="https://www.frontendmentor.io?ref=challenge"
target="_blank"
class="attribution__link"
>
Frontend Mentor
</a>
</p>
<p class="attribution__author">
Coded by
<a
href="https://jsamuelap.github.io"
target="_blank"
class="attribution__link"
>
JSamuel
</a>
</p>
</div>
</footer>
<script src="js/app.js"></script>
</body>
</html>