feat: scaffold complete danable frontend architecture with all pages, layouts, stores, and 3 annotator modes

This commit is contained in:
quanganh2k4 2026-10-30 00:33:07 +07:00
commit 78848dd7d1
173 changed files with 18649 additions and 0 deletions

View 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>
)
}