19 lines
727 B
TypeScript
19 lines
727 B
TypeScript
|
|
export default function Loading() {
|
||
|
|
return (
|
||
|
|
<div className="min-h-screen flex items-center justify-center bg-gradient-to-b from-black via-[#0a0a0a] to-[#111111]">
|
||
|
|
<div className="text-center">
|
||
|
|
{/* 加载动画 */}
|
||
|
|
<div className="relative w-20 h-20 mx-auto mb-6">
|
||
|
|
<div className="absolute inset-0 border-4 border-[var(--app-brand)] border-opacity-20 rounded-full"></div>
|
||
|
|
<div className="absolute inset-0 border-4 border-[var(--app-brand)] border-t-transparent rounded-full animate-spin"></div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
{/* 加载文本 */}
|
||
|
|
<p className="text-[var(--app-text-secondary)] text-lg">
|
||
|
|
加载中...
|
||
|
|
</p>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
)
|
||
|
|
}
|