import { COMMON_CSS } from "./CommonStyles.ts";
import { NavbarFragment } from "./navbar_fragments.tsx";
export const LayoutFragment = ({
children,
title,
}: {
children: any;
title: string;
}) => {
return (
{title} - Auth-Yes
{/* Datastar script */}
{/* SimpleWebAuthn included on all Layout pages to be available for auth/recovery */}
{children}
);
};
export const AuthenticatedLayoutFragment = ({
children,
title,
currentPath,
isAdmin = false,
}: {
children: any;
title: string;
currentPath: string;
isAdmin?: boolean;
}) => {
return (
{/* Top Header */}
{/* Main Body */}
{children}
);
};