* style: improved profile settings * chore: minor improvements * style: improved workspace settings * style: workspace settings content * style: improved project settings * fix: project settings flat map * chore: add back navigation from settings pages * style: settings content * style: estimates list * refactor: remove old code * refactor: removed unnecessary line breaks * refactor: create a common component for page header * chore: add fade-in animation to sidebar * fix: formatting * fix: project settings sidebar header * fix: workspace settings sidebar header * fix: settings content wrapper scroll * chore: separate project settings features * fix: formatting * refactor: custom theme selector * refactor: settings headings * refactor: settings headings * fix: project settings sidebar padding * fix: sidebar header padding * fix: sidebar item permissions * fix: missing editable check * refactor: remove unused files * chore: remove unnecessary code * chore: add missing translations * fix: formatting
22 lines
744 B
TypeScript
22 lines
744 B
TypeScript
import { Outlet } from "react-router";
|
|
// components
|
|
import { ProjectsAppPowerKProvider } from "@/components/power-k/projects-app-provider";
|
|
// lib
|
|
import { AuthenticationWrapper } from "@/lib/wrappers/authentication-wrapper";
|
|
|
|
export default function ProfileSettingsLayout() {
|
|
return (
|
|
<>
|
|
<ProjectsAppPowerKProvider />
|
|
<AuthenticationWrapper>
|
|
<div className="relative flex size-full overflow-hidden bg-canvas p-2">
|
|
<main className="relative flex flex-col size-full overflow-hidden bg-surface-1 rounded-lg border border-subtle">
|
|
<div className="size-full overflow-hidden">
|
|
<Outlet />
|
|
</div>
|
|
</main>
|
|
</div>
|
|
</AuthenticationWrapper>
|
|
</>
|
|
);
|
|
}
|