first commit

This commit is contained in:
Alessio
2026-06-02 04:02:59 +02:00
parent 368f69fdce
commit 8e5f4aafa2
148 changed files with 10590 additions and 110 deletions

View File

@@ -0,0 +1,19 @@
export function SidebarOverlay({
open,
onClose,
}: {
open: boolean;
onClose: () => void;
}) {
return (
<button
aria-label="Chiudi navigazione"
className={`fixed inset-0 z-40 bg-slate-950/25 backdrop-blur-sm transition-opacity duration-200 ease-out lg:hidden ${
open ? "opacity-100" : "pointer-events-none opacity-0"
}`}
onClick={onClose}
tabIndex={open ? 0 : -1}
type="button"
/>
);
}