frontend-2 #49

Merged
Ghost merged 25 commits from frontend-2 into main 2024-01-13 16:41:29 +00:00
Showing only changes of commit dabbe2e2d3 - Show all commits

View File

@@ -76,25 +76,25 @@ export default function RootLayout({
!showSidebarDerived && translate !showSidebarDerived && translate
} flex h-full w-full flex-col overflow-y-scroll transition-[margin] duration-150 ease-in-out`} } flex h-full w-full flex-col overflow-y-scroll transition-[margin] duration-150 ease-in-out`}
> >
<div className="grid grid-cols-3"> <div className="grid grid-cols-3">
<div className="col-span-1"> <div className="col-span-1">
<IconButton <IconButton
hidden={true} hidden={true}
onClick={() => setShowSidebar((c) => !c)} onClick={() => setShowSidebar((c) => !c)}
> >
{!showSidebar && <MenuIcon />} {!showSidebar && <MenuIcon />}
</IconButton> </IconButton>
</div>
<div className="col-span-1 block w-full bg-fixed text-center font-semibold dark:invert lg:hidden">
<Image
src="/tub-favicon.png"
alt="TU Berlin Logo"
width={58}
height={58}
priority
/>
</div>
</div> </div>
<div className="col-span-1 block w-full bg-fixed text-center font-semibold dark:invert lg:hidden">
<Image
src="/tub-favicon.png"
alt="TU Berlin Logo"
width={58}
height={58}
priority
/>
</div>
</div>
<div className="px-1"> <div className="px-1">
<div className="relative flex h-full flex-1 flex-col"> <div className="relative flex h-full flex-1 flex-col">