some style changes
This commit is contained in:
@@ -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);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user