-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrouting-module.js
More file actions
77 lines (76 loc) · 1.45 KB
/
Copy pathrouting-module.js
File metadata and controls
77 lines (76 loc) · 1.45 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
68
69
70
71
72
73
74
75
76
77
import { Router, Page } from "./routing.js";
Router.init("mainArea", [
new Page(
"#signin",
"pages/signin.html",
"pages/js/signin.js",
"pages/css/signin.css"
),
new Page(
"#signup",
"pages/signup.html",
"pages/js/signup.js",
"pages/css/signup.css"
),
new Page("#testpage", "pages/test.html"),
new Page(
"#home",
"pages/home.html",
"pages/js/home.js",
"pages/css/home.css"
),
new Page(
"#history",
"pages/history.html",
"pages/js/history.js",
"pages/css/history.css"
),
new Page(
"#leaderboard",
"pages/leaderboard.html",
"pages/js/leaderboard.js",
"pages/css/leaderboard.css"
),
new Page(
"#play",
"pages/play.html",
"pages/js/play.js",
"pages/css/play.css"
),
new Page(
"#component",
"pages/component.html",
"pages/js/component.js",
"pages/css/component.css"
),
new Page(
"#settings",
"pages/settings.html",
"pages/js/settings.js",
"pages/css/settings.css"
),
new Page(
"#shop",
"pages/shop.html",
"pages/js/shop.js",
"pages/css/shop.css"
),
new Page(
"#account",
"pages/account.html",
"pages/js/account.js",
"pages/css/account.css"
),
new Page(
"#aboutus",
"pages/aboutus.html",
"pages/js/aboutus.js",
"pages/css/aboutus.css"
),
new Page(
"#onboarding",
"pages/onboarding.html",
"pages/js/onboarding.js",
"pages/css/onboarding.css"
),
]);