NGU-Web/src/data/bannerConfig.ts
Zaldimmar 5274e09571 Clean up code found in the audit
- Replace every em-dash in src and server/src with a colon, comma or hyphen
- Give every relative import its file extension (.jsx imports of .tsx fixed)
- Delete old-historyMock.ts, unused exports, unused CSS utilities, the
  unused @ alias and the fallback option nothing passed
- One copy each of initials, capitalize, byName and the server's marks()
- Move the organization, chapter and event hooks from src/data to src/lib
- Schema sync always throws on a mismatch (strict was never turned off)
- Replace the placeholder README

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 22:02:03 -05:00

21 lines
543 B
TypeScript

// Site-wide announcement banner. Set `enabled: false` to hide it entirely.
// Bump `id` whenever the message changes, that re-shows the banner to
// people who dismissed the previous one.
export const SITE_BANNER = {
enabled: true,
id: "feedback-2026-09",
// Text renders in order. A part with `href` becomes a link.
content: [
{ text: "This site is brand new, " },
{
text: "please tell us what you think",
href: "/feedback#website",
external: true,
},
{ text: "." },
],
dismissible: true,
};