mirror of
https://github.com/ichsankurnia/hats-app.git
synced 2026-12-05 10:56:28 +00:00
23 lines
1.6 KiB
TypeScript
23 lines
1.6 KiB
TypeScript
import { FC } from "react";
|
|
|
|
export const WindowsLoading: FC = () => {
|
|
return (
|
|
<div className='absolute inset-0 w-full h-full bg-white dark:bg-zinc-950 rounded-2xl z-10 flex justify-center items-center flex-col'>
|
|
<div className="[&>span]:before:animate-fadeIn relative h-10 w-10 [&>span]:absolute [&>span]:inset-0 [&>span]:inline-flex [&>span]:h-full [&>span]:w-full [&>span]:before:h-2 [&>span]:before:w-2 [&>span]:before:rounded-full dark:[&>span]:before:bg-white [&>span]:before:bg-zinc-800">
|
|
<span className=""></span>
|
|
<span className="before:!animation-delay-[-1.1s] rotate-30deg"></span>
|
|
<span className="before:!animation-delay-[-1s] rotate-60deg"></span>
|
|
<span className="before:!animation-delay-[-0.9s] rotate-90deg"></span>
|
|
<span className="before:!animation-delay-[-0.8s] rotate-120deg"></span>
|
|
<span className="before:!animation-delay-[-0.7s] rotate-150deg"></span>
|
|
<span className="before:!animation-delay-[-0.6s] rotate-180deg"></span>
|
|
<span className="before:!animation-delay-[-0.5s] rotate-210deg"></span>
|
|
<span className="before:!animation-delay-[-0.4s] rotate-240deg"></span>
|
|
<span className="before:!animation-delay-[-0.3s] rotate-270deg"></span>
|
|
<span className="before:!animation-delay-[-0.2s] rotate-300deg"></span>
|
|
<span className="before:!animation-delay-[-0.1s] rotate-330deg"></span>
|
|
</div>
|
|
<span className="animate-pulse mt-5 text-sm font-medium">Please wait..</span>
|
|
</div>
|
|
);
|
|
} |