/* Nexgen Solutions Chitral — shared page chrome (Nav, Footer, section helpers).
Composes the bound design system. Exported to window so each page's
Babel script can use them (Babel scripts don't share scope). */
const NS = window.NexgenSolutionsChitralDesignSystem_3ef89c;
const { Button, IconButton, AccentLine, TextLink } = NS;
const C = window.NEXGEN_CONTACT;
const NX_MAX = 1200;
const nxWrap = { maxWidth: NX_MAX, margin: "0 auto", padding: "0 24px" };
const Icon = ({ name, size = 20, color, strokeWidth = 1.8 }) => (
);
function useLucide(dep) {
React.useEffect(() => { if (window.lucide) window.lucide.createIcons(); });
}
const NAV_LINKS = [
["Home", "index.html"],
["Services", "services.html"],
["Courses", "courses.html"],
["Projects", "index.html#projects"],
["About", "about.html"],
["Contact", "contact.html"],
];
function Wordmark({ size = 15 }) {
return (
NEXGEN SOLUTIONS CHITRAL
);
}
function TopNav({ active = "Home" }) {
const [open, setOpen] = React.useState(false);
useLucide();
React.useEffect(() => {
document.body.style.overflow = open ? "hidden" : "";
return () => { document.body.style.overflow = ""; };
}, [open]);
return (
{sub}
}{sub}