diff --git a/src/components/Ribbon/Ribbon.tsx b/src/components/Ribbon/Ribbon.tsx index 33c98a7..3e2c3cc 100644 --- a/src/components/Ribbon/Ribbon.tsx +++ b/src/components/Ribbon/Ribbon.tsx @@ -380,6 +380,17 @@ const Ribbon = ({ }: RibbonProps) => { const fmt = (cmd: string, val?: string) => () => onFormat(cmd, val); const isMobile = useMobileRibbon(); + const NEW_ISSUE_URL = 'https://github.com/codewriter3000/carbon-type/issues/new'; + const HELP_LINKS = { + featureRequest: NEW_ISSUE_URL, + bug: NEW_ISSUE_URL, + vulnerability: + 'mailto:alex@amicharski.com?subject=Security%20Vulnerability%3A%20Carbon%20Type', + contribute: 'https://github.com/codewriter3000/carbon-type', + } as const; + const navigateTo = (destination: keyof typeof HELP_LINKS) => () => { + window.location.assign(HELP_LINKS[destination]); + }; return ( @@ -387,11 +398,12 @@ const Ribbon = ({ Home - {/* Insert + Help + Insert Page Layout References Review - View */} + View @@ -689,6 +701,28 @@ const Ribbon = ({ + {/* ── Help ─────────────────────────────────────────────────────── */} + +
+ +
+ + + + +
+
+
+
+ {/* ── Insert ───────────────────────────────────────────────────── */}