-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfood-menu1.html
executable file
·188 lines (138 loc) · 5.22 KB
/
food-menu1.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=500" />
<meta name="author" content="" />
<meta name="description" content="">
<meta name="keywords" content="">
<title>JS Accordion</title>
<!-- Google font -->
<link href="https://fonts.googleapis.com/css?family=Vollkorn" rel="stylesheet">
<!-- CSS bundle -->
<link href="dist/bundle.min.css" rel="stylesheet">
<!-- JS bundle -->
<script src="dist/bundle.min.js"></script>
<link href="favicon.ico" rel="shortcut icon" type="image/x-icon">
</head>
<body>
<main>
<!-- row food -->
<div class="row row-food">
<!-- grid container -->
<div class="grid-container no-padding-for-small-only-for-cards" data-aos="fade-up" id="food-catering">
<!-- grid x - no flex -->
<div class="grid-x grid-padding-x show-for-small-only">
<!-- cell item -->
<div class="cell small-12">
<!-- accordion -->
<div class="accordion accordion-items">
<!-- vue - loop -->
<!-- https://laracasts.com/discuss/channels/vue/use-v-for-without-wrapping-element -->
<template v-for="item in items">
<h4 class="heading-accordion">{{ item.title }}</h4>
<div class="accordion-body">
<div class="accordion-text">
<p>{{ item.description }}</p>
<a class="button button-arrow" :data-toggle="item.id" >View sample menu <i class="icon icon-arrow-right"></i></a>
</div>
<div class="accordion-image">
<img :src="item.image" class="float-center">
</div>
</div>
</template>
<!-- vue - loop -->
</div>
<!-- accordion -->
</div>
<!-- cell item -->
</div>
<!-- grid x -->
<!-- grid x - with flexbox -->
<div class="grid-x grid-padding-x align-center hide-for-small-only ">
<!-- vue - loop -->
<div v-for="item in items" class="cell large-4 medium-6">
<!-- card -->
<div class="card grid-item">
<div class="image-container">
<a class="button-image" :data-toggle="item.id">
<img :src="item.image" class="float-center">
</a>
<div class="text-center image-text width-80">
<h3 class="heading">{{ item.title }}</h3>
<p>{{ item.description }}</p>
<a :data-toggle="item.id">View sample menu <i class="icon icon-arrow-right"></i></a>
</div>
</div>
</div>
<!-- card -->
</div>
<!-- vue - loop -->
</div>
<!-- grid x -->
<!-- reveal -->
<!-- vue - loop menus -->
<!-- https://laracasts.com/discuss/channels/vue/use-v-for-without-wrapping-element -->
<template v-for="item in items">
<!-- reveal -->
<div class="small reveal custom" :id="item.id" data-reveal>
<!-- container-reveal -->
<div class="container-reveal">
<!-- grid container -->
<div class="grid-container no-padding-for-small-only">
<!-- grid x -->
<div class="grid-x grid-padding-x">
<!-- cell -->
<div class="cell medium-10 medium-offset-1 text-center">
<h4 class="heading font-big">{{ item.title }}</h4>
</div>
<!-- cell -->
<!-- cell -->
<div class="cell medium-10 medium-offset-1 text-center font-light">
<p>{{ item.notes }}</p>
<br/>
</div>
<!-- cell -->
<!-- cell -->
<div class="cell small-12">
<!-- fluid-columns -->
<div class="fluid-columns">
<!-- loop food categories in each menu -->
<template v-for="(categoryItems, index) in item.items">
<h4 class="heading-food">{{ index }}</h4>
<div class="food-body">
<!-- loop food items in each categories -->
<template v-for="item in categoryItems">
<h5 class="title-food">{{ item.title }}</h5>
<p class="description-food">{{ item.description }}</p>
</template>
<br/>
<br/>
</div>
</template>
</div>
<!-- fluid-columns -->
</div>
<!-- cell -->
</div>
<!-- grid x -->
</div>
<!-- grid container -->
</div>
<!-- container-reveal -->
<button class="close-button" data-close aria-label="Close reveal" type="button">
<span aria-hidden="true">×</span>
</button>
</div>
<!-- reveal -->
</template>
<!-- vue - loop -->
<!-- reveal -->
</div>
<!-- grid-container -->
</div>
<!-- row food -->
</main>
</body>
</html>