// Header, Footer, FloatingActions
const { useState, useEffect } = React;
function Logo({ size = 'md', dark = false }) {
const sz = size === 'sm' ? 'w-9 h-9' : 'w-11 h-11';
return (
);
}
function NavBar({ page, setPage, dark }) {
const [open, setOpen] = useState(false);
const links = [
{ id: 'home', label: 'Anasayfa' },
{ id: 'about', label: 'Hakkımızda' },
{ id: 'programs', label: 'Programlar' },
{ id: 'contact', label: 'İletişim' },
];
return (
);
}
function Footer({ setPage, dark }) {
return (
);
}
function FloatingActions() {
return (
);
}
window.NavBar = NavBar;
window.Footer = Footer;
window.FloatingActions = FloatingActions;
window.Logo = Logo;