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 && (