forked from stackblitz/bolt.new
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #597 from thecodacus/add-loading-on-git-import-fro…
…m-url feat:Added backdrop and loading screen in Git clone from Url
- Loading branch information
Showing
4 changed files
with
37 additions
and
4 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": "43e1f436f57fc4adb43b5481b403967803d4786d" , "version": "0.0.1" } | ||
{ "commit": "43e1f436f57fc4adb43b5481b403967803d4786d" , "version": "0.0.1" } |
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,14 @@ | ||
export const LoadingOverlay = ({ message = 'Loading...' }) => { | ||
return ( | ||
<div className="fixed inset-0 flex items-center justify-center bg-black/80 z-50 backdrop-blur-sm"> | ||
{/* Loading content */} | ||
<div className="relative flex flex-col items-center gap-4 p-8 rounded-lg bg-bolt-elements-background-depth-2 shadow-lg"> | ||
<div | ||
className={'i-svg-spinners:90-ring-with-bg text-bolt-elements-loader-progress'} | ||
style={{ fontSize: '2rem' }} | ||
></div> | ||
<p className="text-lg text-bolt-elements-textTertiary">{message}</p> | ||
</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