-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ceremony): save progress on state
- Loading branch information
Showing
19 changed files
with
445 additions
and
354 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
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,30 @@ | ||
<script lang="ts"> | ||
import type {ContributorState} from "$lib/stores/state.svelte.ts"; | ||
import H1 from "$lib/components/typography/H1.svelte"; | ||
import H4 from "$lib/components/typography/H4.svelte"; | ||
type Props = { | ||
contributor: ContributorState; | ||
}; | ||
let {contributor}: Props = $props(); | ||
$effect(() => { | ||
console.log(contributor.state) | ||
if (contributor?.contributionState === 'contribute') { | ||
} | ||
}) | ||
</script> | ||
|
||
|
||
<div class="p-8 bg-gradient-to-t from-transparent via-black/50 to-transparent backdrop-blur w-full flex items-center justify-center flex-col h-48"> | ||
|
||
{#if contributor.state === 'inQueue'} | ||
<H1>{contributor.ctx.queuePosition} / {contributor.ctx.queueCount}</H1> | ||
<H4>{contributor.ctx.estimatedTime} minutes left (est.).</H4> | ||
{/if} | ||
|
||
|
||
</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
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,6 +1,6 @@ | ||
<script lang="ts"> | ||
let { children, class: className = "", ...props } = $props() | ||
</script> | ||
<h3 class={`text-union-heading-primary text-2xl font-bold font-supermolot mb-3 ${className}`} {...props}> | ||
<h3 class={`text-union-heading-primary text-2xl font-bold font-supermolot uppercase ${className}`} {...props}> | ||
{@render children()} | ||
</h3> |
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.