Files
ragflow/web/src/pages/profile-setting/index.tsx
balibabu f34b913bd8 Feat: Add Sessions component #3221 (#4865)
### What problem does this PR solve?

Feat: Add Sessions component #3221

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
2025-02-11 13:11:15 +08:00

37 lines
1.1 KiB
TypeScript

import { PageHeader } from '@/components/page-header';
import { useNavigatePage } from '@/hooks/logic-hooks/navigate-hooks';
import { Outlet } from 'umi';
import { SideBar } from './sidebar';
export default function ProfileSetting() {
const { navigateToHome } = useNavigatePage();
return (
<div className="flex flex-col w-full h-screen bg-background text-foreground">
{/* <header className="flex items-center border-b">
<div className="flex items-center border-r p-1.5">
<Button variant="ghost" size="icon" onClick={navigateToHome}>
<ArrowLeft className="w-5 h-5" />
</Button>
</div>
<div className="p-4">
<h1 className="text-2xl font-semibold tracking-tight">
Profile & settings
</h1>
</div>
</header> */}
<PageHeader title="Profile & settings" back={navigateToHome}></PageHeader>
<div className="flex flex-1 bg-muted/50">
<SideBar></SideBar>
<main className="flex-1 ">
<Outlet></Outlet>
{/* <h1 className="text-3xl font-bold mb-6"> {title}</h1> */}
</main>
</div>
</div>
);
}