// Nav, footer, decorative atoms for Sabrana
const { useState, useEffect, useRef } = React;
function Monogram({ size = 28 }) {
// Sabrana mark: an elegant S inside a hairline circle — neutral, classy.
return (
);
}
function Wordmark() {
return (
Sabrana
);
}
function Nav({ active }) {
const [open, setOpen] = useState(false);
const items = [
{ id: "work", label: "Work" },
{ id: "services", label: "Services" },
{ id: "about", label: "About" },
{ id: "journal", label: "Journal" },
{ id: "contact", label: "Contact" },
];
return (
);
}
function Arrow({ size = 14 }) {
return (
);
}
function SectionLabel({ children, num }) {
return (
{num && {num}}
{children}
);
}
function Footer() {
const c = window.SABRANA.contact;
return (
);
}
Object.assign(window, { Monogram, Wordmark, Nav, Arrow, SectionLabel, Footer });