From 5c019e81d6f27b9778bf69d3efa15796e2d077d6 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 5 Nov 2025 18:00:55 +0000 Subject: [PATCH] Add dynamic GTFS loading and agency display to demo page Features: - Add URL input field to load GTFS from custom URLs - Implement proxy URL conversion for https URLs via gtfs-proxy.sys-dev-run.re - Prefill input with Car Jaune data URL from data.gouv.fr - Load car-jaune.zip by default on page load - Display all agencies dynamically from GTFS data instead of hardcoded text - Move download button outside date picker section for better layout UI improvements: - Make Select Date section more compact with smaller padding - Reduce date input size (max-width: 250px) - Add responsive agency cards with grid layout - Add URL input section with clean styling - Better error messages showing specific failure details This allows users to explore any GTFS feed, not just Car Jaune. --- website/demo.html | 36 +++++++++++----- website/demo.ts | 103 ++++++++++++++++++++++++++++++++++++++++++---- website/style.css | 93 +++++++++++++++++++++++++++++++++++++---- 3 files changed, 204 insertions(+), 28 deletions(-) diff --git a/website/demo.html b/website/demo.html index d61cef6..5b6385f 100644 --- a/website/demo.html +++ b/website/demo.html @@ -21,8 +21,16 @@

gtfs-sqljs

Interactive Demo

-

Exploring Car Jaune GTFS data (La Réunion, France)

-

Operated by Transdev Outre-Mer and GIE Activ'

+
+ + + +
@@ -31,11 +39,25 @@

Interactive Demo