Update various components

This commit is contained in:
2026-02-26 21:03:21 -05:00
parent 637b3a0c34
commit 94f0f3ca13
20 changed files with 84 additions and 112 deletions

View File

@@ -2,13 +2,11 @@ import type { NavBarProps } from "$/types/NavTypes";
import clsx from "clsx";
export default function NavBar(props: NavBarProps){
const {
className,
children
} = props;
export default function NavBar({
className,
children,
...props
}: Readonly<NavBarProps>){
return (
<nav
className={clsx(
@@ -16,6 +14,7 @@ export default function NavBar(props: NavBarProps){
"fixed top-0 left-0 w-full z-10",
"flex flex-row flex-nowrap items-center justify-center"
)}
{...props}
>
{children}
</nav>