19 lines
519 B
TypeScript
19 lines
519 B
TypeScript
import Navigation from './Navigation';
|
|
|
|
export default async function WorkspaceLayout({ children }: Readonly<{ children: React.ReactNode }>) {
|
|
return (
|
|
<>
|
|
<div className="bg-white flex justify-center py-2 pt-4 border-b-2 border-b-gray-200">
|
|
<div className="container">
|
|
<div className="border-t-[1px] border-t-gray-200">
|
|
<Navigation />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div className="bg-[#ECEFF1] overflow-y-auto flex-grow">
|
|
<div className="container">{children}</div>
|
|
</div>
|
|
</>
|
|
);
|
|
}
|