fix: style; feat: AGENTS.md

This commit is contained in:
2026-05-14 12:52:11 +02:00
parent 3efece9e29
commit 3d81db7d53
6 changed files with 230 additions and 76 deletions
+1 -3
View File
@@ -220,13 +220,11 @@ export class HomeComponent implements OnInit, AfterViewInit, OnDestroy {
private shouldEnableScrollEffects(): boolean {
if (typeof window === 'undefined') return false;
const isSmallViewport: boolean = window.innerWidth <= 700;
const prefersReducedMotion: boolean = window.matchMedia(
'(prefers-reduced-motion: reduce)',
).matches;
const isCoarsePointer: boolean = window.matchMedia('(pointer: coarse)').matches;
return !isSmallViewport && !prefersReducedMotion && !isCoarsePointer;
return !prefersReducedMotion;
}
private initNameGradientScrollAnimation(): void {