feat : mui & state refacto

This commit is contained in:
GuillaumeSD
2024-02-20 05:08:27 +01:00
parent 70518a8bb8
commit 4502651492
31 changed files with 1481 additions and 800 deletions

View File

@@ -0,0 +1,23 @@
import { Link as MuiLink } from "@mui/material";
import NextLink from "next/link";
import { ReactNode } from "react";
export default function NavLink({
href,
children,
}: {
href: string;
children: ReactNode;
}) {
return (
<MuiLink
component={NextLink}
href={href}
underline="none"
color="inherit"
sx={{ width: "100%" }}
>
{children}
</MuiLink>
);
}