feat: 新版webui
This commit is contained in:
1 parent
afc9c7ed8d
commit
31c0c1f4bc
201 files changed
+18454
-3422
No files matched your search
@@ -0,0 +1,22 @@
|
||||
import { Spinner } from '@heroui/spinner'
|
||||
import clsx from 'clsx'
|
||||
|
||||
export interface PageLoadingProps {
|
||||
loading?: boolean
|
||||
}
|
||||
const PageLoading: React.FC<PageLoadingProps> = ({ loading }) => {
|
||||
return (
|
||||
<div
|
||||
className={clsx(
|
||||
'absolute top-0 left-0 w-full h-full bg-zinc-500 bg-opacity-10 z-50 flex justify-center items-center backdrop-blur',
|
||||
{
|
||||
hidden: !loading
|
||||
}
|
||||
)}
|
||||
>
|
||||
<Spinner size="lg" />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default PageLoading
|
||||
Reference in new issue
Block a user