· 5 months ago · Apr 20, 2025, 04:10 AM
1import { Router } from "@/helper/RouteModel";
2const Login = () => import("@/website/views/auth/Login.vue");
3const Registration = () => import("@/website/views/auth/Registration.vue");
4const Confirmation = () => import("@/website/views/auth/RegistrationConfirmation.vue");
5const Verify = () => import("@/website/views/auth/Verify.vue");
6const ForgotPassword = () => import("@/website/views/auth/ForgotPassword.vue");
7
8const routes: Router[] = [
9 {
10 path: "/",
11 component: () => import("@/website/views/WebsiteLayout.vue"),
12 children: [
13 {
14 path: "",
15 name: "website",
16 component: () => import("@/website/views/home/home.vue")
17 },
18 {
19 path: "home",
20 name: "home",
21 component: () => import("@/website/views/home/home.vue")
22 },
23 {
24 path: "how-it-works",
25 name: "How It Works",
26 component: () => import("@/website/views/home/how-it-works.vue")
27 },
28 {
29 path: "about-us",
30 name: "About Us",
31 component: () => import("@/website/views/home/about-us.vue")
32 },
33 {
34 path: "privacy-policy",
35 name: "Prvacy Policy",
36 component: () => import("@/website/views/home/privacy-policy.vue")
37 },
38 {
39 path: "terms-conditions",
40 name: "Terms and Conditions",
41 component: () => import("@/website/views/home/terms-conditions.vue")
42 },
43 {
44 path: "login",
45 name: "Login",
46 component: Login
47 },
48 {
49 path: "registration",
50 name: "Registration",
51 component: Registration
52 },
53 {
54 path: "registration-verify",
55 name: "verify",
56 component: Verify
57 },
58 {
59 path: "registration-confirmation",
60 name: "confirmation",
61 component: Confirmation
62 },
63 {
64 path: "forgot-password",
65 name: "Forgot Password",
66 component: ForgotPassword
67 },
68 {
69 path: "subscription",
70 name: "Subscription",
71 component: () => import("@/website/views/home/subscription.vue")
72 }
73 ]
74 }
75];
76
77export default routes;
78