- document folder - full-text search - blob storage - basic edgeless support Co-authored-by: tzhangchi <terry.zhangchi@outlook.com> Co-authored-by: QiShaoXuan <qishaoxuan777@gmail.com> Co-authored-by: DiamondThree <diamond.shx@gmail.com> Co-authored-by: MingLiang Wang <mingliangwang0o0@gmail.com> Co-authored-by: JimmFly <yangjinfei001@gmail.com> Co-authored-by: Yifeng Wang <doodlewind@toeverything.info> Co-authored-by: Himself65 <himself65@outlook.com> Co-authored-by: lawvs <18554747+lawvs@users.noreply.github.com> Co-authored-by: Qi <474021214@qq.com>
32 lines
660 B
TypeScript
32 lines
660 B
TypeScript
import { styled } from '@/styles';
|
|
import Loading from './loading';
|
|
|
|
// Used for the full page loading
|
|
const StyledLoadingContainer = styled('div')(() => {
|
|
return {
|
|
height: '100vh',
|
|
display: 'flex',
|
|
justifyContent: 'center',
|
|
alignItems: 'center',
|
|
color: '#6880FF',
|
|
h1: {
|
|
fontSize: '2em',
|
|
marginTop: '15px',
|
|
fontWeight: '600',
|
|
},
|
|
};
|
|
});
|
|
|
|
export const PageLoading = ({ text = 'Loading...' }: { text?: string }) => {
|
|
return (
|
|
<StyledLoadingContainer>
|
|
<div className="wrapper">
|
|
<Loading />
|
|
<h1>{text}</h1>
|
|
</div>
|
|
</StyledLoadingContainer>
|
|
);
|
|
};
|
|
|
|
export default PageLoading;
|