-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
258 lines (242 loc) · 16.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
<!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>Frontend Mentor | Sunnyside agency landing page</title>
<link
rel="shortcut icon"
href="/images/favicon-32x32.png"
type="image/x-icon"
/>
<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&family=Fraunces:wght@700;900&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="public/style.css" />
<!-- Feel free to remove these styles or customise in your own stylesheet 👍 -->
<style>
.attribution {
font-size: 11px;
text-align: center;
}
.attribution a {
color: hsl(228, 45%, 44%);
}
</style>
</head>
<body>
<div class="flex flex-col text-center justify-between h-screen text-lg font-barlow">
<header
class="text-white bg-header-mobile lg:bg-header-desktop bg-cover bg-no-repeat lg:bg-center bg-bottom p-8 pb-20">
<div class="overflow-hidden">
<nav class="flex justify-between mb-12 relative">
<div class="lg:p-12 cursor-pointer"><img src="./images/logo.svg" alt="logo" /></div>
<div class="hidden lg:flex">
<div class="p-12">
<a href="" class="ml-12">About</a>
<a href="" class="ml-12">Services</a>
<a href="" class="ml-12">Projects</a>
<a href=""
class="ml-12 cursor-pointer p-4 bg-white text-brand-very-dark-blue m-4 px-8 rounded-full uppercase font-fraunces font-black hover:text-white hover:bg-opacity-40 hover:shadow-sm">Contact</a>
</div>
</div>
<div id="mobile-menu" class="hidden lg:hidden content ">
<div class="absolute top-20 -right-8 w-16 h-16 bg-white transform rotate-45"></div>
<div class="absolute top-20 left-0 w-full bg-white text-brand-dark-cyan">
<a href="" class="block mx-auto p-4 hover:underline cursor-pointer">About</a>
<a href="" class="block mx-auto p-4 hover:underline cursor-pointer">Services</a>
<a href="" class="block mx-auto p-4 hover:underline cursor-pointer">Projects</a>
<a href=""
class="block mx-auto p-4 bg-brand-yellow w-max m-4 px-8 rounded-full uppercase font-fraunces font-black hover:bg-opacity-60 hover:shadow-sm cursor-pointer">Contact</a>
</div>
</div>
<div class="lg:hidden" id="hamburger-menu">
<img class="cursor-pointer" src="./images/icon-hamburger.svg" alt="" />
</div>
</nav>
<h1 class="py-14 mb-12 text-5xl lg:text-7xl font-fraunces lg:tracking-widest uppercase tracking-wider">We are
creatives</h1>
<div class="lg:mb-60 mb-24"><img class="arrowdown" src="./images/icon-arrow-down.svg" alt="arrow"></div>
</div>
</header>
<section>
<article class="lg:grid lg:grid-cols-2 mb-12 lg:mb-0">
<div class="lg:order-2">
<img src=" ./images/mobile/image-transform.jpg" alt="" class="w-full h-auto object-cover lg:hidden">
<img src=" ./images/desktop/image-transform.jpg" alt="" class="object-cover w-auto w-full hidden lg:block">
</div>
<div
class="p-8 text-brand-very-dark-blue lg:order-1 lg:text-left lg:mx-12 lg:flex lg:flex-col lg:justify-center">
<h2 class="font-fraunces text-4xl p-12 ">Transform your brand</h2>
<p class="text-brand-cyan text-xl lg:px-12 lg:pb-8">
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>
<div class="lg:px-12">
<div class="w-36 mx-auto lg:mx-0 h-3 opacity-30 rounded-full caps-yellow relative -bottom-7 z-10">
</div>
<button class="uppercase font-fraunces font-black relative z-20">Learn more</button>
</div>
</div>
</article>
<article class="mb-12 lg:mb-0 lg:grid lg:grid-cols-2">
<div>
<img src="./images/mobile/image-stand-out.jpg" alt="" class="w-full h-auto object-cover lg:hidden">
<img src="./images/desktop/image-stand-out.jpg" alt="" class="object-cover w-auto w-full hidden lg:block">
</div>
<div class="p-8 text-brand-very-dark-blue lg:text-left lg:mx-12 lg:flex lg:flex-col lg:justify-center">
<h2 class="font-fraunces text-4xl p-12 ">Stand out to the right audience</h2>
<p class="text-brand-cyan text-xl lg:px-12 lg:pb-8">
Using a collaborative formula of designers, researchers,
photographers, videographers, and copywriters, we’ll build and
extend your brand in digital places.
</p>
<div class="lg:px-12">
<div class="w-36 mx-auto lg:mx-0 h-3 opacity-30 rounded-full bg-brand-soft-red relative -bottom-7 z-10">
</div>
<button class="uppercase font-fraunces font-black relative z-20">Learn more</button>
</div>
</div>
</article>
<div class="lg:flex">
<article class="lg:w-2/4 relative">
<div>
<img src="./images/mobile/image-graphic-design.jpg" alt="" class="w-full h-auto object-cover lg:hidden">
<img src="./images/desktop/image-graphic-design.jpg" alt=""
class="w-full h-auto object-cover hidden lg:block">
</div>
<div class="p-8 text-brand-very-dark-blue absolute bottom-0 left-0">
<h2 class="font-fraunces text-4xl p-12 ">Graphic design</h2>
<p class="mb-12 text-xl">
Great design makes you memorable. We deliver artwork that
underscores your brand message and captures potential clients’
attention.
</p>
</div>
</article>
<article class="relative lg:w-2/4">
<div>
<img src="./images/mobile/image-photography.jpg" alt="" class="w-full h-auto object-cover lg:hidden">
<img src="./images/desktop/image-photography.jpg" alt=""
class="w-full h-auto object-cover hidden lg:block">
</div>
<div class="p-8 text-brand-very-dark-blue absolute bottom-0 left-0">
<h2 class="font-fraunces text-4xl p-12 ">Photography</h2>
<p class="mb-12 text-xl">
Increase your credibility by getting the most stunning, high-quality
photos that improve your business image.
</p>
</div>
</article>
</div>
</section>
<section class="testimonials p-8 lg:my-20">
<h3 class="text-2xl text-brand-cyan tracking-widest opacity-80 py-12 uppercase font-fraunces lg:mb-12">Client
testimonials</h3>
<div class="lg:mx-auto lg:flex lg:max-w-screen-xl lg:justify-between ">
<div class="lg:max-w-sm">
<div>
<img src="/images/image-emily.jpg" alt="" class="block mx-auto rounded-full h-24 w-auto">
</div>
<div class="mb-12 text-brand-very-dark-blue">
<p class="py-8 text-brand-dark-cyan text-xl">
We put our trust in Sunnyside and they delivered, making sure our
needs were met and deadlines were always hit.
</p>
<h4 class="text-2xl font-fraunces font-black">Emily R.</h4>
<p class="text-sm text-brand-cyan py-4 opacity-80">Marketing Director</p>
</div>
</div>
<div class="lg:max-w-sm">
<div>
<img src="/images/image-thomas.jpg" alt="" class="block mx-auto rounded-full h-24 w-auto">
</div>
<div class="mb-12 text-brand-very-dark-blue">
<p class="py-8 text-brand-dark-cyan text-xl">
Sunnyside’s enthusiasm coupled with their keen interest in our
brand’s success made it a satisfying and enjoyable experience.
</p>
<h4 class="text-2xl font-fraunces font-black">Thomas S.</h4>
<p class="text-sm text-brand-cyan py-4 opacity-80">Chief Operating Officer</p>
</div>
</div>
<div class="lg:max-w-sm">
<div>
<img src="/images/image-jennie.jpg" alt="" class="block mx-auto rounded-full h-24 w-auto">
</div>
<div class="mb-12 text-brand-very-dark-blue">
<p class="py-8 text-brand-dark-cyan text-xl">
Incredible end result! Our sales increased over 400% when we
worked with Sunnyside. Highly recommended!
</p>
<h4 class="text-2xl font-fraunces font-black">Jennie F.</h4>
<p class="text-sm text-brand-cyan py-4 opacity-80">Business Owner</p>
</div>
</div>
</div>
</section>
<div class="grid grid-cols-2 lg:grid-cols-4">
<img class="block w-full h-auto object-cover lg:hidden" src="/images/mobile/image-gallery-milkbottles.jpg"
alt="">
<img class="block w-full h-auto object-cover lg:hidden" src="/images/mobile/image-gallery-orange.jpg"
alt="">
<img class="block w-full h-auto object-cover lg:hidden" src="/images/mobile/image-gallery-cone.jpg" alt="cone">
<img class="block w-full h-auto object-cover lg:hidden" src="/images/mobile/image-gallery-sugar-cubes.jpg"
alt="">
<img class="w-full h-auto object-cover hidden lg:block" src="/images/desktop/image-gallery-milkbottles.jpg"
alt="">
<img class="w-full h-auto object-cover hidden lg:block" src="/images/desktop/image-gallery-orange.jpg"
alt="">
<img class="w-full h-auto object-cover hidden lg:block" src="/images/desktop/image-gallery-cone.jpg" alt="cone">
<img class="w-full h-auto object-cover hidden lg:block" src="/images/desktop/image-gallery-sugarcubes.jpg"
alt="">
</div>
<footer class="bg-brand-dark-cyan bg-opacity-50 text-brand-dark-cyan py-8">
<div class="py-12 ">
<svg class="mx-auto fill-current w-60 h-auto" viewBox="0 0 124 24" xmlns="http://www.w3.org/2000/svg">
<path
d="M5.857 18.708c1.638 0 2.995-.36 4.07-1.08 1.075-.721 1.613-1.769 1.613-3.144-.083-1.855-1.464-3.246-4.144-4.173l-1.44-.597c-.314-.1-.538-.198-.67-.298a.45.45 0 01-.198-.373c0-.414.273-.62.819-.62.678 0 1.182.347 1.513 1.043l3.698-1.044c-.893-2.22-2.614-3.329-5.162-3.329-1.522 0-2.788.398-3.797 1.193C1.15 7.08.645 8.116.645 9.39c0 .398.058.766.174 1.106.116.34.29.638.521.894.232.257.455.48.67.671.215.19.488.369.82.534.33.166.582.286.756.36.174.075.41.162.707.261l.422.15 1.49.546c.363.133.6.244.707.335a.449.449 0 01.16.36c0 .431-.404.647-1.215.647-1.191 0-1.903-.53-2.134-1.59L0 14.509c.463 2.8 2.416 4.2 5.857 4.2zm11.636 0c1.638 0 2.845-.63 3.623-1.888v1.615h5.112V5.366h-5.112v7.156c0 1.474-.505 2.21-1.514 2.21-1.026 0-1.539-.736-1.539-2.21V5.366h-5.112v7.653c0 3.793 1.514 5.69 4.542 5.69zm16.103-.273V11.28c0-1.475.504-2.212 1.513-2.212 1.026 0 1.54.737 1.54 2.212v7.155h5.111v-7.652c0-3.793-1.513-5.69-4.541-5.69-1.638 0-2.846.63-3.623 1.888V5.366h-5.113v13.069h5.113zm15.383 0V11.28c0-1.475.504-2.212 1.514-2.212 1.025 0 1.538.737 1.538 2.212v7.155h5.113v-7.652c0-3.793-1.514-5.69-4.542-5.69-1.638 0-2.846.63-3.623 1.888V5.366h-5.113v13.069h5.113zM64.958 24l8.289-18.634H67.91l-2.532 6.684-2.258-6.684h-5.584l5.435 11.802L59.944 24h5.014zm13.67-5.292c1.638 0 2.995-.36 4.07-1.08 1.076-.721 1.614-1.769 1.614-3.144-.083-1.855-1.465-3.246-4.145-4.173l-1.44-.597c-.314-.1-.537-.198-.67-.298a.45.45 0 01-.198-.373c0-.414.273-.62.819-.62.678 0 1.183.347 1.514 1.043l3.698-1.044c-.894-2.22-2.614-3.329-5.162-3.329-1.522 0-2.788.398-3.797 1.193-1.01.795-1.514 1.83-1.514 3.105 0 .398.058.766.173 1.106.116.34.29.638.522.894.231.257.455.48.67.671.215.19.488.369.819.534.33.166.583.286.757.36.173.075.41.162.707.261l.422.15 1.489.546c.364.133.6.244.707.335a.449.449 0 01.161.36c0 .431-.405.647-1.216.647-1.19 0-1.902-.53-2.134-1.59l-3.723.844c.464 2.8 2.416 4.2 5.857 4.2zm9.8-14.137c.91 0 1.613-.215 2.11-.646.495-.43.744-.977.744-1.64 0-.678-.24-1.23-.72-1.651C90.082.21 89.371 0 88.428 0c-.943 0-1.655.211-2.135.634-.48.422-.72.973-.72 1.652 0 .662.249 1.209.745 1.64.497.43 1.2.645 2.11.645zm2.556 13.864V5.366H85.87v13.069h5.113zm7.74.273c1.737 0 2.977-.63 3.722-1.888v1.615h5.112V.472h-5.112v6.534c-.745-1.275-1.985-1.913-3.723-1.913-1.753 0-3.214.642-4.38 1.926-1.166 1.283-1.75 2.91-1.75 4.882 0 1.97.584 3.598 1.75 4.882 1.166 1.283 2.627 1.925 4.38 1.925zm1.39-3.9c-.729 0-1.312-.274-1.75-.82-.439-.547-.658-1.243-.658-2.087 0-.845.215-1.54.645-2.087.447-.547 1.034-.82 1.762-.82s1.311.273 1.75.82c.438.546.657 1.242.657 2.087 0 .844-.219 1.54-.657 2.087-.439.546-1.022.82-1.75.82zm16.698 3.9c2.597 0 4.624-.754 6.08-2.26l-2.11-2.833c-1.042.845-2.217 1.267-3.524 1.267-.992 0-1.799-.224-2.42-.67-.62-.448-.93-.879-.93-1.293h9.604c.083-.298.124-.687.124-1.167 0-2.054-.674-3.677-2.022-4.87-1.349-1.193-3.073-1.789-5.175-1.789-2.25 0-4.028.671-5.335 2.013-1.307 1.341-1.961 2.956-1.961 4.844 0 1.938.69 3.549 2.072 4.833 1.382 1.283 3.247 1.925 5.597 1.925zm2.208-8.149h-5.112c.033-.613.298-1.08.794-1.404.496-.323 1.084-.484 1.762-.484.678 0 1.266.165 1.762.497.497.331.761.795.794 1.391z"
fill-rule="nonzero" />
</svg>
</div>
<nav class="flex justify-around flex-wrap max-w-xl mx-auto text-xl opacity-75 mb-20">
<a href="#" class="py-2 hover:text-white">About</a>
<a href="#" class="py-2 hover:text-white">Services</a>
<a href="#" class="py-2 hover:text-white">Projects</a>
</nav>
<div class="flex justify-center mb-24">
<a class="mx-3 w-6 h-auto fill-current hover:text-white" href=""><svg viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg">
<path
d="M18.896 0H1.104C.494 0 0 .494 0 1.104v17.793C0 19.506.494 20 1.104 20h9.58v-7.745H8.076V9.237h2.606V7.01c0-2.583 1.578-3.99 3.883-3.99 1.104 0 2.052.082 2.329.119v2.7h-1.598c-1.254 0-1.496.597-1.496 1.47v1.928h2.989l-.39 3.018h-2.6V20h5.098c.608 0 1.102-.494 1.102-1.104V1.104C20 .494 19.506 0 18.896 0z"
fill-rule="nonzero"/>
</svg></a>
<a class="mx-3 w-6 h-auto fill-current hover:text-white" href=""><svg viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg">
<path
d="M10 1.802c2.67 0 2.987.01 4.042.059 2.71.123 3.975 1.409 4.099 4.099.048 1.054.057 1.37.057 4.04 0 2.672-.01 2.988-.057 4.042-.124 2.687-1.387 3.975-4.1 4.099-1.054.048-1.37.058-4.041.058-2.67 0-2.987-.01-4.04-.058-2.718-.124-3.977-1.416-4.1-4.1-.048-1.054-.058-1.37-.058-4.041 0-2.67.01-2.986.058-4.04.124-2.69 1.387-3.977 4.1-4.1 1.054-.048 1.37-.058 4.04-.058zM10 0C7.284 0 6.944.012 5.877.06 2.246.227.227 2.242.061 5.877.01 6.944 0 7.284 0 10s.012 3.057.06 4.123c.167 3.632 2.182 5.65 5.817 5.817 1.067.048 1.407.06 4.123.06s3.057-.012 4.123-.06c3.629-.167 5.652-2.182 5.816-5.817.05-1.066.061-1.407.061-4.123s-.012-3.056-.06-4.122C19.777 2.249 17.76.228 14.124.06 13.057.01 12.716 0 10 0zm0 4.865a5.135 5.135 0 100 10.27 5.135 5.135 0 000-10.27zm0 8.468a3.333 3.333 0 110-6.666 3.333 3.333 0 010 6.666zm5.338-9.87a1.2 1.2 0 100 2.4 1.2 1.2 0 000-2.4z"
fill-rule="nonzero" />
</svg></a>
<a class="mx-3 w-6 h-auto fill-current hover:text-white" href=""><svg viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg">
<path
d="M20 2.172a8.192 8.192 0 01-2.357.646 4.11 4.11 0 001.805-2.27 8.22 8.22 0 01-2.606.996A4.096 4.096 0 0013.847.248c-2.65 0-4.596 2.472-3.998 5.037A11.648 11.648 0 011.392 1a4.109 4.109 0 001.27 5.478 4.086 4.086 0 01-1.858-.513c-.045 1.9 1.318 3.679 3.291 4.075a4.113 4.113 0 01-1.853.07 4.106 4.106 0 003.833 2.849A8.25 8.25 0 010 14.658a11.616 11.616 0 006.29 1.843c7.618 0 11.923-6.434 11.663-12.205A8.354 8.354 0 0020 2.172z"
fill-rule="nonzero" />
</svg></a>
<a class="mx-3 w-6 h-auto fill-current hover:text-white" href=""><svg viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg">
<path
d="M10 0C4.477 0 0 4.477 0 10c0 4.237 2.636 7.855 6.356 9.312-.088-.791-.167-2.005.035-2.868.181-.78 1.172-4.97 1.172-4.97s-.299-.6-.299-1.486c0-1.39.806-2.428 1.81-2.428.852 0 1.264.64 1.264 1.408 0 .858-.546 2.14-.828 3.33-.236.995.5 1.807 1.48 1.807 1.778 0 3.144-1.874 3.144-4.58 0-2.393-1.72-4.068-4.176-4.068-2.845 0-4.516 2.135-4.516 4.34 0 .859.331 1.781.745 2.281a.3.3 0 01.069.288l-.278 1.133c-.044.183-.145.223-.335.134-1.249-.581-2.03-2.407-2.03-3.874 0-3.154 2.292-6.052 6.608-6.052 3.469 0 6.165 2.473 6.165 5.776 0 3.447-2.173 6.22-5.19 6.22-1.013 0-1.965-.525-2.291-1.148l-.623 2.378c-.226.869-.835 1.958-1.244 2.621.937.29 1.931.446 2.962.446 5.523 0 10-4.477 10-10S15.523 0 10 0z"
fill-rule="nonzero" />
</svg></a>
</div>
</footer>
</div>
<script src="./index.js"></script>
</body>
</html>