Initial Implementation of the Home Page

This commit is contained in:
2023-10-26 22:06:15 -03:00
parent 34ae8b1818
commit 8d36666f95
3 changed files with 161 additions and 0 deletions

View File

@@ -7,4 +7,12 @@ import { Component, OnInit } from '@angular/core';
})
export class HomeComponent {
constructor() {}
scrollToElement(element: HTMLElement): void {
element.scrollIntoView({
behavior: "smooth",
block: "start",
inline: "nearest"
});
}
}