transforms landing, about and schedule page content to data driven

This commit is contained in:
kfj001 committed 2026-07-01 03:24:30 +00:00
1 parent 2ba6204c3d
commit d2ab2240d5
16 files changed
+90 -23

No files matched your search

+2
View File
@@ -3,6 +3,7 @@ import { AsyncPipe, DatePipe, NgFor } from '@angular/common';
import { map, Observable, startWith } from 'rxjs';
import { EventService } from '../services/event.service';
import { StationConfigService } from '../services/station-config.service';
import { Event } from '../interfaces/event';
interface EventsState {
@@ -19,6 +20,7 @@ interface EventsState {
})
export class EventsComponent {
private eventService = inject(EventService);
readonly config = inject(StationConfigService).config;
/** Async pipe drives the template — guarantees change detection on every emission. */
readonly events$: Observable<EventsState> =