Skip to content

Commit

Permalink
modernized loader
Browse files Browse the repository at this point in the history
  • Loading branch information
voynow committed Aug 27, 2024
1 parent d5049a1 commit 1a34069
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/deploy_lambda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Deploy to Lambda

on:
push:
branches:
- main

jobs:
deploy:
Expand Down
20 changes: 19 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,21 @@
margin-top: 20px;
}

.loader {
border: 5px solid #f3f3f3;
border-top: 5px solid rgb(110, 72, 213);
border-radius: 50%;
width: 50px;
height: 50px;
animation: spin 1s linear infinite;
margin: 20px auto;
}

@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}

@media (max-width: 600px) {
h1 {
font-size: 1.5rem;
Expand Down Expand Up @@ -125,7 +140,10 @@ <h1>TrackFlow 🎯</h1>
<button type="submit">Sign Up</button>
</form>

<div id="loadingMessage">Please wait while we complete your sign-up...</div>
<div id="loadingMessage">
<div class="loader"></div>
<p>Please wait while we complete your sign-up...</p>
</div>

<script>
document.getElementById('getStartedBtn').addEventListener('click', function () {
Expand Down

0 comments on commit 1a34069

Please sign in to comment.