mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
05de4d83f3
* chore: header refactor. * fix: core imports * chore: refactor profile activity header and fix all other header imports. * fix: import fixes * chore: header refactor. * fix: app dir header reimplementation * fix: removing parllel headers * fix: adding route groups to handle pages * fix: disabling sentry for temp * chore: update default exports in layouts & headers for consistency. * fix: bugfixes * fix: build errors --------- Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
23 lines
743 B
TypeScript
23 lines
743 B
TypeScript
"use client";
|
|
|
|
import { CommandPalette } from "@/components/command-palette";
|
|
import { WorkspaceAuthWrapper } from "@/layouts/auth-layout";
|
|
import { AuthenticationWrapper } from "@/lib/wrappers";
|
|
import { AppSidebar } from "./sidebar";
|
|
|
|
export default function WorkspaceLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<AuthenticationWrapper>
|
|
<CommandPalette />
|
|
<WorkspaceAuthWrapper>
|
|
<div className="relative flex h-screen w-full overflow-hidden">
|
|
<AppSidebar />
|
|
<main className="relative flex h-full w-full flex-col overflow-hidden bg-custom-background-100">
|
|
{children}
|
|
</main>
|
|
</div>
|
|
</WorkspaceAuthWrapper>
|
|
</AuthenticationWrapper>
|
|
);
|
|
}
|