fix: improve phone/contact link visibility in novo theme

- Changed contact labels from green to text-secondary color
- Changed contact values/links from green to text-primary with hover effect
- Added proper hover state for all contact card child elements
- Fixed readability issue where green text was on green-tinted background
This commit is contained in:
sdarbinyan
2026-01-22 23:28:31 +04:00
parent 4aea97aa08
commit cb895f68cd
4 changed files with 90 additions and 11 deletions

View File

@@ -1,6 +1,8 @@
import { Routes } from '@angular/router';
import { languageGuard } from './guards/language.guard';
export const routes: Routes = [
// Child routes without language prefix
const childRoutes: Routes = [
{
path: '',
loadComponent: () => import('./pages/home/home.component').then(m => m.HomeComponent)
@@ -64,9 +66,25 @@ export const routes: Routes = [
{
path: 'guarantee',
loadComponent: () => import('./pages/info/guarantee/guarantee.component').then(m => m.GuaranteeComponent)
},
{
path: '**',
redirectTo: ''
}
];
export const routes: Routes = [
// Routes with language prefix: /ru, /en, /hy
{
path: ':lang',
canActivate: [languageGuard],
children: childRoutes
},
// Redirect root to default language
{
path: '',
pathMatch: 'full',
redirectTo: 'ru'
},
// Catch-all: redirect unknown routes to home with default language
{
path: '**',
redirectTo: 'ru'
}
];