2026-02-24 20:44:16 +00:00
|
|
|
// import Side from './Side'
|
|
|
|
|
// import Cover from './Cover'
|
|
|
|
|
import Simple from './Simple'
|
|
|
|
|
import View from '@/views/Views'
|
|
|
|
|
import { useStoreState } from '@/store'
|
|
|
|
|
import { LAYOUT_TYPE_BLANK } from '@/constants/theme.constant'
|
|
|
|
|
|
|
|
|
|
const AuthLayout = () => {
|
|
|
|
|
const layoutType = useStoreState((state) => state.theme.layout.type)
|
|
|
|
|
|
|
|
|
|
return (
|
2026-10-16 21:13:31 +00:00
|
|
|
<div className="app-layout-blank flex flex-auto flex-col h-screen">
|
2026-02-24 20:44:16 +00:00
|
|
|
{layoutType === LAYOUT_TYPE_BLANK ? (
|
|
|
|
|
<View />
|
|
|
|
|
) : (
|
|
|
|
|
<Simple>
|
|
|
|
|
<View />
|
|
|
|
|
</Simple>
|
|
|
|
|
)}
|
|
|
|
|
</div>
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default AuthLayout
|