-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
201 lines (176 loc) · 8.69 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
<!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">
<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="assets/css/style.css">
</head>
<body>
<!-- Header -->
<header class="header">
<div class="header__container">
<div class="nav__logo">
<img src="assets/images/logo.svg" alt="" class="logo">
</div>
<div class="nav__menu" id="nav-menu">
<span></span>
<ul class="nav__list">
<li class="nav__item">
<a href="#about" class="nav__link">About</a>
</li>
<li class="nav__item">
<a href="#services" class="nav__link">Services</a>
</li>
<li class="nav__item">
<a href="#project" class="nav__link">Project</a>
</li>
<li class="nav__item">
<a href="#contact" class="nav__link">contact</a>
</li>
</ul>
</div>
<div class="nav__toggle" id="toggle-menu">
<img src="assets/images/icon-hamburger.svg" alt="" class="toggle__icon">
</div>
</div>
</header>
<!-- Main -->
<main>
<!-- About -->
<section class="about section" id="about">
<div class="about__container">
<div class="about__title">
<h1 class="about__title-text">We are creatives</h1>
<img src="assets/images/icon-arrow-down.svg" alt="" class="arrow">
</div>
</div>
</section>
<!-- Services -->
<section class="services section" id="services">
<div class="services__container">
<div class="services__article">
<div class="img__content"></div>
<div class="servicesBx">
<h1 class="services__title">Transform Your brand</h1>
<p class="services__description">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="nav__button">Learn more</a>
</div>
</div>
<div class="services__article">
<div class="img__content2nd"></div>
<div class="servicesBx">
<h1 class="services__title">Stand out to the right audience</h1>
<p class="services__description">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="nav__button">Learn more</a>
</div>
</div>
<div class="services__article">
<div class="img__content3rd"></div>
<div class="servicesBx">
<h1 class="services__title">Graphic design</h1>
<p class="services__description">Great design makes you memorable. We deliver artwork that underscores your brand message and captures potential clients’ attention.</p>
</div>
</div>
<div class="services__article">
<div class="img__content4rd"></div>
<div class="servicesBx">
<h1 class="services__title">Photography</h1>
<p class="services__description">Increase your credibility by getting the most stunning, high-quality photos that improve your business image.</p>
</div>
</div>
</div>
</section>
<!-- Testimonial -->
<section class="testimonial section" id="testimonial">
<div class="testimonial__container">
<h1 class="testimonial__title">Client testimonial</h1>
<div class="testimonial__card">
<!-- Clinet 1 -->
<div class="testimonial__content">
<img src="assets/images/image-emily.jpg" alt="" class="client-foto">
<div class="testimonial__client">
<p class="client-comment">We put our trust in Sunnyside and they delivered, making sure our needs were met and deadlines were always hit.</p>
<p class="client-name">Emily R.</p>
<p class="client-job">Marketing Director</p>
</div>
</div>
<!-- Clinet 2 -->
<div class="testimonial__content">
<img src="assets/images/image-thomas.jpg" alt="" class="client-foto">
<div class="testimonial__client">
<p class="client-comment">Sunnyside’s enthusiasm coupled with their keen interest in our brand’s success made it a satisfying and enjoyable experience.</p>
<p class="client-name">Thomas S.</p>
<p class="client-job">Chief Operating Officer</p>
</div>
</div>
<!-- Clinet 3 -->
<div class="testimonial__content">
<img src="assets/images/image-jennie.jpg" alt="" class="client-foto">
<div class="testimonial__client">
<p class="client-comment">Incredible end result! Our sales increased over 400% when we worked with Sunnyside. Highly recommended!</p>
<p class="client-name">Jennie F.</p>
<p class="client-job">Business Owner</p>
</div>
</div>
</div>
</div>
</section>
<!-- Prject -->
<section class="project section" id="project">
<div class="project__container">
<div class="project__img"></div>
<div class="project__img"></div>
<div class="project__img"></div>
<div class="project__img"></div>
</div>
</section>
</main>
<!-- footer-->
<footer class="footer">
<div class="footer__container">
<div class="footer__logo"></div>
<div class="footer__menuBx">
<a href="#about" class="footer__menu">About</a>
<a href="#services" class="footer__menu">Services</a>
<a href="#project" class="footer__menu">Project</a>
</div>
<div class="footer__social">
<div class="footer__social-icon"></div>
<div class="footer__social-icon"></div>
<div class="footer__social-icon"></div>
<div class="footer__social-icon"></div>
</div>
</div>
</footer>
<!-- Script Js -->
<script type="text/javascript">
// show menu
const menuToggle = document.getElementById('toggle-menu'),
showMenu = document.getElementById('nav-menu');
menuToggle.onclick = function() {
showMenu.classList.toggle('show-menu');
}
// Remove menu
const navlink = document.querySelectorAll('.nav__link')
function linkAction(){
const navMenu = document.getElementById('nav-menu')
navMenu.classList.remove('show-menu')
}
navlink.forEach(n => n.addEventListener('click', linkAction))
// Scroll
window.addEventListener('scroll', function() {
let header = document.querySelector('header');
header.classList.toggle('scroll', window.scrollY > 0);
});
</script>
<!-- Attribution -->
<div class="attribution">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a href="#">Dwi susilo</a>.
</div
</body>
</html>