-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ecf66d4
commit e1a6346
Showing
26 changed files
with
2,784 additions
and
823 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
import { motion } from "framer-motion"; | ||
|
||
export function LoadingSpinner() { | ||
return ( | ||
<div className="fixed inset-0 bg-black/20 backdrop-blur-sm flex items-center justify-center z-50"> | ||
<motion.div | ||
className="flex space-x-2" | ||
animate={{ | ||
scale: [1, 0.9, 1], | ||
}} | ||
transition={{ | ||
duration: 0.5, | ||
repeat: Infinity, | ||
}} | ||
> | ||
<motion.div | ||
className="w-3 h-3 bg-indigo-600 rounded-full" | ||
animate={{ | ||
y: ["0%", "-50%", "0%"], | ||
}} | ||
transition={{ | ||
duration: 0.5, | ||
repeat: Infinity, | ||
delay: 0, | ||
}} | ||
/> | ||
<motion.div | ||
className="w-3 h-3 bg-purple-600 rounded-full" | ||
animate={{ | ||
y: ["0%", "-50%", "0%"], | ||
}} | ||
transition={{ | ||
duration: 0.5, | ||
repeat: Infinity, | ||
delay: 0.1, | ||
}} | ||
/> | ||
<motion.div | ||
className="w-3 h-3 bg-indigo-600 rounded-full" | ||
animate={{ | ||
y: ["0%", "-50%", "0%"], | ||
}} | ||
transition={{ | ||
duration: 0.5, | ||
repeat: Infinity, | ||
delay: 0.2, | ||
}} | ||
/> | ||
</motion.div> | ||
</div> | ||
); | ||
} |
Oops, something went wrong.