-
Notifications
You must be signed in to change notification settings - Fork 0
/
script.js
58 lines (53 loc) · 1.02 KB
/
script.js
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
// import images as relative image path won't work with vite/vercel.
import check from "./assets/check.svg";
import star from "./assets/star.svg";
import sushi12 from "./assets/sushi-12.png";
import sushi11 from "./assets/sushi-11.png";
import sushi10 from "./assets/sushi-10.png";
import AOS from "aos";
import "aos/dist/aos.css";
// init AOS animation
AOS.init({
duration: 1000,
offset: 100,
});
const trendingSushis = [
"Make Sushi",
"Nigiri Sushi",
"Oshizushi",
"Temaki Sushi",
"Uramaki Sushi",
"Inari Sushi",
];
const trendingDrinks = [
"Oruncha",
"Ofukucha",
"Sakura Tea",
"Kombu-cha",
"Aojiru",
"Mugicha",
];
const cards = [
{
imgSrc: sushi12,
alt: "sushi-12",
title: "Chezu Sushi",
rating: "4.8",
price: "$21.00",
},
{
imgSrc: sushi11,
alt: "sushi-11",
title: "Originale Sushi",
rating: "4.8",
price: "$21.00",
active: true,
},
{
imgSrc: sushi10,
alt: "sushi-10",
title: "Ramen Legendo",
rating: "4.8",
price: "$21.00",
},
];