From 5000465fd625377e54d4e9a8bcb7ac1ccdd5d5ce Mon Sep 17 00:00:00 2001 From: Jonathan Ngbonga Date: Fri, 25 Jun 2021 17:36:02 +0200 Subject: [PATCH] create views folder --- web-client/src/app/app-routing.module.ts | 7 ++++--- web-client/src/app/{ => views}/home/home-routing.module.ts | 2 +- web-client/src/app/{ => views}/home/home.module.ts | 0 web-client/src/app/{ => views}/home/home.page.html | 0 web-client/src/app/{ => views}/home/home.page.scss | 0 web-client/src/app/{ => views}/home/home.page.spec.ts | 0 web-client/src/app/{ => views}/home/home.page.ts | 0 7 files changed, 5 insertions(+), 4 deletions(-) rename web-client/src/app/{ => views}/home/home-routing.module.ts (92%) rename web-client/src/app/{ => views}/home/home.module.ts (100%) rename web-client/src/app/{ => views}/home/home.page.html (100%) rename web-client/src/app/{ => views}/home/home.page.scss (100%) rename web-client/src/app/{ => views}/home/home.page.spec.ts (100%) rename web-client/src/app/{ => views}/home/home.page.ts (100%) diff --git a/web-client/src/app/app-routing.module.ts b/web-client/src/app/app-routing.module.ts index e7b0d5af7..bed7e3928 100644 --- a/web-client/src/app/app-routing.module.ts +++ b/web-client/src/app/app-routing.module.ts @@ -4,13 +4,14 @@ import { PreloadAllModules, RouterModule, Routes } from '@angular/router'; const routes: Routes = [ { path: 'home', - loadChildren: () => import('./home/home.module').then( m => m.HomePageModule) + loadChildren: () => + import('./views/home/home.module').then(m => m.HomePageModule) }, { path: '', redirectTo: 'home', pathMatch: 'full' - }, + } ]; @NgModule({ @@ -19,4 +20,4 @@ const routes: Routes = [ ], exports: [RouterModule] }) -export class AppRoutingModule { } +export class AppRoutingModule {} diff --git a/web-client/src/app/home/home-routing.module.ts b/web-client/src/app/views/home/home-routing.module.ts similarity index 92% rename from web-client/src/app/home/home-routing.module.ts rename to web-client/src/app/views/home/home-routing.module.ts index 29c3f6000..7a0cb30a3 100644 --- a/web-client/src/app/home/home-routing.module.ts +++ b/web-client/src/app/views/home/home-routing.module.ts @@ -5,7 +5,7 @@ import { HomePage } from './home.page'; const routes: Routes = [ { path: '', - component: HomePage, + component: HomePage } ]; diff --git a/web-client/src/app/home/home.module.ts b/web-client/src/app/views/home/home.module.ts similarity index 100% rename from web-client/src/app/home/home.module.ts rename to web-client/src/app/views/home/home.module.ts diff --git a/web-client/src/app/home/home.page.html b/web-client/src/app/views/home/home.page.html similarity index 100% rename from web-client/src/app/home/home.page.html rename to web-client/src/app/views/home/home.page.html diff --git a/web-client/src/app/home/home.page.scss b/web-client/src/app/views/home/home.page.scss similarity index 100% rename from web-client/src/app/home/home.page.scss rename to web-client/src/app/views/home/home.page.scss diff --git a/web-client/src/app/home/home.page.spec.ts b/web-client/src/app/views/home/home.page.spec.ts similarity index 100% rename from web-client/src/app/home/home.page.spec.ts rename to web-client/src/app/views/home/home.page.spec.ts diff --git a/web-client/src/app/home/home.page.ts b/web-client/src/app/views/home/home.page.ts similarity index 100% rename from web-client/src/app/home/home.page.ts rename to web-client/src/app/views/home/home.page.ts