feat: enhance application structure and improve accessibility

- Refactor various components for better readability and maintainability.
- Update HTML templates to include `alt` attributes for images and `for` attributes for labels.
- Implement reactive forms in OTP component and improve token management in AuthService.
- Adjust routing to redirect to 'admin/about' by default.
- Remove deprecated interceptor implementation and streamline authentication logic.
- Add console logs for better debugging during initialization.
This commit is contained in:
2025-11-16 17:40:00 +05:30
parent d0025d55ef
commit 38f305067a
17 changed files with 119 additions and 125 deletions
+1 -6
View File
@@ -16,7 +16,7 @@ const enum AdminRouteTitles {
export const routes: Routes = [
{
path: '',
redirectTo: 'admin',
redirectTo: 'admin/about',
pathMatch: 'full'
},
{
@@ -24,11 +24,6 @@ export const routes: Routes = [
component: AdminLayout,
title: 'Admin',
children: [
{
path: '',
redirectTo: 'about', // ✔ correct relative redirect
pathMatch: 'full'
},
{
path: 'login',
component: OtpComponent,