function Tweaks({ enabled }) { const [variant, setVariant] = React.useState(window.GS_TWEAKS?.variant || 'aurora'); React.useEffect(() => { document.body.setAttribute('data-variant', variant); }, [variant]); const setV = (v) => { setVariant(v); window.parent.postMessage({ type: '__edit_mode_set_keys', edits: { variant: v } }, '*'); }; if (!enabled) return null; const variants = [ { id: 'aurora', label: 'Aurora' }, { id: 'editorial', label: 'Editorial' }, ]; return (