Initial commit

This commit is contained in:
Gagan7900
2026-07-13 11:57:09 +05:30
commit ac629ef540
26616 changed files with 795848 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
import { Route } from '@angular/router';
import { ContentLayout } from './shell/layouts/content-layout/content-layout';
import { AuthenticationLayout } from './shell/layouts/authentication-layout/authentication-layout';
import { authGuard } from './core/guards/auth/auth.guard';
export const App_Route: Route[] = [
{ path: '', redirectTo: 'auth/login', pathMatch: 'full' },
{
path: 'auth',
component: AuthenticationLayout,
loadChildren: () => import('./shell/routes/auth.routes').then((m) => m.authen),
},
{
path: '',
component: ContentLayout,
canActivateChild: [authGuard],
loadChildren: () => import('./shell/routes/content.routes').then((m) => m.content),
},
{
path: '**',
loadComponent: () => import('./features/errors/error404/error404').then((m) => m.Error404),
},
];