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

export const routes: Routes = [
  {
    path: '',
    loadComponent: () => import('./pages/home/home.component').then(
      (homePageModule) => homePageModule.HomeComponent
    )
  },
  {
    path: 'what-is-toju',
    loadComponent: () => import('./pages/what-is-toju/what-is-toju.component').then(
      (whatIsTojuPageModule) => whatIsTojuPageModule.WhatIsTojuComponent
    )
  },
  {
    path: 'downloads',
    loadComponent: () => import('./pages/downloads/downloads.component').then(
      (downloadsPageModule) => downloadsPageModule.DownloadsComponent
    )
  },
  {
    path: 'gallery',
    loadComponent: () => import('./pages/gallery/gallery.component').then(
      (galleryPageModule) => galleryPageModule.GalleryComponent
    )
  },
  {
    path: 'philosophy',
    loadComponent: () => import('./pages/philosophy/philosophy.component').then(
      (philosophyPageModule) => philosophyPageModule.PhilosophyComponent
    )
  },
  {
    path: '**',
    redirectTo: ''
  }
];
