Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit 27f4f93

Browse files
feat: spinner while loading signin method
Signed-off-by: peterpeterparker <[email protected]>
1 parent 855538c commit 27f4f93

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

studio/src/app/components/core/app-signin/app-signin.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,10 @@ app-signin {
2424
strong {
2525
text-decoration: underline;
2626
}
27+
28+
div.spinner {
29+
display: flex;
30+
justify-content: center;
31+
padding: 16px;
32+
}
2733
}

studio/src/app/components/core/app-signin/app-signin.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,11 @@ export class AppSignIn {
142142

143143
{this.renderGitHub()}
144144

145-
{this.signIn}
145+
{this.signIn || (
146+
<div class="spinner">
147+
<ion-spinner color="medium"></ion-spinner>
148+
</div>
149+
)}
146150
</Fragment>
147151
);
148152
}

0 commit comments

Comments
 (0)