refactor(user): reorganize imports and code structure

This commit is contained in:
Jan-Marlon Leibl 2025-02-19 12:23:45 +01:00
parent 6c025cc8d2
commit 7bd06dee62
No known key found for this signature in database
GPG key ID: E7B6F77BF5EDB6F7
4 changed files with 22 additions and 20 deletions

View file

@ -1,6 +1,5 @@
import { Routes } from '@angular/router';
import { LandingComponent } from './feature/landing/landing.component';
import { HomeComponent } from './feature/home/home.component';
import { authGuard } from './auth.guard';
export const routes: Routes = [
@ -11,10 +10,10 @@ export const routes: Routes = [
{
path: 'login/success',
loadComponent: () => import('./feature/login-success/login-success.component'),
},
},
{
path: 'home',
component: HomeComponent,
loadComponent: () => import('./feature/home/home.component'),
canActivate: [authGuard],
},
];