erp-platform/ui/src/components/layouts/AuthLayout/AuthLayout.tsx
Sedat ÖZTÜRK e1a9562b22 init project
2025-05-06 09:45:49 +03:00

24 lines
646 B
TypeScript

import Side from './Side'
// import Cover from './Cover'
// import Simple from './Simple'
import View from '@/views'
import { useStoreState } from '@/store'
import { LAYOUT_TYPE_BLANK } from '@/constants/theme.constant'
const AuthLayout = () => {
const layoutType = useStoreState((state) => state.theme.layout.type)
return (
<div className="app-layout-blank flex flex-auto flex-col h-[100vh]">
{layoutType === LAYOUT_TYPE_BLANK ? (
<View />
) : (
<Side>
<View />
</Side>
)}
</div>
)
}
export default AuthLayout