* chore: return workspace name and logo in profile settings api * chore: remove unwanted fields * fix: backend * feat: workspace settings * feat: workspce settings + layouting * feat: profile + workspace settings ui * chore: project settings + refactoring * routes * fix: handled no project * fix: css + build * feat: profile settings internal screens upgrade * fix: workspace settings internal screens * fix: external scrolling allowed * fix: css * fix: css * fix: css * fix: preferences settings * fix: css * fix: mobile interface * fix: profile redirections * fix: dark theme * fix: css * fix: css * feat: scroll * fix: refactor * fix: bug fixes * fix: refactor * fix: css * fix: routes * fix: first day of the week * fix: scrolling * fix: refactoring * fix: project -> projects * fix: refactoring * fix: refactor * fix: no authorized view consistency * fix: folder structure * fix: revert * fix: handled redirections * fix: scroll * fix: deleted old routes * fix: empty states * fix: headings * fix: settings description * fix: build --------- Co-authored-by: gakshita <akshitagoyal1516@gmail.com> Co-authored-by: Akshita Goyal <36129505+gakshita@users.noreply.github.com>
25 lines
973 B
TypeScript
25 lines
973 B
TypeScript
"use client";
|
|
|
|
import { CommandPalette } from "@/components/command-palette";
|
|
import { ContentWrapper } from "@/components/core";
|
|
import { SettingsContentLayout, SettingsHeader } from "@/components/settings";
|
|
import { AuthenticationWrapper } from "@/lib/wrappers";
|
|
import { WorkspaceAuthWrapper } from "@/plane-web/layouts/workspace-wrapper";
|
|
|
|
export default function SettingsLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<AuthenticationWrapper>
|
|
<WorkspaceAuthWrapper>
|
|
<CommandPalette />
|
|
<main className="relative flex h-screen w-full flex-col overflow-hidden bg-custom-background-100">
|
|
{/* Header */}
|
|
<SettingsHeader />
|
|
{/* Content */}
|
|
<ContentWrapper className="px-4 md:pl-12 md:py-page-y md:flex w-full">
|
|
<SettingsContentLayout>{children}</SettingsContentLayout>
|
|
</ContentWrapper>
|
|
</main>
|
|
</WorkspaceAuthWrapper>
|
|
</AuthenticationWrapper>
|
|
);
|
|
}
|