forked from Anagrr/Fuse.FoodAppExample
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathData.ts
More file actions
67 lines (66 loc) · 2.86 KB
/
Data.ts
File metadata and controls
67 lines (66 loc) · 2.86 KB
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
import Category from './Models/Category';
import Dish from './Models/Dish';
export default class Data {
categoriesList = [
new Category({
name: "Pizza",
image: "Assets/Images/pizza.png",
dishes:[
new Dish({
name: "Margarita",
description: "The pizzas cost only three euros and arrived flopping off of the plates. Literally, flopping. They were huge. I ate every last bite of that pizza and came back for another one the very next day.",
rating: 5,
image: "Assets/Images/pizza.png",
price: 7.50
}),
new Dish({
name: "Fruti Di Mare",
description: "The pizzas cost only three euros and arrived flopping off of the plates. Literally, flopping. They were huge. I ate every last bite of that pizza and came back for another one the very next day.",
rating: 2,
image: "Assets/Images/pizza.png",
price: 9.99,
inCart: false,
})
]
}),
new Category({
name: "Salads",
image: "Assets/Images/salad.png",
dishes:[
new Dish({
name: "Olivie",
description: "The pizzas cost only three euros and arrived flopping off of the plates. Literally, flopping. They were huge. I ate every last bite of that pizza and came back for another one the very next day.",
rating: 3,
image: "Assets/Images/salad.png",
price: 19.99
})
]
}),
new Category({
name: "Desserts",
image: "Assets/Images/dessert.png",
dishes:[
new Dish({
name: "Some dessert",
description: "The pizzas cost only three euros and arrived flopping off of the plates. Literally, flopping. They were huge. I ate every last bite of that pizza and came back for another one the very next day.",
rating: 4,
image: "Assets/Images/dessert.png",
price: 3.99
})
]
}),
new Category({
name: "Pasta",
image: "Assets/Images/pasta.png",
dishes:[
new Dish({
name: "Pasta pasta",
description: "The pizzas cost only three euros and arrived flopping off of the plates. Literally, flopping. They were huge. I ate every last bite of that pizza and came back for another one the very next day.",
rating: 3,
image: "Assets/Images/pasta.png",
price: 6.99
})
]
}),
]
}