forked from kungfukitchen/kungfureading
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
332 lines (328 loc) · 16.8 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
<!doctype html>
<html lang="en-us">
<head>
<!-- Hotjar Tracking Code for my site -->
<script>
(function(h,o,t,j,a,r){
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
h._hjSettings={hjid:3313855,hjsv:6};
a=o.getElementsByTagName('head')[0];
r=o.createElement('script');r.async=1;
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
a.appendChild(r);
})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
</script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-142946305-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-142946305-1');
</script>
<!-- Meta -->
<meta charset="utf-8">
<meta content="ie=edge" http-equiv="x-ua-compatible">
<meta content="width=device-width,initial-scale=1" name="viewport">
<title>Kungfu Kitchen - Reading's Most Authentic Chinese Restaurant</title>
<meta content="Kungfu Kitchen is Reading's most authentic chinese restaurant. Serving traditional specialities from all parts of China." name="description">
<link href="styles.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,400i|Roboto+Condensed:700" rel="stylesheet">
<link href="favicon.ico" rel="shortcut icon">
<meta content="Kungfu Kitchen - Reading's Most Authentic Chinese Restaurant" property="og:title">
<meta content="https://kungfureading.co.uk/img/kungfu.jpg" property="og:image">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js">
<!-- Google Search Console -->
<meta name="google-site-verification" content="oiaCj80TlvcH2txMtZT7Kw64hirfnNYXEWWTII79z5Q" />
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-csv/0.71/jquery.csv-0.71.min.js">
</script>
</head>
<body>
<div class="container pt1 pb3">
<div class="grid-column align--right align--center-on-mobile">
<ul class="no-bullets list--inline topmenu">
<li class="mr1">
<a class="link" href="https://instagram.com/kungfureading"><img alt="Instagram @kungfureading" class="icon" src="img/instagram.svg"></a>
</li>
<li class="mr1">
<a class="link" href="https://twitter.com/kungfureading"><img alt="Twitter @kungfureading" class="icon" src="img/twitter.svg"></a>
</li>
<li class="">
<a class="link" href="weixin://dl/chat?{Yipin-Joanna521}"><img alt="Wechat" class="icon" src="img/wechat.svg"></a>
</li>
</ul>
</div>
<div class="grid-row grid-row--bottom">
<!-- Title -->
<div class="grid-column span-12">
<div class="square">
<header class="aspect-ratio__content bg--tan text--white align--center centered-content" style="background:rgba(0,0,0,0) url(img/kungfu.jpg) no-repeat scroll center center/cover">
<h1 class="inline-block vertical--bottom mb0 title" style="display:none">Kungfu Kitchen: Reading's Best Chinese Restaurant</h1>
</header>
</div>
</div><!-- Philosophy -->
<div class="grid-column span-6 mt1 one">
<div class="square">
<div class="aspect-ratio__content bg--tan centered-content border--tan p1">
<p class="h2 mb1 heading-font text--primary-color">Reading's Most Authentic Chinese Restaurant</p>
<p class="ellipsis">A family-run restaurant serving traditional specialities from all parts of China. Enjoy our range of authentic Chinese dishes and our generous portions.</p>
</div>
</div>
</div>
</div>
<main>
<div class="grid-row">
<div class="grid-column span-12">
<div class="grid-row">
<!-- Hours -->
<div class="grid-column span-12 mt1 testimonial">
<div class="square">
<div class="aspect-ratio__content centered-content align--center border--tan">
<p class="h3">Mon-Sun 9am-10pm</p>
<p class="h3">80 Christchurch Road,<br>
Reading, RG2 7AZ</p>
<p class="h3"><a href="tel:+4407587577966">07587 577966</a></p>
</div>
</div>
</div><!-- testimonial -->
<div class="grid-column span-12 mt1 span-half-mobile mobile-col--left">
<div class="square">
<div class="aspect-ratio__content border--tan centered-content p1 align--center">
<img class="quote mb1" src="img/quote.svg">
<p class="h3 italic">It looks like I may have a new favourite restaurant.</p>
<p class="italic">– <a href="https://ediblereading.com/2019/06/14/kungfu-kitchen/">@ediblereading</a></p>
</div>
</div>
</div><!-- Food pic -->
<div class="grid-column mt1 show-on-mobile span-half-mobile mobile-col--right">
<div class="square">
<div class="aspect-ratio__content bg--tan" style="background:rgba(0,0,0,0) url(img/food01.jpg) no-repeat scroll center center/cover">
<a class="link block full-height" href="https://instagram.com/kungfureading"></a>
</div>
</div>
</div>
</div>
<div class="grid-row">
<!-- Map - desktop and mobile -->
<div class="grid-column span-12 offset-half mt1 align--center hide-md-to-lg testimonial">
<div class="square">
<div class="aspect-ratio__content bg--tan" style="background:rgba(0,0,0,0) url(img/map.png) no-repeat scroll center center/cover">
<a class="link block full-height" href="https://goo.gl/maps/ZfT7HeJ78BRaupqu9" target="_blank"></a>
</div>
</div>
</div><!-- Map - tablet -->
<div class="grid-column mt1 align--center show-md-to-lg mobile-col--full">
<div class="rectangle">
<div class="aspect-ratio__content bg--tan" style="background:rgba(0,0,0,0) url(img/map.png) no-repeat scroll center center/cover">
<a class="link block full-height" href="https://goo.gl/maps/ZfT7HeJ78BRaupqu9" target="_blank"></a>
</div>
</div>
</div>
</div>
</div><!-- Food pic - tablet and desktop -->
<div class="grid-column span-12 mt1 hide-on-mobile">
<div class="square">
<div class="aspect-ratio__content bg--tan" style="background:rgba(0,0,0,0) url(img/food01.jpg) no-repeat scroll center center/cover">
<a class="link block full-height" href="https://instagram.com/kungfureading"></a>
</div>
</div>
</div>
</div>
<div class="grid-row">
<!-- CTA -->
<div class="grid-column offset-half span-12 mt1 order-1">
<div class="rectangle">
<div class="aspect-ratio__content bg--primary-color text--white align--center centered-content">
<p class="h2">Make a reservation</p>
<p class="h1 mb0 font--heading"><a href="tel:+4407587577966">07587 577966</a></p>
</div>
</div>
</div><!-- Download menu - desktop and mobile -->
<div class="grid-column span-6 offset-one-fourth mt1 order-5 hide-md-to-lg">
<div class="square">
<div class="aspect-ratio__content bg--tan centered-content align--center">
<p class="h2 font--heading mb0 uppercase text--primary-color"><a class="link" href="menu.pdf">Download the menu</a></p>
</div>
</div>
</div><!-- Download menu - tablet -->
<div class="grid-column span-6 offset-one-fourth mt1 order-5 show-md-to-lg">
<div class="rectangle">
<div class="aspect-ratio__content bg--tan centered-content align--center">
<p class="h2 font--heading mb0 uppercase text--primary-color"><a class="link" href="menu.pdf">Download the menu</a></p>
</div>
</div>
</div><!-- 1st testimonial -->
<div class="grid-column span-6 mt1 order-2 testimonial">
<div class="square">
<div class="aspect-ratio__content border--tan centered-content p2 align--center">
<img class="quote mb1" src="img/quote.svg">
<p class="h3 italic">But look closer, and you’ll find this is no run-of-the-mill regional takeaway. Not so much lemon chicken as stir-fried lamb’s tripe with coriander and Dongpo-style pig shoulder.</p>
<p class="italic">– <a href="https://www.dailymail.co.uk/home/you/article-9762501/Tom-Parker-Bowles-Olly-Smith-Eating-out.html" target=”_blank”>Tom Parker Bowles</a></p>
</div>
</div>
</div><!-- Chef pic -->
<div class="grid-column span-6 span-half-mobile mobile-col--left mt1 order-3 hide-on-mobile">
<div class="square">
<div class="aspect-ratio__content bg--tan" style="background:rgba(0,0,0,0) url(img/chef.jpg) no-repeat scroll center center/cover">
<a class="link block full-height" href="https://instagram.com/kungfureading"></a>
</div>
</div>
</div><!-- 2nd food pic -->
<div class="grid-column span-6 span-half-mobile mobile-col--right mt1 order-4 hide-on-mobile">
<div class="square">
<div class="aspect-ratio__content bg--tan" style="background:rgba(0,0,0,0) url(img/food02.jpg) no-repeat scroll center center/cover">
<a class="link block full-height" href="https://instagram.com/kungfureading"></a>
</div>
</div>
</div><!-- 2nd testimonial -->
<div class="grid-column span-6 mt1 order-5 testimonial hide-on-mobile">
<div class="square">
<div class="aspect-ratio__content centered-content border--tan p1 align--center">
<img class="quote mb1" src="img/quote.svg">
<p class="h3 italic">Fabulous authentic food. Warm and welcoming service.</p>
<p class="italic">– T</p>
</div>
</div>
</div>
</div>
<!-- Quote Carousel -->
<div class="quotecarousel mt1" id="quotecarousel"></div>
<div class="grid-row">
<div class="grid-column span-12">
<div class="grid-row">
<!-- 2nd testimonial -->
<div class="grid-column span-12 mt1 order-5 testimonial hide-on-mobile">
<div class="square">
<div class="aspect-ratio__content centered-content border--tan p1 align--center">
<img class="quote mb1" src="img/quote.svg">
<p class="h3 italic">山东全羊汤 味道不错</p>
<p class="italic">– Yuqi</p>
</div>
</div>
</div><!-- 1st food pic -->
<div class="grid-column span-12 mt1 span-half-mobile mobile-col--left">
<div class="square">
<div class="aspect-ratio__content bg--tan" style="background:rgba(0,0,0,0) url(img/food101a.jpg) no-repeat scroll center center/cover">
<a class="link block full-height" href="https://instagram.com/kungfureading"></a>
</div>
</div>
</div><!-- Food pic -->
<div class="grid-column mt1 show-on-mobile span-half-mobile mobile-col--right">
<div class="square">
<div class="aspect-ratio__content bg--tan" style="background:rgba(0,0,0,0) url(img/wechat.png) no-repeat scroll center center/cover">
<a class="link block full-height" href="weixin://dl/chat?{Yipin-Joanna521}"></a>
</div>
</div>
</div>
</div>
<div class="grid-row">
<!-- 2nd testimonial -->
<div class="grid-column span-12 mt1 order-5 offset-half testimonial">
<div class="square">
<div class="aspect-ratio__content centered-content border--tan p1 align--center">
<img class="quote mb1" src="img/quote.svg">
<p class="h3 italic">A restaurant with a big personality. Great addition to Reading.</p>
<p class="italic">– Darren</p>
</div>
</div>
</div>
</div>
</div><!-- Food pic - tablet and desktop -->
<div class="grid-column span-12 mt1 hide-on-mobile">
<div class="square">
<div class="aspect-ratio__content bg--tan" style="background:rgba(0,0,0,0) url(img/food102.jpg) no-repeat scroll center center/cover">
<a class="link block full-height" href="https://instagram.com/kungfureading"></a>
</div>
</div>
</div>
</div>
</main><!-- Footer -->
<footer class="border--top mt2 pt1 mb2">
<div class="grid-row">
<div class="grid-column span-half align--center-on-mobile mt1">
<p><span class="block-on-mobile">© Kungfu Kitchen</span></p>
<p><span class="block-on-mobile">Phone/text: <a href="tel:+4407587577966">07587 577966</a> / Email: <a href="mailto:%[email protected]">[email protected]</a> / <a href="weixin://dl/chat?{Yipin-Joanna521}">WeChat</a></span></p>
<p><span class="block-on-mobile">Address: 80 Christchurch Road, Reading, RG2 7AZ</span></p>
<p><span class="block-on-mobile"><ul class="no-bullets list--inline">
<li class="mr1"><a class="link" href="https://kungfureading.co.uk/careers">Careers</li>
</ul>
<p><span class="block-on-mobile">website built by <a href="https://mirabiliamedia.com" target="_blank">mm</a></span></p>
</div>
<div class="grid-column align--right align--center-on-mobile mt1">
<ul class="no-bullets list--inline">
<li class="mr1">
<a class="link" href="https://instagram.com/kungfureading"><img alt="Instagram @kungfureading" class="icon" src="img/instagram.svg"></a>
</li>
<li class="mr1">
<a class="link" href="https://twitter.com/kungfureading"><img alt="Twitter @kungfureading" class="icon" src="img/twitter.svg"></a>
</li>
<li class="mr1">
<a class="link" href="weixin://dl/chat?{Yipin-Joanna521}"><img alt="Wechat" class="icon" src="img/wechat.svg"></a>
</li>
<li class="mr1">
<a class="link" href="https://foursquare.com/v/kungfu-kitchen/5c9e9b66180b9100399ac5d9"><img alt="Foursquare" class="icon" src="img/foursquare.svg"></a>
</li>
<li class="mr1">
<a class="link" href="https://www.tripadvisor.co.uk/Restaurant_Review-g186363-d16644023-Reviews-Kungfu_Kitchen-Reading_Berkshire_England.html"><img alt="Trip Advisor" class="icon" src="img/trip.svg"></a>
</li>
<li>
<a class="link" href="https://facebook.com/kungfureading"><img alt="Facebook" class="icon" src="img/facebook.svg"></a>
</li>
</ul>
</div>
</div>
</footer>
</div><!-- End container -->
<!-- Built by Mirabilia Media https://mirabiliamedia.com with "Avocado" by Papaya https://eatapapaya.com -->
<script>
$(document).ready(function() {
var data;
$.ajax({
type: "GET",
crossDomain: true,
url: "https://docs.google.com/spreadsheets/d/e/2PACX-1vRG7WQ1r3SBdA0YF6k9DBzmvQzirjJj00xpPwIf7OQlhXeMV9oc-qHVrmGCOIHoNo7dXRIcjqNav83F/pub?gid=1071840821&single=true&output=csv",
dataType: "text",
success: function(response) {
data = $.csv.toArrays(response);
data.sort(function() { return 0.5 - Math.random() }); //randomize
generateQuotes(data);
}
});
function generateQuotes(data) {
var html = '<div class="square tan">';
html += '<div class="aspect-ratio__content border--tan centered-content p1 align--center"><img class="quote mb0" src="img/quote.svg">';
html += '<p class="h2">Quotes<\/p><p class="italic">Swipe to see more <\/p><\/div><\/div>';
if (typeof(data[0]) === 'undefined') {
return null;
} else {
$.each(data, function(index, row) {
quoteno = index + 1;
alt = index%2==0?'':'tan';
html += '<div class="square ' + alt +'">';
html += '<div class="aspect-ratio__content border--tan centered-content p1 align--center">';
html += '<img class="quote mb1" src="img/quote.svg">';
html += '<p class="h3 italic">';
html += row[0];
html += '<\/p>';
html += '<p class="italic">– ';
html += row[1];
html += '<\/p>';
html += '<i>#' + quoteno + '<\/i>';
html += '<\/div><\/div>';
});
html += '<div class="square">';
html += '<div class="aspect-ratio__content centered-content p1 align--center">';
html += '<p class="h2 scrollback"><a name="scrollback">←<br\/>back<\/a><\/p><\/div><\/div>';
$('#quotecarousel').append(html);
}
}
});
$(document).ready(function(){
$('.quotecarousel').on('click', '.scrollback', function() {
$(".quotecarousel").scrollLeft(0);
});
});
</script>
</body>
</html>