From 6d6d48b3017a6de1177cabb3bd06d19a9cec15ae Mon Sep 17 00:00:00 2001 From: Mike Johnston Date: Wed, 29 Apr 2026 22:43:38 -0400 Subject: [PATCH] feat: add sustainability section to about page and report issue link in teaser --- src/routes/loot.js | 1 + src/views/about.ejs | 7 +++++++ src/views/loot/teaser.ejs | 1 + 3 files changed, 9 insertions(+) diff --git a/src/routes/loot.js b/src/routes/loot.js index 314a593..74ba9f3 100644 --- a/src/routes/loot.js +++ b/src/routes/loot.js @@ -59,6 +59,7 @@ router.get('/:shortName/:code', (req, res) => { return res.render('loot/teaser', { title: 'Loot Found!', potentialPoints, + shortName: hunt.short_name, huntName: hunt.name, cardNumber: pkg.card_number, packageCount: hunt.package_count diff --git a/src/views/about.ejs b/src/views/about.ejs index d92975b..f7b7f74 100644 --- a/src/views/about.ejs +++ b/src/views/about.ejs @@ -70,6 +70,13 @@

Interested? Apply to become an organizer.

+
+

Sustainability

+

Loot Hunt should not create litter, waste, or friction with the places people live, work, and share. The goal is to keep the game fun while aiming for zero environmental impact.

+

Organizers are expected to place materials thoughtfully, avoid problematic or prohibited locations, and clean up after themselves. If a package becomes damaged, misplaced, or unwelcome, it should be removed or relocated quickly.

+

If you find a card causing an issue, you are welcome to recycle it and submit a complaint from that package page so the organizer can review and respond responsibly.

+
+

Get in Touch

Have questions, ideas, or found a bug? Reach out!

diff --git a/src/views/loot/teaser.ejs b/src/views/loot/teaser.ejs index 618d19f..032ad92 100644 --- a/src/views/loot/teaser.ejs +++ b/src/views/loot/teaser.ejs @@ -10,6 +10,7 @@

<%= huntName %> · Package <%= cardNumber %> of <%= packageCount %>