generated from Luis/nextjs-python-web-template
fix formatting of layout.tsx
This commit is contained in:
@@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user