// Minimal production-safe tweak helpers for the static Hostinger build. // The design prototype renders a TweaksPanel; on the public site we keep // the defaults and hide the editing UI. const useTweaks = (defaults) => { const [t, setT] = React.useState(defaults || {}); const setTweak = React.useCallback((key, value) => { setT(prev => Object.assign({}, prev, { [key]: value })); }, []); return [t, setTweak]; }; const TweaksPanel = () => null; const TweakSection = () => null; const TweakColor = () => null; const TweakToggle = () => null; const TweakRadio = () => null; Object.assign(window, { useTweaks, TweaksPanel, TweakSection, TweakColor, TweakToggle, TweakRadio });