-
Notifications
You must be signed in to change notification settings - Fork 0
/
cauliflower.html
273 lines (262 loc) · 10.2 KB
/
cauliflower.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>My Farm | Products</title>
<link
rel="icon"
type="image/png"
href="https://raw.githubusercontent.com/alin5647/mySeasonalFarm/main/pictures/logo.png"
/>
<!-- Required meta tags -->
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<!-- Github Root Link TO BE ADDED IN THE FUTURE
<base href="https://raw.githubusercontent.com/alin5647/mySeasonalFarm/main/"> -->
<!-- Style Sheet -->
<link rel="stylesheet" type="text/css" href="styles.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"
/>
<!-- jQuery -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<!-- Google Firebase API Script -->
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/8.9.1/firebase-app.js"></script>
<!-- TODO: Add SDKs for Firebase products that you want to use -->
<script src="https://www.gstatic.com/firebasejs/8.9.1/firebase-analytics.js"></script>
<!-- Firebase products scripts used -->
<script src="https://www.gstatic.com/firebasejs/ui/4.8.1/firebase-ui-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.9.1/firebase-firestore.js"></script>
<link type="text/css" rel="stylesheet" href="https://www.gstatic.com/firebasejs/ui/4.8.1/firebase-ui-auth.css" />
<!-- Javascript -->
<script src="script.js"></script>
<script src="googleApps.js" defer></script>
<!-- Font Families -->
<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=Indie+Flower&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=Prompt&display=swap"
rel="stylesheet"
/>
</head>
<body>
<!-- Navigation Bar -->
<div class="promo-bar">$300 以上免運費</div>
<nav class="navigation-bar">
<div class="nav-container">
<a class="site-title" href="index.html"> My Farm </a>
<div class="responsive-nav">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="-5 -7 24 24"
width="40"
height="40"
preserveAspectRatio="xMinYMin"
class="responsive-nav-icon icon__icon"
>
<path
d="M1 0h5a1 1 0 1 1 0 2H1a1 1 0 1 1 0-2zm7 8h5a1 1 0 0 1 0 2H8a1 1 0 1 1 0-2zM1 4h12a1 1 0 0 1 0 2H1a1 1 0 1 1 0-2z"
></path>
</svg>
</div>
<div class="nav-link">
<ul class="link-list">
<li class="list-item">
<a href="index.html" class="item-link">Home</a>
</li>
<li class="list-item"><a href="" class="item-link disabled">Gallery</a></li>
<li class="list-item"><a href="blog.html" class="item-link">Blog</a></li>
</ul>
</div>
<div class="cart">
<div class="circle">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="-2 -1.5 24 24"
width="40"
height="40"
preserveAspectRatio="xMinYMin"
class="circle-icon"
>
<path
d="M10 20.565c-5.523 0-10-4.477-10-10s4.477-10 10-10 10 4.477 10 10-4.477 10-10 10z"
></path>
</svg>
<div class="num-in-cart">0</div>
</div>
<div class="shopping-cart">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="-3 -4 24 24"
width="50"
height="50"
preserveAspectRatio="xMinYMin"
class="cart-icon"
>
<path
d="M7 16a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm7 0a2 2 0 1 1 0-4 2 2 0 0 1 0 4zM.962 1.923A.962.962 0 0 1 .962 0h1.151c.902 0 1.682.626 1.878 1.506l1.253 5.642c.196.88.976 1.506 1.878 1.506h7.512l1.442-5.77H6.731a.962.962 0 0 1 0-1.922h9.345a1.923 1.923 0 0 1 1.866 2.39L16.5 9.12a1.923 1.923 0 0 1-1.866 1.457H7.122a3.846 3.846 0 0 1-3.755-3.012L2.113 1.923H.962z"
></path>
</svg>
</div>
<div class="clear-cart">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="-4.5 -4.5 24 24"
width="45"
height="45"
preserveAspectRatio="xMinYMin"
class="x-icon"
>
<path
d="M8.9 6.9v-5a1 1 0 1 0-2 0v5h-5a1 1 0 1 0 0 2h5v5a1 1 0 1 0 2 0v-5h5a1 1 0 1 0 0-2h-5z"
></path>
</svg>
<div class="clear-cart-warning">清空購物車</div>
</div>
</div>
</div>
<div class="responsive-nav-open">
<ul class="responsive-link-list">
<li class="list-item">
<a href="index.html" class="item-link">Home</a>
</li>
<li class="list-item">
<a href="" class="item-link disabled">Gallery</a>
</li>
<li class="list-item">
<a href="blog.html" class="item-link">Blog</a>
</li>
</ul>
</div>
</nav>
<section class="content-product">
<div class="left-picture">
<div class="left-picture-card">
<div class="top-picture">
<img
src="https://raw.githubusercontent.com/alin5647/mySeasonalFarm/main/pictures/cauliflower.jpg"
alt="cauliflower"
class="products-page-image active"
/>
</div>
<div class="bottom-picture">
<div class="gallery">
<img
src="https://raw.githubusercontent.com/alin5647/mySeasonalFarm/main/pictures/cauliflower.jpg"
alt="cauliflower"
class="products-page-image"
id="image-1"
/>
<img
src="https://raw.githubusercontent.com/alin5647/mySeasonalFarm/main/pictures/cauliflower.jpg"
alt="cauliflower"
class="products-page-image"
id="image-2"
/>
<img
src="https://raw.githubusercontent.com/alin5647/mySeasonalFarm/main/pictures/loquat.jpg"
alt="cauliflower"
class="products-page-image"
id="image-3"
/>
<img
src="https://raw.githubusercontent.com/alin5647/mySeasonalFarm/main/pictures/loquat-stock.jpg"
alt="cauliflower"
class="products-page-image"
id="image-4"
/>
</div>
</div>
</div>
</div>
<div class="right-description">
<div class="right-description-card">
<div class="product-title">Cauliflower</div>
<div class="price-remaining">
<div class="price">$<span class="cauliflower-firebasePrice">--</span></div>
<div class="remaining"><span class="cauliflower-firebaseQuantity">--- </span> left</div>
</div>
<div class="description">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Amet, quo
nisi. Itaque illum, ea non eius perspiciatis quibusdam? Facilis ex
distinctio nulla amet dolorem itaque saepe tempora ab minus qui
ullam quae inventore, minima excepturi modi odio quidem corporis in
ratione!
</div>
<div class="add-to-cart-link cauliflower-button link-hover">
<div class="product-button">
<div class="plus-sign">+</div>
<div class="num-of-products cauliflower-number">加入購物車</div>
<div class="minus-sign">-</div>
</div>
</div>
</div>
</div>
</section>
<section class="checkout">
<div class="checkout-close">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="-5 -5 24 24"
width="24"
height="24"
preserveAspectRatio="xMinYMin"
class="icon__icon close-icon"
>
<path
d="M11.314 7.071l-4.95-4.95A1 1 0 0 1 7.778.707l5.657 5.657a1 1 0 0 1 0 1.414l-5.657 5.657a1 1 0 0 1-1.414-1.414l4.95-4.95zm-6 0l-4.95-4.95A1 1 0 1 1 1.778.707l5.657 5.657a1 1 0 0 1 0 1.414l-5.657 5.657a1 1 0 0 1-1.414-1.414l4.95-4.95z"
></path>
</svg>
</div>
<div class="checkout-list">
<div class="checkout-container">
<div class="checkout-name">香蕉</div>
<div class="checkout-amount">
<div class="add-to-cart-link banana-button link-hover">
<div class="product-button">
<div class="plus-sign">+</div>
<div class="num-of-products banana-number">加入購物車</div>
<div class="minus-sign">-</div>
</div>
</div>
</div>
</div>
<div class="checkout-container">
<div class="checkout-name">花椰菜</div>
<div class="checkout-amount">
<div class="add-to-cart-link cauliflower-button link-hover">
<div class="product-button">
<div class="plus-sign">+</div>
<div class="num-of-products cauliflower-number">加入購物車</div>
<div class="minus-sign">-</div>
</div>
</div>
</div>
</div>
<div class="checkout-container">
<div class="checkout-name">枇杷</div>
<div class="checkout-amount">
<div class="add-to-cart-link loquat-button link-hover">
<div class="product-button">
<div class="plus-sign">+</div>
<div class="num-of-products loquat-number">加入購物車</div>
<div class="minus-sign">-</div>
</div>
</div>
</div>
</div>
</div>
<div class="checkout-button">
<a class="button-container" href="checkout.html">確認付款</a>
</div>
</section>
</body>
</html>