* feat: noindex/nofollow - On login: nofollow - On app pages: noindex, nofollow https://app.plane.so/plane/browse/WEB-4098/ - https://nextjs.org/docs/app/api-reference/file-conventions/layout - https://nextjs.org/docs/app/building-your-application/routing/route-groups#creating-multiple-root-layouts - https://nextjs.org/docs/app/api-reference/functions/generate-metadata#link-relpreload * chore: address PR feedback
23 lines
783 B
TypeScript
23 lines
783 B
TypeScript
"use client";
|
|
|
|
import { CommandPalette } from "@/components/command-palette";
|
|
import { AuthenticationWrapper } from "@/lib/wrappers";
|
|
// plane web components
|
|
import { WorkspaceAuthWrapper } from "@/plane-web/layouts/workspace-wrapper";
|
|
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>
|
|
);
|
|
}
|