Updated site to use momentum for contacting, registration, gallery and calendar, as well as some other updates to the site content
All checks were successful
Build Website / Build NPM Project (push) Successful in 1m42s
Build Website / Tag Version (push) Successful in 1m2s
Build Website / Build Container (push) Successful in 2m50s

This commit is contained in:
2026-06-05 19:19:27 -04:00
parent 3e4efc2fd2
commit 16ddd1c8a3
32 changed files with 753 additions and 311 deletions

View File

@@ -0,0 +1,24 @@
import {Directive, ElementRef, EventEmitter, OnDestroy, OnInit, Output} from '@angular/core';
@Directive({selector: '[inView]'})
export class InViewDirective implements OnInit, OnDestroy {
@Output() inView = new EventEmitter<void>();
private observer!: IntersectionObserver;
constructor(private el: ElementRef) {}
ngOnInit() {
this.observer = new IntersectionObserver(([entry]) => {
if (entry.isIntersecting) {
this.inView.emit();
this.observer.disconnect();
}
}, {rootMargin: '200px'});
this.observer.observe(this.el.nativeElement);
}
ngOnDestroy() {
this.observer.disconnect();
}
}