feat / AEB-26 login page
This commit is contained in:
21
frontend/components/ui/Loader.tsx
Normal file
21
frontend/components/ui/Loader.tsx
Normal file
@@ -0,0 +1,21 @@
|
||||
import React from 'react'
|
||||
|
||||
const Loader = () => {
|
||||
return (
|
||||
<div className="flex items-center justify-center p-8">
|
||||
<div className="relative h-12 w-12">
|
||||
{/* пульсирующие круги */}
|
||||
<div className="bg-blue/20 absolute inset-0 animate-ping rounded-full"></div>
|
||||
<div
|
||||
className="bg-blue/40 absolute inset-2 animate-ping rounded-full"
|
||||
style={{ animationDelay: '0.2s' }}
|
||||
></div>
|
||||
<div className="bg-blue absolute inset-4 animate-pulse rounded-full"></div>
|
||||
{/* бегущий блик */}
|
||||
<div className="bg-blue-to-r animate-shimmer absolute inset-0 rounded-full from-transparent via-white/20 to-transparent"></div>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default Loader
|
||||
Reference in New Issue
Block a user