feat: scaffold complete danable frontend architecture with all pages, layouts, stores, and 3 annotator modes
This commit is contained in:
commit
78848dd7d1
173 changed files with 18649 additions and 0 deletions
18
src/layouts/AnnotatorLayout.tsx
Normal file
18
src/layouts/AnnotatorLayout.tsx
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import React from 'react'
|
||||
import { Outlet } from 'react-router-dom'
|
||||
import { Sidebar } from './components/Sidebar/Sidebar'
|
||||
import { Header } from './components/Header/Header'
|
||||
|
||||
export const AnnotatorLayout: React.FC<{ children?: React.ReactNode }> = ({
|
||||
children,
|
||||
}) => {
|
||||
return (
|
||||
<div className="flex h-screen w-screen overflow-hidden bg-[#F8FAFC] text-slate-900">
|
||||
<Sidebar />
|
||||
<div className="flex-1 flex flex-col min-w-0 h-full overflow-hidden">
|
||||
<Header />
|
||||
<main className="flex-1 overflow-hidden">{children || <Outlet />}</main>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue