Updated the styling of the Diagnostic page

This commit is contained in:
Tiago Ribeiro
2023-08-07 22:52:10 +01:00
parent d879f4afab
commit 7e9e28f134
7 changed files with 174 additions and 79 deletions

View File

@@ -8,16 +8,17 @@ interface Props {
user: User;
children: React.ReactNode;
className?: string;
navDisabled?: boolean;
}
export default function Layout({user, children, className}: Props) {
export default function Layout({user, children, className, navDisabled = false}: Props) {
const router = useRouter();
return (
<main className="w-full min-h-full h-screen flex flex-col bg-mti-gray-smoke">
<Navbar user={user} />
<Navbar user={user} navDisabled={navDisabled} />
<div className="h-full w-full flex py-4 pb-8 gap-2">
<Sidebar path={router.pathname} />
<Sidebar path={router.pathname} navDisabled={navDisabled} />
<div
className={clsx(
"w-5/6 min-h-full h-fit mr-8 bg-white shadow-md rounded-2xl p-12 pb-8 flex flex-col gap-12 relative overflow-hidden",