From dd499bc5ef59a382f361042836a78f52dd46aa93 Mon Sep 17 00:00:00 2001 From: rzen Date: Fri, 10 Jul 2026 19:28:59 -0400 Subject: [PATCH] site: end-of-review "Discuss it here" CTA linking the Stoop space --- src/components/DiscussCta.astro | 39 +++++++++++++++++++++++++++++++ src/pages/reviews/[...slug].astro | 3 +++ 2 files changed, 42 insertions(+) create mode 100644 src/components/DiscussCta.astro diff --git a/src/components/DiscussCta.astro b/src/components/DiscussCta.astro new file mode 100644 index 0000000..2c23818 --- /dev/null +++ b/src/components/DiscussCta.astro @@ -0,0 +1,39 @@ +--- +// End-of-article call to action pointing at the site's Stoop discussion space. +// The space is site-wide (one thread space for unique.rzen.dev), so the link is +// the same everywhere; the footer "Feedback" link points here too. +const STOOP_URL = 'https://stoop.rzen.dev/unique'; +--- + + + + diff --git a/src/pages/reviews/[...slug].astro b/src/pages/reviews/[...slug].astro index f0f0d77..d6a45fc 100644 --- a/src/pages/reviews/[...slug].astro +++ b/src/pages/reviews/[...slug].astro @@ -2,6 +2,7 @@ import { getCollection, render } from 'astro:content'; import BaseLayout from '../../layouts/BaseLayout.astro'; import EditAction from '../../components/EditAction.astro'; +import DiscussCta from '../../components/DiscussCta.astro'; import { sourceSlug } from '../../lib/sources'; import { resolveExternalLink, @@ -131,6 +132,8 @@ const categoryLabel =

{AFFILIATE_DISCLOSURE}

)} + + {import.meta.env.DEV && (