-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathindex.jsx
More file actions
23 lines (23 loc) · 811 Bytes
/
index.jsx
File metadata and controls
23 lines (23 loc) · 811 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
const Loading = () => {
const elements = ["N", "I", "D", "A", "O", "L"];
return (
<div className="relative bg-black h-screen ">
<div className=" fixed top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 ">
<div className=" absolute w-[600px] h-[36px] left-1/2 top-[40%] -ml-[300px] overflow-visible select-none cursor-default ">
{elements.map((element, index) => (
<div
key={index}
className=" absolute w-[48px] h-[56px] opacity-0 font-semibold animate-move rotate-180 text-[#006eff] font-sans "
style={{
animationDelay: `${200 * index}ms`,
}}
>
{element}
</div>
))}
</div>
</div>
</div>
);
};
export default Loading;