forked from stackblitz/bolt.new
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
18d72e9
commit 6a5deaf
Showing
4 changed files
with
146 additions
and
102 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1 +1 @@ | ||
{ "commit": "d37cf4ecb8460c28aa24b5374da2b3239359da94" } | ||
{ "commit": "18d72e9fc93307d3c5ebcbfbb1361967fa28e961" } |
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,23 @@ | ||
interface GitCloneSpinnerProps { | ||
isOpen: boolean; | ||
} | ||
|
||
export function GitCloneSpinner({ isOpen }: GitCloneSpinnerProps) { | ||
if (!isOpen) return null; | ||
|
||
return ( | ||
<> | ||
{/* Full screen blocker that prevents all interactions */} | ||
<div className="fixed inset-0 bg-transparent z-[9999]" /> | ||
|
||
{/* Spinner overlay */} | ||
<div className="fixed inset-0 bg-black/50 flex items-center justify-center z-[10000]"> | ||
<div className="bg-[#1E1E1E] p-6 rounded-lg border border-[#6F3FB6] shadow-2xl flex flex-col items-center gap-4"> | ||
<div className="i-svg-spinners:90-ring-with-bg text-[#6F3FB6] text-4xl animate-spin" /> | ||
<div className="text-white text-lg">Cloning Repository...</div> | ||
<div className="text-[#8B8B8B] text-sm">This may take a few moments</div> | ||
</div> | ||
</div> | ||
</> | ||
); | ||
} |
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