From 0306dce3ab15d39e82b8e68e8bf0d36e1f8b90ab Mon Sep 17 00:00:00 2001 From: AshwaSC Date: Fri, 31 Jul 2026 13:53:18 +0530 Subject: [PATCH] feat: add Chennai community stories page and wire hub card MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The uploaded Chennai story ("Project Thiruvanmiyur Mada Street — Community Design Initiative", active, city=Chennai) had nowhere to display: /cities/chennai/ had no stories subpage, and its "Community Stories" hub card was a hardcoded "Coming Soon" placeholder. - Add /cities/chennai/stories/ — mirrors the Bengaluru stories page, calling dataLoader.loadStories('Chennai'). Same markup, styles, and render/expand/YouTube logic; only city-specific strings swapped. - Flip the hub's Community Stories card from disabled "Coming Soon" to a Live card linking to the new page. Reuses existing i18n keys (cityHub.features.stories.{title,description, button}, cityHub.features.map.statusLive) — no new translations. Verified in headless Chrome against live Supabase: the stories grid renders the Chennai story (1 card) and the hub card links through. Co-Authored-By: Claude Opus 4.8 (1M context) --- website/public/cities/chennai/index.html | 18 +- .../public/cities/chennai/stories/index.html | 573 ++++++++++++++++++ 2 files changed, 582 insertions(+), 9 deletions(-) create mode 100644 website/public/cities/chennai/stories/index.html diff --git a/website/public/cities/chennai/index.html b/website/public/cities/chennai/index.html index 2453d731..edfad5bc 100644 --- a/website/public/cities/chennai/index.html +++ b/website/public/cities/chennai/index.html @@ -426,26 +426,26 @@

Communities

- -
+ +

Community Stories

- - Coming Soon + + Live
-

- Community stories for this city are under development. Real stories of neighbourhood transformation coming soon. +

+ Discover real stories of neighbourhood transformation, told by the people who made it happen.

- + + Read Stories +
diff --git a/website/public/cities/chennai/stories/index.html b/website/public/cities/chennai/stories/index.html new file mode 100644 index 00000000..ced208f0 --- /dev/null +++ b/website/public/cities/chennai/stories/index.html @@ -0,0 +1,573 @@ + + + + + + Community Stories | Chennai | NOTF + + + + + + + + + + + + + + + +
+ +
+
+
+ + + + +
+

Community Stories

+

Discover real stories of neighbourhood transformation, told by the people who made it happen.

+
+ + +
+
+ Loading stories... +
+
+ +
+
+
+ + + + + + + + + + + + +