diff --git a/src/App.css b/src/App.css index 203334f..c16e32c 100644 --- a/src/App.css +++ b/src/App.css @@ -286,63 +286,11 @@ user-select: text; } -/* ─── Help / Documentation menu ─────────────────────────── */ -.help-menu-wrapper { - position: relative; -} - .icon-btn.active { background: #252525; color: #bbb; } -.help-menu { - position: absolute; - top: calc(100% + 6px); - right: 0; - min-width: 200px; - background: #252525; - border: 1px solid #333; - border-radius: 8px; - padding: 6px 4px; - box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6); - z-index: 200; -} - -.help-menu-section-label { - padding: 4px 10px 6px; - font-size: 11px; - font-weight: 600; - color: #555; - letter-spacing: 0.06em; - text-transform: uppercase; -} - -.help-menu-item { - display: flex; - align-items: center; - gap: 8px; - width: 100%; - padding: 8px 10px; - border-radius: 5px; - background: none; - border: none; - color: #e0e0e0; - font-size: 13px; - cursor: pointer; - transition: background 0.1s; - text-align: left; -} - -.help-menu-item:hover { - background: #303030; -} - -.help-menu-item svg { - flex-shrink: 0; - color: #666; -} - /* ─── Workspace ──────────────────────────────────────────── */ .workspace { display: flex; diff --git a/src/App.jsx b/src/App.jsx index 18cea3d..0571ed2 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1462,61 +1462,6 @@ function PluginInspector({ action, onChange, pluginManifests = [] }) { ) } -// ─── Help / Documentation menu ────────────────────────────── -const HELP_LINKS = [ - { label: 'User Manual', url: 'https://github.com/FritzBlignaut/tech-stack-streamdeck/wiki/User-Manual' }, - { label: 'Installation Guide', url: 'https://github.com/FritzBlignaut/tech-stack-streamdeck/wiki/Installation-Guide' }, - { label: 'Release Notes', url: 'https://github.com/FritzBlignaut/tech-stack-streamdeck/releases' }, -] - -function HelpMenu() { - const [open, setOpen] = useState(false) - const ref = useRef(null) - - useEffect(() => { - if (!open) return - const handler = (e) => { - if (ref.current && !ref.current.contains(e.target)) setOpen(false) - } - document.addEventListener('mousedown', handler) - return () => document.removeEventListener('mousedown', handler) - }, [open]) - - return ( -