// Quill Keyboard — logo lockup + sticky glass nav
function AkLogo({ size = 30, light = false, mono = false }) {
return (
{(light || mono) ? Quill : Quill}
{' '}Keyboard
);
}
const APP_STORE_URL = 'https://apps.apple.com/la/app/quill-keyboard/id6781157756';
function AppStoreBadge({ soft = false, comingSoon = false }) {
return (
{comingSoon ? 'Coming soon to the' : 'Download on the'}
App Store
);
}
function Nav() {
const [scrolled, setScrolled] = useState(false);
useEffect(() => {
const onScroll = () => setScrolled(window.scrollY > 12);
window.addEventListener('scroll', onScroll);
return () => window.removeEventListener('scroll', onScroll);
}, []);
const links = [['How it works', '#howitworks'], ['Actions', '#actions'], ['Privacy', '#privacy'], ['FAQ', '#faq']];
return (
);
}
Object.assign(window, { Nav, AkLogo, AppStoreBadge, APP_STORE_URL });