-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
251 lines (242 loc) · 7.39 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
<!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="shortcut icon" href="./assets/logo.svg" type="image/x-icon" />
<link rel="stylesheet" href="./css/main.css" />
<script
src="https://kit.fontawesome.com/30ca7a5e72.js"
crossorigin="anonymous"
></script>
<title>Starbucks Coffee Company</title>
</head>
<body>
<header>
<div class="logo">
<a href="#">
<img src="./assets/logo.svg" alt="" />
</a>
</div>
<nav class="container main-nav">
<ul class="links">
<li class="nav-link">Menu</li>
<li class="nav-link">Rewards</li>
<li class="nav-link">Gift Cards</li>
</ul>
<ul class="right-links">
<li class="find-store">
<i class="fa-solid fa-location-dot"></i> Find a store
</li>
<li class="sign-in"><button>Sign in</button></li>
<li class="join-now"><button>Join now</button></li>
</ul>
</nav>
<nav class="hamburger-nav">
<ul class="links">
<li class="nav-link">Menu</li>
<li class="nav-link">Rewards</li>
<li class="nav-link">Gift Cards</li>
</ul>
<hr />
<ul class="right-links">
<li class="sign-in"><button>Sign in</button></li>
<li class="join-now"><button>Join now</button></li>
<li class="find-store">
<i class="fa-solid fa-location-dot"></i> Find a store
</li>
</ul>
</nav>
<div class="hamburger" id="hamburger">
<span class="line"></span>
<span class="line"></span>
<span class="line"></span>
</div>
</header>
<div class="hamburger-nav-mask"></div>
<section id="rewards" class="container">
<img src="./assets/starbucks-rewards.webp" alt="" />
<div class="ad">
<h1 class="title">Spring in your step, Rewards in your cup</h1>
<p class="text">
Shake up your usual and start earning Rewards — join today!
</p>
<button>Join now</button>
</div>
</section>
<section id="promo1" class="container promo">
<img src="./assets/two-drinks.jpg" alt="" />
<div class="wrapper">
<div>
<h1>Uplifting anytime</h1>
<p>
Recharge with a lively Brown Sugar Oatmilk or Toasted Vanilla
Oatmilk Shaken Espresso — 140 calories or less in a grande.
</p>
<button>Order now</button>
</div>
</div>
</section>
<section id="promo2" class="container promo">
<img src="./assets/pink-drink.jpg" alt="" />
<div class="wrapper">
<div>
<h1>Oh, so vibrant</h1>
<p>
Dive into our bold, fruity and refreshing Dragon Drink® with
coconutmilk.
</p>
<button>Order now</button>
</div>
</div>
</section>
<section id="promo3" class="container promo">
<img src="./assets/burger.png" alt="" />
<div class="wrapper">
<div>
<h1>Savory and satisfying</h1>
<p>
The Impossible™ Breakfast Sandwich, featuring an Impossible™ Sausage
Patty Made From Plants, is always a great choice.
</p>
<button>Order now</button>
</div>
</div>
</section>
<section class="footer-section">
<footer class="container">
<nav>
<div class="footer-links">
<h1 class="title">
About Us <i class="fa-solid fa-chevron-down"></i>
</h1>
<div>
<a href="#" class="link">Our Company</a>
<a href="#" class="link">Our Coffe</a>
<a href="#" class="link">Stories and News</a>
<a href="#" class="link">Starbucks Archive</a>
<a href="#" class="link">Investor Relations</a>
<a href="#" class="link">Customer Service</a>
</div>
</div>
<div class="footer-links">
<h1 class="title">
Careers <i class="fa-solid fa-chevron-down"></i>
</h1>
<div>
<a href="#" class="link">Culture and Value</a>
<a href="#" class="link">Inclusion, Diversity, and Equity</a>
<a href="#" class="link">College Achievement Plan</a>
<a href="#" class="link">Alumni Community</a>
<a href="#" class="link">U.S. Careers</a>
<a href="#" class="link">International Careers</a>
</div>
</div>
<div class="footer-links">
<h1 class="title">
Social Impact <i class="fa-solid fa-chevron-down"></i>
</h1>
<div>
<a href="#" class="link">People</a>
<a href="#" class="link">Planet</a>
<a href="#" class="link">
Environmental and Social Impact Reporting
</a>
</div>
</div>
<div class="footer-links">
<h1 class="title">
For Business Partners <i class="fa-solid fa-chevron-down"></i>
</h1>
<div>
<a href="#" class="link">Landlord Support Center</a>
<a href="#" class="link">Supplier</a>
<a href="#" class="link">Corporate Gift Card Sales</a>
<a href="#" class="link">Office and Foodservice Coffee</a>
</div>
</div>
<div class="footer-links">
<h1 class="title">
Order and Pickup <i class="fa-solid fa-chevron-down"></i>
</h1>
<div>
<a href="#" class="link">Order on the App</a>
<a href="#" class="link">Order on the Web</a>
<a href="#" class="link">Delivery</a>
<a href="#" class="link">Order and Pickup Options</a>
<a href="#" class="link">Explore and Find Coffee for Home</a>
</div>
</div>
</nav>
<hr />
<div class="social">
<div class="icon">
<span class="icon-hover"></span><i class="fa-brands fa-spotify"></i>
</div>
<div class="icon">
<span class="icon-hover"></span
><i class="fa-brands fa-facebook"></i>
</div>
<div class="icon">
<span class="icon-hover"></span
><i class="fa-brands fa-pinterest"></i>
</div>
<div class="icon">
<span class="icon-hover"></span
><i class="fa-brands fa-instagram"></i>
</div>
<div class="icon">
<span class="icon-hover"></span><i class="fa-brands fa-youtube"></i>
</div>
<div class="icon">
<span class="icon-hover"></span><i class="fa-brands fa-twitter"></i>
</div>
</div>
<ul class="info">
<li><a href="#">Privacy Notice</a></li>
<span>|</span>
<li><a href="#">Terms of Use</a></li>
<span>|</span>
<li>
<a href="#">Do Not Share My Personal Information</a>
</li>
<span>|</span>
<li><a href="#">CA Supply Chain Act</a></li>
<span>|</span>
<li><a href="#">Cookie Preferences</a></li>
</ul>
<p>
© 2023 Starbucks Coffee Company. All rights reserved. UI Clone made by
<a
href="https://github.com/nicolasperussi"
target="_blank"
class="dev-name"
>Nicolas Perussi</a
>
</p>
</footer>
</section>
<script>
const hamburgerIcon = document.querySelector('#hamburger');
const mask = document.querySelector('.hamburger-nav-mask');
const navbar = document.querySelector('.hamburger-nav');
hamburgerIcon.addEventListener('click', () => {
hamburgerIcon.classList.toggle('is-active');
mask.classList.toggle('is-active');
navbar.classList.toggle('is-active');
if (hamburgerIcon.classList.contains('is-active')) {
document.body.style.overflow = 'hidden';
} else {
document.body.style.overflow = 'auto';
}
});
const footerLinks = document.querySelectorAll('.footer-links');
footerLinks.forEach((link) => {
link.addEventListener('click', () => {
link.classList.toggle('is-active');
});
});
</script>
</body>
</html>