feat: style

This commit is contained in:
2026-04-20 23:01:22 +02:00
parent 38f391d525
commit 7cb841072d
+1 -7
View File
@@ -57,7 +57,7 @@ export class HomeComponent implements OnInit, AfterViewInit, OnDestroy {
protected isLongBioShown: boolean = false;
protected isLongBioMounted: boolean = false;
protected isAboutSectionInView: boolean = true;
protected isAboutSectionAnimationReady: boolean = false;
protected isAboutSectionAnimationReady: boolean = true;
protected readonly faArrowRight: IconDefinition = faArrowRight;
protected readonly faArrowDown: IconDefinition = faArrowDown;
protected readonly faEnvelope: IconDefinition = faEnvelope;
@@ -327,12 +327,6 @@ export class HomeComponent implements OnInit, AfterViewInit, OnDestroy {
return;
}
const initialRect: DOMRect = aboutSection.getBoundingClientRect();
const viewportHeight: number = window.innerHeight || document.documentElement.clientHeight;
this.isAboutSectionInView =
initialRect.top < viewportHeight * 0.95 && initialRect.bottom > viewportHeight * 0.1;
this.isAboutSectionAnimationReady = true;
if (typeof IntersectionObserver === 'undefined') {
return;
}