-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfood-menu2.html
executable file
·106 lines (77 loc) · 2.73 KB
/
food-menu2.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
<!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 background-white" data-aos="fade-up">
<!-- grid container -->
<div class="grid-container no-padding-for-small-only">
<!-- grid x -->
<div class="grid-x">
<!-- cell -->
<div class="cell medium-12" id="food-lunch">
<!-- fluid-columns -->
<div class="fluid-columns padding-top-60 padding-bottom-60 hide-for-small-only">
<!-- vue - loop -->
<!-- https://laracasts.com/discuss/channels/vue/use-v-for-without-wrapping-element -->
<template v-for="(categoryItems, index) in items">
<h4 class="heading-food">{{ index }}</h4>
<div class="food-body">
<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>
<!-- vue - loop -->
</div>
<!-- fluid-columns -->
<!-- accordion -->
<div class="accordion accordion-items show-for-small-only">
<!-- vue - loop -->
<!-- https://laracasts.com/discuss/channels/vue/use-v-for-without-wrapping-element -->
<template v-for="(categoryItems, index) in items">
<h4 class="heading-accordion">{{ index }}</h4>
<div class="accordion-body">
<div class="accordion-text">
<template v-for="item in categoryItems">
<h5 class="title-food">{{ item.title }}</h5>
<p class="description-food">{{ item.description }}</p>
</template>
</div>
<br/>
<br/>
</div>
</template>
<!-- vue - loop -->
</div>
<!-- accordion -->
</div>
<!-- cell -->
</div>
<!-- grid x -->
</div>
<!-- grid-container -->
</div>
<!-- row food -->
</main>
</body>
</html>