-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplan.html
More file actions
357 lines (317 loc) · 15.7 KB
/
plan.html
File metadata and controls
357 lines (317 loc) · 15.7 KB
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
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" sizes="32x32" href="./assets/favicon-32x32.png">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Barlow:wght@400;700&family=Fraunces:wght@900&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="./css/styles.min.css">
<title>Create A Plan | Coffeeroasters subscription site</title>
</head>
<body>
<header>
<nav class="nav">
<div class="container">
<div class="nav__logo">
<a href="#">
<img src="./assets/shared/desktop/logo.svg" alt="image of coffeeroasters logo">
</a>
</div>
<a class="nav__mobile-btn" href="#" aria-label="Open mobile menu">
<img id="toggleBtnImg" src="./assets/shared/mobile/icon-hamburger.svg" alt="open mobile menu bars">
</a>
<div class="nav__mobile-menu close">
<ul class="nav__list">
<li class="nav__item"><a class="nav__link" href="index.html">Home</a></li>
<li class="nav__item"><a class="nav__link" href="about.html">About us</a></li>
<li class="nav__item"><a class="nav__link" href="plan.html">Create your plan</a></li>
</ul>
</div>
<div class="nav__menu">
<ul class="nav__list">
<li class="nav__item"><a class="nav__link" href="index.html">Home</a></li>
<li class="nav__item"><a class="nav__link" href="about.html">About us</a></li>
<li class="nav__item"><a class="nav__link" href="plan.html">Create your plan</a></li>
</ul>
</div>
</div>
</nav>
</header>
<div class="container">
<section class="banner" id="planBanner">
<div class="banner__inner">
<h1>Create a plan</h1>
<p>Build a subscription plan that best fits your needs. We offer an assortment of the best artisan coffees from
around the globe delivered fresh to your door.
</p>
</div>
</section>
</div>
<div class="container">
<section class="process">
<div class="process__line">
<span id="circle1" class="process__line-dot--dark"></span>
<span id="circle2" class="process__line-dot--dark"></span>
<span id="circle3" class="process__line-dot--dark"></span>
</div>
<div class="process__cards">
<div class="process__card">
<span class="process__card-number">01</span>
<h4 class="process__card-heading light-text">Pick your coffee</h4>
<p class="process__card-text">Select from our evolving range of artisan coffees. Our beans are ethically
sourced
and we pay fair prices
for them. There are new coffees in all profiles every month for you to try out.</p>
</div>
<div class="process__card">
<span class="process__card-number">02</span>
<h4 class="process__card-heading light-text">Choose the frequency</h4>
<p class="process__card-text">Customize your order frequency, quantity, even your roast style and grind
type.Pause, skip or cancel your subscription with no commitment through our online portal.</p>
</div>
<div class="process__card">
<span class="process__card-number">03</span>
<h4 class="process__card-heading light-text">Receive and enjoy!</h4>
<p class="process__card-text">We ship your package within 48 hours, freshly roasted. Sit back and enjoy
award-winning world-class coffees curated to provide a distinct tasting experience.</p>
</div>
</div>
</section>
</div>
<div class="container">
<main class="plan__grid">
<div class="plan__links" id="jsPlanLinks">
<ul id="jsPlanContainer">
<li class="plan__item active">
<a class="plan__link" href="#preferences"><span class="plan__number">01</span> Preferences</a>
</li>
<li class="plan__item">
<a class="plan__link" href="#bean"><span class="plan__number">02</span> Bean Type</a>
</li>
<li class="plan__item">
<a class="plan__link" href="#quantity"><span class="plan__number">03</span> Quantity</a>
</li>
<li class="plan__item">
<a class="plan__link" href="#grind"><span class="plan__number">04</span> Grind Option</a>
</li>
<li class="plan__item">
<a class="plan__link" href="#deliveries"><span class="plan__number">05</span> Deliveries</a>
</li>
</ul>
</div>
<div class="container">
<section id="preferences" class="preferences mb-section">
<h4 class="question">How do you drink your coffee?</h4>
<div class="options">
<div class="options__option">
<input id="capsule" data-preference="Capsule" name="preferences" type="radio" value="Capsule" checked>
<label for="capsule">
<h4>Capsule</h4>
<p>Compatible with Nespresso systems and similar brewers</p>
</label>
</div>
<div class="options__option">
<input id="filter" data-preference="Filter" name="preferences" type="radio" value="Filter">
<label for="filter">
<h4>Filter</h4>
<p>For pour over or drip methods like Aeropress, Chemex, and V60</p>
</label>
</div>
<div class="options__option">
<input id="espresso" data-preference="Espresso" name="preferences" type="radio" value="Espresso">
<label for="espresso">
<h4>Espresso</h4>
<p>Dense and finely ground beans for an intense, flavorful experience</p>
</label>
</div>
</div>
</section>
<section id="bean" class="bean mb-section">
<h4 class="question">What type of coffee?</h4>
<div class="options">
<div class="options__option">
<input id="single" data-bean="Single" name="beanType" type="radio" value="Single" checked>
<label for="single">
<h4>Single origin</h4>
<p>Distinct, high quality coffee from a specific family-owned farm</p>
</label>
</div>
<div class="options__option">
<input id="decaf" data-bean="Decaf" name="beanType" type="radio" value="Decaf">
<label for="decaf">
<h4>Decaf</h4>
<p>Just like regular coffee, except the caffeine has been removed</p>
</label>
</div>
<div class="options__option">
<input id="blended" data-bean="Blended" name="beanType" type="radio" value="Blended">
<label for="blended">
<h4>Blended</h4>
<p>Combination of two or three dark roasted beans of organic coffees</p>
</label>
</div>
</div>
</section>
<section id="quantity" class="quantity mb-section">
<h4 class="question">How much would you like?</h4>
<div class="options">
<div class="options__option">
<input id="250g" data-quantity="250g" name="quantity" type="radio" value="250g" checked>
<label for="250g">
<h4>250g</h4>
<p>Perfect for the solo drinker. Yields about 12 delicious cups</p>
</label>
</div>
<div class="options__option">
<input id="500g" data-quantity="500g" name="quantity" type="radio" value="500g">
<label for="500g">
<h4>500g</h4>
<p>Perfect option for a couple. Yields about 40 delectable cups</p>
</label>
</div>
<div class="options__option">
<input id="1000g" data-quantity="1000g" name="quantity" type="radio" value="1000g">
<label for="1000g">
<h4>1000g</h4>
<p>Perfect for offices and events. Yields about 90 delightful cups</p>
</label>
</div>
</div>
</section>
<section id="grind" class="grind mb-section">
<h4 class="question">Want us to grind them?</h4>
<div class="options">
<div class="options__option">
<input id="wholebean" data-grind="Whole bean" name="grindOption" type="radio" value="Whole bean" checked>
<label for="wholebean">
<h4>Wholebean</h4>
<p>Best choice if you cherish the full sensory experience</p>
</label>
</div>
<div class="options__option">
<input id="filtergrind" data-grind="Filter" name="grindOption" type="radio" value="Filter">
<label for="filtergrind">
<h4>Filter</h4>
<p>For drip or pour-over coffee methods such as V60 or Aeropress</p>
</label>
</div>
<div class="options__option">
<input id="cafetiére" data-grind="Cafetiére" name="grindOption" type="radio" value="Cafetiére">
<label for="cafetiére">
<h4>Cafetiére</h4>
<p>Course ground beans specially suited for french press coffee</p>
</label>
</div>
</div>
</section>
<section id="deliveries" class="deliveries mb-section">
<h4 class="question">How often should we deliver?</h4>
<div class="options">
<div class="options__option">
<input id="everyweek" data-delivery="Every Week" data-price="$14.00" name="deliveries" type="radio"
value="Every Week" checked>
<label for="everyweek">
<h4>Every week</h4>
<p>$14.00 per shipment. Includes free first-class shipping</p>
</label>
</div>
<div class="options__option">
<input id="every2weeks" data-delivery="Every 2 Weeks" data-price="$17.25" name="deliveries" type="radio"
value="Every 2 Weeks">
<label for="every2weeks">
<h4>Every 2 weeks</h4>
<p>$17.25 per shipment. Includes free priority shipping</p>
</label>
</div>
<div class="options__option">
<input id="everymonth" data-delivery="Every Month" data-price="$22.50" name="deliveries" type="radio"
value="Every Month">
<label for="everymonth">
<h4>Every month</h4>
<p>$22.50 per shipment. Includes free priority shipping</p>
</label>
</div>
</div>
</section>
<section class="summary">
<div class="summary__order">
<p class="summary__heading">Order Summary</p>
<h4>“I drink my coffee as <span id="jsPreference" class="summary__text jsPreference"></span>, with a <span
id="jsBean" class="summary__text jsBean"></span>, type of
bean. <span id="jsQuantity" class="summary__text jsQuantity"></span> ground ala <span id="jsGrind"
class="summary__text jsGrind"></span>,
sent to me
<span id="jsDelivery" class="summary__text jsDelivery"></span>.”
</h4>
</div>
<button class="btn btn-default" data-open="modal">
Create your plan
</button>
</section>
</div>
</main>
</div>
<!-- Modal -->
<div class="modal" id="modal">
<div class="modal__inner">
<header class="modal__header">
<h3>Order Summary</h3>
</header>
<section class="modal__body">
<h4>“I drink my coffee as <span id="jsModalPreference" class="summary__text jsModalPreference"></span>, with a
<span id="jsModalBean" class="summary__text jsModalBean"></span>, type of
bean. <span id="jsModalQuantity" class="summary__text jsModalQuantity"></span> ground ala <span id="jsGrind"
class="summary__text jsModalGrind"></span>,
sent to me
<span id="jsModalDelivery" class="summary__text jsModalDelivery"></span>.”
</h4>
<p>Is this correct? You can proceed to checkout or go back to plan selection if something is off. Subscription
discount codes can also be redeemed at the checkout.</p>
<footer class="modal__footer">
<div class="modal__footer--mobile-footer">
<a href="" class="btn btn-default">Checkout - <span id="jsCheckoutPrice"></span></a>
</div>
<div class="modal__footer--large-footer">
<span class="large-text" id="jsModalCheckoutPrice"></span>
<a href="" class="btn btn-default">Checkout</a>
</div>
</footer>
</section>
</div>
</div>
<!-- End modal -->
<div class="container">
<footer class="footer">
<div class="footer__logo">
<a href="#">
<img src="./assets/shared/desktop/logo-white.svg" alt="">
</a>
</div>
<ul class="footer__list">
<li class="footer__item"><a class="footer__link" href="index.html">Home</a></li>
<li class="footer__item"><a class="footer__link" href="about.html">About us</a></li>
<li class="footer__item"><a class="footer__link" href="plan.html">Create your plan</a></li>
</ul>
<ul class="footer__social">
<li>
<a href="index.html">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><path fill="#FEFCF7" d="M22.675 0H1.325C.593 0 0 .593 0 1.325v21.351C0 23.407.593 24 1.325 24H12.82v-9.294H9.692v-3.622h3.128V8.413c0-3.1 1.893-4.788 4.659-4.788 1.325 0 2.463.099 2.795.143v3.24l-1.918.001c-1.504 0-1.795.715-1.795 1.763v2.313h3.587l-.467 3.622h-3.12V24h6.116c.73 0 1.323-.593 1.323-1.325V1.325C24 .593 23.407 0 22.675 0z"/></svg>
</a>
</li>
<li>
<a href="index.html">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="20"><path fill="#FEFCF7" d="M24 2.557a9.83 9.83 0 01-2.828.775A4.932 4.932 0 0023.337.608a9.864 9.864 0 01-3.127 1.195A4.916 4.916 0 0016.616.248c-3.179 0-5.515 2.966-4.797 6.045A13.978 13.978 0 011.671 1.149a4.93 4.93 0 001.523 6.574 4.903 4.903 0 01-2.229-.616c-.054 2.281 1.581 4.415 3.949 4.89a4.935 4.935 0 01-2.224.084 4.928 4.928 0 004.6 3.419A9.9 9.9 0 010 17.54a13.94 13.94 0 007.548 2.212c9.142 0 14.307-7.721 13.995-14.646A10.025 10.025 0 0024 2.557z"/></svg>
</a>
</li>
<li>
<a href="index.html"></a>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><path fill="#FEFCF7" d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z"/></svg>
</a>
</li>
</ul>
</footer>
</div>
<script src="./main.js"></script>
<script src="./plan.js"></script>
</body>
</html>