-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
436 lines (394 loc) · 18.5 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
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
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<!-- Key website information -->
<title id="title">姐婆Jiapo</title>
<meta name="description" content="傳統在台灣的桃園客家的餐廳 - 姐婆" />
<meta name="keywords"
content="餐廳 客家 桃園 台灣 台灣美食 咖啡 控肉飯 甜點 午餐 晚餐 零食 好吃 便宜 浪漫 合理 ryan
特別 傳統 需要吃 有名 吃得飽 滿足 中壢區 台北 米飯 肉 素肉 豬肉 小菜 氣氛 放鬆" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- favicon links -->
<link rel="shortcut icon" href="./assets/favicon/favicon.ico" sizes="any" />
<link rel="apple-touch-icon" sizes="180x180" href="./assets/favicon/apple-touch-icon.png" color="white" />
<link rel="icon" type="image/png" sizes="32x32" href="./assets/favicon/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="./assets/favicon/favicon-16x16.png" />
<!-- Google Fonts -->
<link
href="https://fonts.googleapis.com/css2?family=Licorice&family=Montserrat:wght@100;400;700;900&family=Poppins&family=Ubuntu:wght@300;400&display=swap"
rel="stylesheet">
<!-- CSS Stylesheets -->
<link rel="stylesheet" href="dist/output.css">
<!-- jQuery -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
<!-- Font Awesome -->
<script defer src="https://use.fontawesome.com/releases/v5.0.7/js/all.js"></script>
</head>
<body>
<script>
// Menu & nav automatically open on load/reload - function
// hides the modal and nav-menu, on reload/refresh
window.onload = function () {
$("#menu-modal").hide()
$("#nav-list").hide()
}
</script>
<main class="h-full w-full items-center text-center ">
<!-- Landing Page -->
<section id="landing-page" class="w-full h-screen ">
<!-- Change Languages Button -->
<button id="change-lang" title="換語言" onclick='window.location.assign("./english.html")'
class="absolute mt-6 w-12 z-20 cursor-pointer right-8 transform hover:scale-125">
<img src="https://jiapobucket.s3.amazonaws.com/8.png" alt="之前有豬肉的照片" />
</button>
<!-- Logo & Trigger for Navigation Menu -->
<img src="https://jiapobucket.s3.amazonaws.com/12.png" class="object-cover w-full h-full absolute" alt="之前有豬肉的照片"/>
<button id="logo-btn"
class="absolute mt-2 z-20 ml-2
2xl:left-4 xl:left-4 lg:left-4 md:left-4 sml:left-4 left-0
2xl:w-52 xl:w-52 lg:w-52 md:w-52 sm:w-48 w-44">
<img id="logo" type="button" src="https://jiapobucket.s3.amazonaws.com/2.png" title="菜單"
class="object-cover w-1/2 h-1/2 transform hover:rotate-90 cursor-pointer "
alt="之前有豬肉的照片"
onmouseover="showNavOptions('show')" onmouseleave="showNavOptions('hide')" />
</button>
<!-- Dropdown Navigation Menu -->
<ol id="nav-list" onmouseover="showNavOptions('show')" onmouseleave="showNavOptions('hide')"
class="hide text-white relative w-28 rounded-xl h-44 z-10 p-1 font-bold
2xl:left-6 xl:left-6 lg:left-6 md:left-2 sm:left-2
2xl:top-24 xl:top-24 lg:top-24 md:top-24 sm:top-24 top-20
2xl:text-xl xl:text-xl lg:text-xl md:text-xl text-lg">
<li class="cursor-pointer pt-2 hover:text-red-700"><a href="#about">關於</a></li>
<li class="cursor-pointer pt-2 hover:text-red-700"><a href="#menu">菜單</a></li>
<li class="cursor-pointer pt-2 hover:text-red-700"><a href="#reviews">評價</a></li>
<li class="cursor-pointer pt-2 hover:text-red-700"><a href="#footer">電話</a></li>
</ol>
<!-- Hero Image Infomation -->
<div class="absolute bottom-44 font-Hammersmith One">
<h1 class="relative text-white top-6
2xl:left-72 xl:left-72 lg:left-60 md:left-60 sm:left-44 left-12
xl:left-72 lg:left-60 md:left-60 sm:left-44 left-12
2xl:mr-0 xl:mr-0 lg:tmr-0 md:mr-0 sm:mr-0 mr-2
2xl:text-9xl xl:text-9xl lg:text-8xl md:text-7xl text-5xl"
>特色客家美食</h1>
<button onclick="window.open('https://line.me/R/ti/p/@877hucrs')" title="點餐"
class="bg-white absolute rounded-md h-20 hover:bg-red-700
tracking-wide font-bold hover:text-white text-xl
xl:top-44 lg:top-36 md:top-28 top-24
xl:left-96 lg:left-72 md:left-60 sm:left-20 left-20
xl:ml-48 lg:ml-48 md:ml-40 sm:ml-40 ml-10
xl:w-1/4 xl:w-1/4 sm:w-40 w-40"
>點餐
</button>
</div>
</section>
<!-- About -->
<section id="about" class="bg-red-1 flex-row bg-meal w-full p-16 border-b-2
2xl:flex xl:flex lg:flex block">
<div class="2xl:w-2/5 xl:w-2/5 lg:w-3/5 h-full w-full">
<img src="https://jiapobucket.s3.amazonaws.com/3.jpg" alt="Restaurant Photo Was Here" class="4/5 pt-5" />
</div>
<div class="2xl:w-3/5 xl:w-3/5 l:w-2/5 w-full
2xl:pl-16 xl:pl-16 lg:pl-16">
<h1 class="pb-10 font-bold
2xl:text-7xl xl:text-7xl lg:text-6xl md:text-6xl text-6xl
2xl:pt-1 xl:pt-1 lg:pt-1 pt-12">姐婆的故事</h1>
<p>
Jiapo,位於桃園的這家深受當地人和遊客喜愛的餐廳,以其美味的客家豬肉飯、令人垂涎的麻糬和芳香的咖啡而聞名。
这家家族經營的餐廳不僅僅是提供食物;更是一場慶祝客家文化和傳統的盛宴,這些都是代代相傳的家庭食譜。
</p>
<button onclick="window.open('https://line.me/R/ti/p/@877hucrs')" title="點餐"
class="bg-red-600 rounded-md w-32 h-16 mt-8 text-white hover:bg-blue-700 tracking-wide font-bold"
>點餐</button>
</div>
</section>
<!-- Menu -->
<section id="menu"
class="flex-row w-full border-b-2 items-center
xl:flex lg:flex block 2xl:space-x-12 xl:space-x-12 lg:space-x-6
2xl:p-8 xl:p-8 lg:p-10 p-8">
<!-- Menu Modal -->
<div id="menu-modal" class="h-100vh w-full absolute pr-40 z-50">
<div id="menu-modal-main"
class=" pr-10 pl-10 bg-white relative border-2 shadow-2xl w-full
2xl:top-16 xl:top-16 lg:top-0
2xl:left-12 xl:left-12 left-0">
<span class="float-right relative left-2 text-7xl font-bold my-10 cursor-pointer
xl:bottom-10 lg:bottom-10 bottom-6"
onclick="manageModal('close')">×</span>
<img src="https://jiapobucket.s3.amazonaws.com/11.JPG" class="w-full">
</div>
</div>
<!-- Menu Row One -->
<div class="pr-10 m-auto
xl:pt-2 lg:pt-10 pt-6
2xl:w-1/3 xl:w-1/3 lg:w-1/3 w-full
2xl:pl-0 xl:pl-0 lg:pl-0 md:pl-0 sm:pl-0 pl-12">
<p class="font-bold
2xl:text-5xl xl:text-5xl lg:text-3xl text-4xl"
>尋找客家美食</p>
<button id="menu-modal-btn" title="菜單"
class="bg-red-600 rounded-md w-32 h-14 my-4 text-white hover:bg-blue-700 tracking-wide font-bold"
onclick="manageModal('show')">菜單</button>
</div>
<div
class="pt-10
2xl:pb-0 xl:pb-0 lg:pb-0 pb-10">
<img class="pb-2 m-auto m-full aspect-square object-cover
2xl:w-60 xl:w-60 lg:w-60 w-96
2xl:h-48 xl:h-48 lg:h-48 h-60"
src="https://jiapobucket.s3.amazonaws.com/4.jpeg">
<p><a>流口水的小菜</a></p>
</div>
</div>
<!-- Menu Row Two -->
<div
class="pt-10
2xl:pb-0 xl:pb-0 lg:pb-0 pb-10">
<img class="pb-3 mx-auto h-48 aspect-square object-cover
2xl:w-60 xl:w-60 lg:w-60 w-96
2xl:h-48 xl:h-48 lg:h-48 h-60"
src="https://jiapobucket.s3.amazonaws.com/5.jpeg">
<p><a>滿足的主餐</a></p>
</div>
<div
class="pt-10
2xl:pb-0 xl:pb-0 lg:pb-0 pb-10">
<img class="pb-3 m-auto aspect-square w-60 object-cover h-48
2xl:w-60 xl:w-60 lg:w-60 w-96
2xl:h-48 xl:h-48 lg:h-48 h-60"
src="https://jiapobucket.s3.amazonaws.com/6.jpg">
<p class="relative xl:bottom-2 lg:bottom-2 md:bottom-3 sm:bottom-3 bottom-3"><a>可口的甜點</a></p>
</div>
</div>
</section>
<!-- Reviews -->
<section id="reviews" class="bg-black w-full text-white pt-8 pb-6 pr-2 z-0 text-center
2xl:h-screen xl:h-screen lg:h-screen md:h-full h-full">
<h1
class="font-Hammersmith One pt-3 pb-6
2xl:text-7xl xl:text-7xl lg:text-7xl md:text-7xl sm:text-7xl text-5xl">客戶的評價</h1>
<!-- Row One -->
<div class="flex flex-row p-2 w-full h-2/5">
<div class="w-1/3 p-2 text-sm">
<p class="text-yellow-400 pb-3
2xl:text-4xl xl:text-4xl lg:text-4xl md:text-3xl text-xl">★★★★★</p>
<p class="2xl:text-sm xl:text-sm lg:text-sm md:text-sm sm:text-xs text-xs">
店家服務態度優良,用餐環境乾淨明亮,裝潢設計很舒服,非常適合好好享受用餐的好餐廳
</p>
<p class="pt-2">Chris Wang - Google 地圖</p>
</div>
<div class="w-1/3 w-1/3 p-2 text-sm">
<p class="text-yellow-400 pb-3
2xl:text-4xl xl:text-4xl lg:text-4xl md:text-3xl text-xl">★★★★★</p>
<p>
<p class="2xl:text-sm xl:text-sm lg:text-sm md:text-sm sm:text-xs text-xs">
推薦的紅茶牛奶真的有料 用的是古早味紅茶 不會太甜 口感很順
</p>
<p class="pt-2">培Z - Google 地圖</p>
</div>
<div class="w-1/3 p-2 text-sm">
<p class="text-yellow-400 pb-3
2xl:text-4xl xl:text-4xl lg:text-4xl md:text-3xl text-xl">★★★★★</p>
<p>
<p class="2xl:text-sm xl:text-sm lg:text-sm md:text-sm sm:text-xs text-xs">
店內佈置的很溫馨舒適,就算一個人用餐也很合適!凍讚雙響飯-控肉入味~軟中帶Q,雖然不是入口即化,
但是有口感也還不錯,梅乾肉燥也是滿下飯的~是屬於肥瘦相間偏瘦的絞肉,
梅乾也還不錯,不過梅乾味兒稍嫌不足;整體醬汁是剛好的
</p>
<p class="pt-2">Usagi C - Google 地圖</p>
</div>
</div>
<!-- Row Two -->
<div class="flex flex-row justify-evenly w-full h-3/5">
<div class="w-1/3 p-2 text-sm">
<p class="text-yellow-400 pb-3
2xl:text-4xl xl:text-4xl lg:text-4xl md:text-3xl text-xl">★★★★★</p>
<p>
<p class="2xl:text-sm xl:text-sm lg:text-sm md:text-sm sm:text-xs text-xs">
看到評價不錯來吃吃看
點了雙人套餐499
老闆很貼心提醒加大升級免費
還有小菜、茶飲
服務很不錯~~
</p>
<p class="pt-2">Maggie Lien - Google 地圖</p>
</div>
<div class="w-1/3 p-2 text-sm">
<p class="text-yellow-400 pb-3
2xl:text-4xl xl:text-4xl lg:text-4xl md:text-3xl text-xl">★★★★★</p>
<p>
<p class="2xl:text-sm xl:text-sm lg:text-sm md:text-sm sm:text-xs text-xs"
>梅甘肉燥+控肉=雙響:梅甘肉燥沒有甚麼梅子的味道,肉燥普通,但是控肉非常好吃!!控肉入口即化
</p>
<p class="pt-2">yanyan Chen - Google 地圖</p>
</div>
<div class="w-1/3 p-2 text-sm">
<p class="text-yellow-400 pb-3
2xl:text-4xl xl:text-4xl lg:text-4xl md:text-3xl text-xl">★★★★★</p>
<p>
<p class="2xl:text-sm xl:text-sm lg:text-sm md:text-sm sm:text-xs text-xs"
>可愛的小店!非常好吃的客家菜^^
一進店內就充滿台菜的香氣
</p>
<p class="pt-2">Yi Wan - Google 地圖</p>
</div>
</div>
</section>
<!-- Footer -->
<footer id="footer"
class="bg-yellow-100 flex-row p-4 h-full
2xl:flex xl:flex lg:flex md:flex block
2xl:pb-0 xl:pb-0 lg:pb-0 md:pb-0 pb-4">
<!-- Restaurant Social Media -->
<div id="restaurant-social-media"
class="2xl:w-1/3 xl:w-1/3 lg:w-1/3 md:1/3 w-full h-full">
<p class="text-3xl font-bold p-4">電話</p>
<p class="pb-1">Follow our Social Media and leave a review</p>
<div class="flex flex-row">
<div class="w-1/4 2xl:p-6 xl:p-6 lg:p-4 md:p-2 p-4 pt-8">
<button title="臉書" onclick="window.open('https://www.facebook.com/jiapoporkrice/')">
<img src="https://jiapobucket.s3.amazonaws.com/icons/1.png"
class="transform hover:scale-125 2xl:w-16 xl:w-16 lg:w-16 md:w-16 sm:w-16 w-14">
</button>
</div>
<div class="w-1/4 2xl:p-6 xl:p-6 lg:p-4 md:p-2 p-4 pt-8">
<button title="电报" onclick="window.open('https://www.instagram.com/jiapoporkrice/')">
<img src="https://jiapobucket.s3.amazonaws.com/icons/2.png"
class="transform hover:scale-125 2xl:w-16 xl:w-16 lg:w-16 md:w-16 sm:w-16 w-14">
</button>
</div>
<div class="w-1/4 2xl:p-6 xl:p-6 lg:p-4 md:p-2 p-4 pt-8">
<button title="Google 地圖" onclick="window.open('https://goo.gl/maps/p48fjghhQB28WS5k8')">
<img src="https://jiapobucket.s3.amazonaws.com/icons/3.png"
class="transform hover:scale-125 2xl:w-16 xl:w-16 lg:w-16 md:w-16 sm:w-16 w-14">
</button>
</div>
<div class="w-1/4 pb-6">
<button title="打電話" onclick="window.open('tel:+88632872305/')">
<img src="https://jiapobucket.s3.amazonaws.com/icons/4.png"
class="transform hover:scale-125
2xl:p-6 xl:p-6 lg:p-4 md:p-2 p-4 pt-8
2xl:w-full xl:w-full lg:w-full md:w-full w-24">
</button>
</div>
</div>
</div>
<!-- Restaurant Navigation -->
<div id="restaurant-nav" class="2xl:w-1/3 xl:w-1/3 lg:w-1/3 md:1/3 w-full">
<p class="text-3xl font-bold p-4">導航</p>
<div class="flex flex-row pb-2 underline font-bold pt-2 pb-4">
<ul class="w-1/2 text-red-600">
<li class="pb-2 hover:text-blue-600"><a href="#about">關於</a></li>
<li class="pb-2 hover:text-blue-600"><a href="#menu">菜單</a></li>
<li class="pb-2 hover:text-blue-600"><a href="tel:+88632872305/">電話</a></li>
<li class="hover:text-blue-600"><a href="#reviews">評價</a></li>
</ul>
<ul class="w-1/2 text-blue-600">
<li class="pb-2 hover:text-red-600"><a
href="https://www.opentable.com.tw/restaurant/profile/188282?ref=18649">內用</a></li>
<li class="pb-2 hover:text-red-600"><a href="https://line.me/R/ti/p/@877hucrs">Line Pay</a></li>
<li class="pb-2 hover:text-red-600"><a
href="https://www.ubereats.com/tw/store/%E5%A7%90%E5%A9%86jiapo/PYrgyX6AS9CA1mDer2lFDw">優食</li>
</li>
<li class="hover:text-red-600"><a href="https://www.foodpanda.com.tw/en/restaurant/y1xt/jie-po-jiapo"
>富胖达</a></li>
</ul>
</div>
</div>
<!-- Developer Information -->
<div id="developer-info" class="2xl:w-1/3 xl:w-1/3 lg:w-1/3 md:1/3 w-full p-2 pl-4">
<p class="text-3xl font-bold p-4">設計師</p>
<p>夏友柏的設計</p>
<div class="flex flex-row">
<div class="w-1/3 pt-7">
<button title="电子邮件" onclick="window.open('mailto:[email protected]')">
<img src="https://jiapobucket.s3.amazonaws.com/icons/5.png" class="transform hover:scale-125 w-16">
</button>
</div>
<div class="w-1/3 pt-5">
<button title="在领英聯絡" onclick="window.open('https://www.linkedin.com/in/robert-pether-ba9968113')">
<img src="https://jiapobucket.s3.amazonaws.com/icons/6.png" class="transform hover:scale-125 w-16">
</button>
</div>
<div class="w-1/3 pt-5">
<button title="追他的GitHub" onclick="window.open('https://github.com/rpet064/')">
<img src="https://jiapobucket.s3.amazonaws.com/icons/7.png" class="transform hover:scale-125 w-16">
</button>
<div>
</div>
</div>
</footer>
<p class="bg-yellow-100 pb-4">©姐婆Jiapo
<script>document.write(new Date().getFullYear())</script>
</p>
</main>
<script>
// This script toggles between showing and hiding the nav bar on the hero page
// Mouseover the pork will open the nav menu
// Mouseoff the menu or pork will close the menu
function showNavOptions(navDisplay) {
if (navDisplay === "show") {
$("#nav-list").show()
} else {
$("#nav-list").hide()
}
}
</script>
<script>
$(document).click(function () {
if ($("#logo")) {
if ($("#nav-list").is(":visible")) {
$("#nav-list").hide()
} else {
$("#nav-list").show()
}
}
})
</script>
</body>
<script>
// Clicking on the menu button will open up the modal with the menu on it
// Clicking off the modal will close the modal
function manageModal(modalDisplay) {
if (modalDisplay === "show") {
if ($( window ).width() < 800){
window.open("https://www.facebook.com/photo?fbid=920002638691755&set=pcb.920002672025085")
} else {
$("#menu-modal").show()
}
} else {
$("#menu-modal").hide()
}
}
</script>
<script>
// Menu & nav automatically open on load/reload - function
// hides the modal and nav-menu, on reload/refresh
window.onload = function () {
$("#menu-modal").hide()
$("#nav-list").hide()
}
</script>
<script>
// Menu will close if user clicks on document and the mouse is not hovering on the button
// that triggers the modal, or hovering the main part of the modal
// The length != 0 is for tablet users
$(document).click(function () {
if (!$("#menu-modal-main:hover").length != 0 && !$("#menu-modal-btn:hover").length != 0) {
$("#menu-modal").hide()
}
})
</script>
<script>
// function checks when screen is resized - when the width reaches 900px, will
// automatically close, because menu isn't intended to be open on small screens
$(window).on('resize', function(event){
var windowWidth = $(window).width()
if(windowWidth < 900){
$("#menu-modal").hide()
}})
</script>
</body>
</html>