2025-05-28 18:30:08 +00:00
|
|
|
//import Side from './Side'
|
|
|
|
|
//import Cover from './Cover'
|
|
|
|
|
import Simple from './Simple'
|
2025-08-12 08:39:06 +00:00
|
|
|
import View from '@/views/Views'
|
2025-05-06 06:45:49 +00:00
|
|
|
import { useStoreState } from '@/store'
|
|
|
|
|
import { LAYOUT_TYPE_BLANK } from '@/constants/theme.constant'
|
|
|
|
|
|
|
|
|
|
const AuthLayout = () => {
|
2025-05-30 08:33:33 +00:00
|
|
|
const layoutType = useStoreState((state) => state.theme.layout.type)
|
2025-05-06 06:45:49 +00:00
|
|
|
|
2025-05-30 08:33:33 +00:00
|
|
|
return (
|
|
|
|
|
<div className="app-layout-blank flex flex-auto flex-col h-[100vh]">
|
|
|
|
|
{layoutType === LAYOUT_TYPE_BLANK ? (
|
|
|
|
|
<View />
|
|
|
|
|
) : (
|
2025-08-12 08:39:06 +00:00
|
|
|
<Simple>
|
|
|
|
|
<View />
|
|
|
|
|
</Simple>
|
2025-05-30 08:33:33 +00:00
|
|
|
)}
|
|
|
|
|
</div>
|
|
|
|
|
)
|
2025-05-06 06:45:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default AuthLayout
|