import { Routes } from "@angular/router";

export const routes: Routes = [
    {
        path: "home",
        loadChildren: () => import('./modules/public/home/home.module').then(m => m.HomeModule)
    },
    {
        path: "discover",
        loadChildren: () => import('./modules/public/discover/discover.module').then(m => m.DiscoverModule)
    },
    {
        path: "**",
        redirectTo: "home",
        pathMatch: "full"
    }
]
