some style changes

This commit is contained in:
sdarbinyan
2026-02-14 18:38:25 +04:00
parent 9154660a01
commit 61f441f6b2
8 changed files with 221 additions and 34 deletions

View File

@@ -37,4 +37,13 @@ export class HeaderComponent {
navigateToSearch(): void {
this.router.navigate(['/search']);
}
navigateToCatalog(): void {
this.closeMenu();
this.router.navigate(['/']).then(() => {
setTimeout(() => {
document.getElementById('catalog')?.scrollIntoView({ behavior: 'smooth' });
}, 100);
});
}
}