mirror of
https://github.com/Rate-Limiting-Nullifier/Discreetly.git
synced 2026-01-09 12:37:55 -05:00
signup progress tracking
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
<a
|
||||
class="nav-link"
|
||||
class:active={!$page.route.id?.match(/gates|ceremony|backup/g)}
|
||||
class:complete={$page.route.id?.match(/gates|ceremony|backup/g)}
|
||||
aria-current="page"
|
||||
href="/signup">Sign Up</a
|
||||
>
|
||||
@@ -16,14 +17,14 @@
|
||||
class="nav-link"
|
||||
href="/signup/gates"
|
||||
class:active={$page.route.id?.match(/gates/g)}
|
||||
class:step-primary={$page.route.id?.match(/gates|ceremony|backup/g)}>Choose Communities</a
|
||||
class:complete={$page.route.id?.match(/ceremony|backup/g)}>Choose Communities</a
|
||||
>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a
|
||||
class="nav-link"
|
||||
href="/signup/ceremony"
|
||||
class:step-primary={$page.route.id?.match(/ceremony|backup/g)}
|
||||
class:complete={$page.route.id?.match(/backup/g)}
|
||||
class:active={$page.route.id?.match(/ceremony/g)}>Create Identity</a
|
||||
>
|
||||
</li>
|
||||
@@ -39,3 +40,10 @@
|
||||
<slot />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.complete::after {
|
||||
content: '✓';
|
||||
padding-left: 0.5rem;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user