diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md index 42ab561..4b33202 100644 --- a/docs/ARCHITECTURE.md +++ b/docs/ARCHITECTURE.md @@ -71,6 +71,7 @@ Source Files → Astro Build → Static Output ``` src/ ├── components/ # Reusable UI components +│ ├── AnnouncementBar.astro # Reusable top-of-page announcement strip (toggle via ANNOUNCEMENT.enabled) │ ├── BaseHead.astro #
content (SEO, meta, hreflang, OG, JSON-LD) │ ├── Footer.astro # Site footer │ ├── WebMcp.astro # WebMCP progressive enhancement (agent-discoverable site map) diff --git a/public/images/product-hunt/featured-dark.svg b/public/images/product-hunt/featured-dark.svg deleted file mode 100644 index 9c1fad1..0000000 --- a/public/images/product-hunt/featured-dark.svg +++ /dev/null @@ -1,26 +0,0 @@ - - diff --git a/public/images/product-hunt/featured-neutral.svg b/public/images/product-hunt/featured-neutral.svg deleted file mode 100644 index 57953b2..0000000 --- a/public/images/product-hunt/featured-neutral.svg +++ /dev/null @@ -1,26 +0,0 @@ - - diff --git a/src/components/AnnouncementBar.astro b/src/components/AnnouncementBar.astro index 3652e67..4668a9b 100644 --- a/src/components/AnnouncementBar.astro +++ b/src/components/AnnouncementBar.astro @@ -1,5 +1,9 @@ --- -// Temporary Product Hunt launch announcement bar (launch day only). +// Reusable announcement bar. +// +// ON/OFF: controlled by `ANNOUNCEMENT.enabled` in +// `src/lib/constants/announcement.ts`. MainLayout renders this component only +// when that flag is true — flip it there to turn the bar on or off site-wide. // // The whole bar is a single link. It sits in normal document flow ABOVE the // sticky header, so it simply scrolls away on scroll-down and reappears at the @@ -11,9 +15,9 @@ // themes without a dark: variant. // // Copy is wired into the i18n system (t.announcementBar) so it ships in every -// active language. To retire it, remove this component and its