File: /var/www/vhost/disk-apps/pwa.sports-crowd.com/src/app/pages/tabs-page/tabs-page-routing.module.ts
import { NgModule } from "@angular/core";
import { RouterModule, Routes } from "@angular/router";
import { TabsPage } from "./tabs-page";
const routes: Routes = [
{
path: "tabs",
component: TabsPage,
children: [
{
path: "bookcase",
children: [
{
path: "",
loadChildren: () => import("../bookcase/bookcase.module").then((m) => m.BookcasePageModule),
},
],
},
{
path: "tv",
children: [
{
path: "",
loadChildren: () => import("../youtube/youtube.module").then((m) => m.YoutubePageModule),
},
],
},
{
path: "social",
children: [
{
path: "",
loadChildren: () => import("../youtube/youtube.module").then((m) => m.YoutubePageModule),
},
],
},
{
path: "player",
children: [
{
path: "",
loadChildren: () => import("../player/player.module").then((m) => m.PlayerPageModule),
},
],
},
{
path: "home",
children: [
{
path: "",
loadChildren: () => import("../home-sc/home-sc.module").then((m) => m.HomeScPageModule),
},
{
path: "statistics",
loadChildren: () => import("../statistics/statistics.module").then((m) => m.StatisticsPageModule),
},
{
path: "social",
loadChildren: () => import("../youtube/youtube.module").then((m) => m.YoutubePageModule),
},
{
path: 'coins',
loadChildren: () => import('../coins/coins.module').then(m => m.CoinsPageModule)
},
{
path: "shop",
loadChildren: () => import("../list-master/list-master.module").then((m) => m.ListMasterPageModule),
},
{
path: "news",
loadChildren: () => import("../news/news.module").then((m) => m.NewsPageModule),
},
{
path: "symbolic-ticket",
loadChildren: () => import("../symbolic-ticket-list/symbolic-ticket-list.module").then((m) => m.SymbolicTicketListPageModule),
},
{
path: "player",
loadChildren: () => import("../player/player.module").then((m) => m.PlayerPageModule),
},
{
path: "academy",
loadChildren: () => import("../academy/academy.module").then((m) => m.AcademyPageModule),
},
{
path: 'academy/academy-payments/:academy_user_id',
loadChildren: () => import('../academy-payments/academy-payments.module').then(m => m.AcademyPaymentsPageModule)
},
],
},
{
path: "news",
children: [
{
path: "",
loadChildren: () => import("../news/news.module").then((m) => m.NewsPageModule),
},
{
path: "new-detail/:new_id",
loadChildren: () => import("../new-detail/new-detail.module").then((m) => m.NewDetailPageModule),
},
],
},
{
path: "shop",
children: [
{
path: "",
loadChildren: () => import("../list-master/list-master.module").then((m) => m.ListMasterPageModule),
},
{
path: "item-detail",
loadChildren: () => import("../item-detail/item-detail.module").then((m) => m.ItemDetailPageModule),
},
{
path: "statistics",
loadChildren: () => import("../statistics/statistics.module").then((m) => m.StatisticsPageModule),
},
{
path: "trends",
loadChildren: () => import("../trends/trends.module").then((m) => m.TrendsPageModule),
},
{
path: "cart",
loadChildren: () => import("../cart/cart.module").then((m) => m.CartPageModule),
},
{
path: "search",
loadChildren: () => import("../search/search.module").then((m) => m.SearchPageModule),
},
{
path: "shopify",
loadChildren: () => import("../shopify/shopify.module").then((m) => m.ShopifyPageModule)
},
{
path: "confirm-order",
loadChildren: () => import("../confirm-order/confirm-order.module").then((m) => m.ConfirmOrderPageModule)
},
],
},
{
path: "settings",
children: [
{
path: "",
loadChildren: () => import("../settings/settings.module").then((m) => m.SettingsPageModule),
},
{
path: "address-list",
loadChildren: () => import("../address-list/address-list.module").then((m) => m.AddressListPageModule),
},
{
path: "user-orders",
loadChildren: () => import("../user-orders/user-orders.module").then((m) => m.UserOrdersPageModule),
},
{
path: "order/:order_id/:origin",
loadChildren: () => import("../order/order.module").then((m) => m.OrderPageModule),
},
{
path: "statistics",
loadChildren: () => import("../statistics/statistics.module").then((m) => m.StatisticsPageModule),
},
{
path: "player",
loadChildren: () => import("../player/player.module").then((m) => m.PlayerPageModule),
},
{
path: "suggestions-mailbox",
loadChildren: () => import("../suggestions-mailbox/suggestions-mailbox.module").then((m) => m.SuggestionsMailboxPageModule),
},
{
path: "cards",
loadChildren: () => import("../cards/cards.module").then((m) => m.CardsPageModule),
},
{
path: "card-add",
loadChildren: () => import("../card-add/card-add.module").then((m) => m.CardAddPageModule),
},
{
path: "messages",
loadChildren: () => import("../messages/messages.module").then((m) => m.MessagesPageModule),
},
{
path: "user-profile",
loadChildren: () => import("../user-profile/user-profile.module").then((m) => m.UserProfilePageModule),
},
{
path: "referrals",
loadChildren: () => import("../referrals/referrals.module").then((m) => m.ReferralsPageModule),
},
{
path: "polls-list",
loadChildren: () => import("../polls-list/polls-list.module").then((m) => m.PollsListPageModule),
},
{
path: "request/:form_id",
loadChildren: () => import("../request/request.module").then((m) => m.RequestModule),
},
{
path: "video",
loadChildren: () => import("../video/video.module").then((m) => m.VideoPageModule),
},
{
path: "dorsal",
loadChildren: () => import("../dorsal/dorsal.module").then((m) => m.DorsalPageModule),
},
{
path: "radio",
loadChildren: () => import("../radio/radio.module").then((m) => m.RadioPageModule),
},
{
path: "social",
loadChildren: () => import("../youtube/youtube.module").then((m) => m.YoutubePageModule),
},
{
path: "tiktok",
loadChildren: () => import("../tiktok/tiktok.module").then((m) => m.TiktokPageModule),
},
{
path: "symbolic-ticket-list",
loadChildren: () => import("../symbolic-ticket-list/symbolic-ticket-list.module").then((m) => m.SymbolicTicketListPageModule),
},
{
path: "tickets-list",
children: [
{
path: "",
loadChildren: () => import("../tickets-list/tickets-list.module").then((m) => m.TicketsListPageModule),
},
{
path: "ticket-detail/:code",
loadChildren: () => import("../ticket-detail/ticket-detail.module").then((m) => m.TicketDetailPageModule),
},
],
},
{
path: "wallet",
loadChildren: () => import("../wallet/wallet.module").then((m) => m.WalletPageModule),
},
{
path: "album",
loadChildren: () => import("../album/album.module").then((m) => m.AlbumPageModule),
},
{
path: 'academy',
loadChildren: () => import('../academy/academy.module').then(m => m.AcademyPageModule)
},
{
path: 'academy/academy-payments/:academy_user_id',
loadChildren: () => import('../academy-payments/academy-payments.module').then(m => m.AcademyPaymentsPageModule)
},
{
path: 'subscriber-tutorial',
loadChildren: () => import('../subscriber-tutorial/subscriber-tutorial.module').then(m => m.SubscriberTutorialPageModule)
},
{
path: 'subscribers',
loadChildren: () => import('../subscribers/subscribers.module').then(m => m.SubscribersPageModule)
},
{
path: 'coins',
loadChildren: () => import('../coins/coins.module').then(m => m.CoinsPageModule)
},
],
},
{
path: "",
redirectTo: "/app/tabs/shop",
pathMatch: "full",
},
{
path: "ticket",
loadChildren: () => import("../buy-tickets/buy-tickets.module").then((m) => m.BuyTicketsPageModule),
},
{
path: "business-directory",
children: [
{
path: "",
loadChildren: () => import('../business-directory/business-directory.module').then(m => m.BusinessDirectoryPageModule),
}
],
},
{
path: "academy",
children: [
{
path: "",
loadChildren: () => import('../academy/academy.module').then(m => m.AcademyPageModule),
}
],
},
],
},
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule],
})
export class TabsPageRoutingModule { }