mirror of
https://github.com/harivansh-afk/RAG-ui.git
synced 2026-04-17 12:04:15 +00:00
Initial commit
This commit is contained in:
commit
ae239a2849
42 changed files with 6674 additions and 0 deletions
20
src/components/layout/DashboardLayout/index.tsx
Normal file
20
src/components/layout/DashboardLayout/index.tsx
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
import React from 'react';
|
||||
import { Outlet } from 'react-router-dom';
|
||||
import { Header } from '../Header';
|
||||
import { Sidebar } from '../Sidebar';
|
||||
|
||||
const DashboardLayout: React.FC = () => {
|
||||
return (
|
||||
<div className="flex min-h-screen flex-col">
|
||||
<Header />
|
||||
<div className="flex flex-1">
|
||||
<Sidebar />
|
||||
<main className="flex-1 overflow-y-auto bg-muted/50 p-6">
|
||||
<Outlet />
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default DashboardLayout;
|
||||
Loading…
Add table
Add a link
Reference in a new issue