Skip to content

Commit 9848bc9

Browse files
committed
Update commite
1 parent e20900a commit 9848bc9

File tree

4 files changed

+387
-137
lines changed

4 files changed

+387
-137
lines changed

src/main.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,9 @@ app.use(router)
1010
app.mount('#app')
1111

1212
// Init AOS after mount
13-
AOS.init();
13+
AOS.init(
14+
{
15+
once: true, // Animation happens only once
16+
easing: 'ease-in-out', // Smooth easing
17+
}
18+
);

src/router/index.js

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,21 @@ import Home from "../views/Home.vue";
33

44
const routes = [
55
{ path: "/", component: Home },
6-
// {
7-
// path: "/number-theory",
8-
// component: () => import("../views/NumberTheory.vue"),
9-
// },
10-
// {
11-
// path: "/cryptography",
12-
// component: () => import("../views/Cryptography.vue"),
13-
// },
14-
// { path: "/concepts", component: () => import("../views/Concepts.vue") },
15-
// { path: "/demos", component: () => import("../views/Demo.vue") },
16-
// { path: "/about", component: () => import("../views/About.vue") },
17-
// {
18-
// path: "/demos/:basePath/:hash",
19-
// component: () => import("../views/Result.vue"),
20-
// },
6+
{
7+
path: "/number-theory",
8+
component: () => import("../views/NumberTheory.vue"),
9+
},
10+
{
11+
path: "/cryptography",
12+
component: () => import("../views/Cryptography.vue"),
13+
},
14+
{ path: "/concepts", component: () => import("../views/Concepts.vue") },
15+
{ path: "/demos", component: () => import("../views/Demo.vue") },
16+
{ path: "/about", component: () => import("../views/About.vue") },
17+
{
18+
path: "/demos/:basePath/:hash",
19+
component: () => import("../views/Result.vue"),
20+
},
2121
];
2222

2323
const router = createRouter({

0 commit comments

Comments
 (0)