feat(layout): replace AuthLayout with SimpleLayout for login and registration routes

This commit is contained in:
2026-07-07 10:58:51 -03:00
parent 850f93e2ba
commit cb0d1e4d77
5 changed files with 29 additions and 29 deletions

View File

@@ -1,6 +1,6 @@
import { Routes } from '@angular/router';
import { AuthLayoutComponent } from '../../core/layout/auth-layout/auth-layout.component';
import { SimpleLayoutComponent } from '../../core/layout/simple-layout/simple-layout.component';
import { StoreLayoutComponent } from '../../core/layout/store-layout/store-layout.component';
import { authGuard, guestOnlyGuard } from '../../core/services/auth/auth.guards';
import { LoginPageComponent } from './pages/login-page/login-page.component';
@@ -19,7 +19,7 @@ export const routes: Routes = [
{
path: 'login',
canActivate: [guestOnlyGuard],
component: AuthLayoutComponent,
component: SimpleLayoutComponent,
children: [
{
path: '',
@@ -30,7 +30,7 @@ export const routes: Routes = [
{
path: 'register',
canActivate: [guestOnlyGuard],
component: AuthLayoutComponent,
component: SimpleLayoutComponent,
children: [
{
path: '',