diff --git a/ceremony/src/lib/components/Ceremony.svelte b/ceremony/src/lib/components/Ceremony.svelte index 5e643f5082..bdeef348f4 100644 --- a/ceremony/src/lib/components/Ceremony.svelte +++ b/ceremony/src/lib/components/Ceremony.svelte @@ -40,22 +40,31 @@ window.addEventListener("beforeunload", (e: BeforeUnloadEvent) => { {#if !contributor.userWallet} + {:else if contributor.state === 'contributed'} + + {:else if contributor.state === 'verifying'} +

Verifying your contribution...

+ {:else if contributor.clientState === 'offline'} + {:else if !contributor.downloadedSecret} + {:else if contributor.state === "inQueue"} + {:else if contributor.state === 'contribute'}

Starting contribution...

+ {:else if contributor.state === 'contributing'}

Contributing...

- {:else if contributor.state === 'verifying'} -

Verifying your contribution...

+ {:else}

Not able to contribute at this time

+ {/if} diff --git a/ceremony/src/lib/components/Install.svelte b/ceremony/src/lib/components/Install.svelte index 92619403f0..f4c70c1602 100644 --- a/ceremony/src/lib/components/Install.svelte +++ b/ceremony/src/lib/components/Install.svelte @@ -32,7 +32,8 @@ const copy = () => { because docker desktop is too slow.
If you use docker desktop it is extremely likely that you lose your contribution slot. - Once you have OrbStack/Docker running you should paste this in your terminal. + Once you have OrbStack/Docker running you should open a terminal window and paste the command to start the MPC client then come back here. +
@@ -56,6 +57,8 @@ const copy = () => {
- Is it running but still see this page? We support Chrome, FireFox and Brave.
For Brave disable the shields in the address bar.
+ Is it running but still see this page? We support Chrome, FireFox and Brave.
For Brave disable the shields + in the address bar. +
{/if} \ No newline at end of file diff --git a/ceremony/src/lib/components/Join.svelte b/ceremony/src/lib/components/Join.svelte index 224f02bb6c..e4c347d54f 100644 --- a/ceremony/src/lib/components/Join.svelte +++ b/ceremony/src/lib/components/Join.svelte @@ -55,7 +55,7 @@ $effect(() => { Or

Don't have an invite?

You can join the waitlist now to get priority access when the ceremony opens. - diff --git a/ceremony/src/lib/components/Live.svelte b/ceremony/src/lib/components/Live.svelte new file mode 100644 index 0000000000..9d80e2c1a6 --- /dev/null +++ b/ceremony/src/lib/components/Live.svelte @@ -0,0 +1,34 @@ + + +
+ {#each live as item (item.created_at)} +
{JSON.stringify(item)}
+ {/each} +
\ No newline at end of file diff --git a/ceremony/src/lib/components/Queue.svelte b/ceremony/src/lib/components/Queue.svelte index c0865a8376..d8c6ea1416 100644 --- a/ceremony/src/lib/components/Queue.svelte +++ b/ceremony/src/lib/components/Queue.svelte @@ -6,7 +6,7 @@ import Blink from "$lib/components/Blink.svelte" import SwimLoad from "$lib/components/SwimLoad.svelte" import H1 from "$lib/components/typography/H1.svelte" import { ContributorState } from "$lib/stores/state.svelte.js" -import { start } from "$lib/client" +import Text from "$lib/components/typography/Text.svelte" type Props = { contributor: ContributorState @@ -29,4 +29,8 @@ let { contributor }: Props = $props() (est.). +
+ You are connected to your MPC Client. + Do not close this tab or your terminal running the MPC Client. +
\ No newline at end of file diff --git a/ceremony/src/lib/components/SwimLoad.svelte b/ceremony/src/lib/components/SwimLoad.svelte index 48c6f10854..24c358a796 100644 --- a/ceremony/src/lib/components/SwimLoad.svelte +++ b/ceremony/src/lib/components/SwimLoad.svelte @@ -11,20 +11,22 @@ let { min = 1, max, current }: Props = $props() let progress = $derived(current != null && max != null ? ((current - min) / (max - min)) * 100 : 0) let clampedProgress = $derived(Math.max(0, Math.min(100, progress))) + +$effect(() => { + console.log(clampedProgress) +}) {#if current && max}
- - - - + style="left: calc({clampedProgress}% - 70px)" viewBox="0 0 128 56" fill="none" + xmlns="http://www.w3.org/2000/svg"> + +
Start diff --git a/ceremony/src/lib/components/address/AddressForm.svelte b/ceremony/src/lib/components/address/AddressForm.svelte index 79e0a767ff..cc744564a8 100644 --- a/ceremony/src/lib/components/address/AddressForm.svelte +++ b/ceremony/src/lib/components/address/AddressForm.svelte @@ -70,7 +70,7 @@ const onAddressSubmit = async (event: Event) => { spellcheck="false" autocapitalize="none" bind:value={inputText} - placeholder="union1qp0wtsfltjk9rnvyu3fkdv0s0skp4y5y3py96f" + placeholder="union1ab…." class={clsx([ className, 'text-md font-supermolot h-9 px-2 outline-none border-2', diff --git a/ceremony/src/routes/+page.svelte b/ceremony/src/routes/+page.svelte index e10f0424fd..c0d7ce5d86 100644 --- a/ceremony/src/routes/+page.svelte +++ b/ceremony/src/routes/+page.svelte @@ -7,6 +7,7 @@ import { ContributorState, getContributorState } from "$lib/stores/state.svelte. import Text from "$lib/components/typography/Text.svelte" import { supabase } from "$lib/supabase/client.ts" import { page } from "$app/stores" +import H4 from "$lib/components/typography/H4.svelte" const contributor: ContributorState = getContributorState() @@ -43,9 +44,12 @@ async function diveIn(provider: AuthProviders) { Participation is currently exclusive to those who have an invitation. If you don't have a invitation you can still join the waitlist.
-
- {#each providers as provider} - {@render Dive(provider)} - {/each} +
+

Log in

+
+ {#each providers as provider} + {@render Dive(provider)} + {/each} +
\ No newline at end of file diff --git a/ceremony/src/routes/contributions/+page.svelte b/ceremony/src/routes/contributions/+page.svelte index e0056b8ea5..ada8899c2e 100644 --- a/ceremony/src/routes/contributions/+page.svelte +++ b/ceremony/src/routes/contributions/+page.svelte @@ -2,6 +2,7 @@ import Spinner from "$lib/components/Spinner.svelte" import Text from "$lib/components/typography/Text.svelte" import { getContributions } from "$lib/supabase" +import Live from "$lib/components/Live.svelte" let intervalId: NodeJS.Timeout | number let contributions = $state() @@ -45,3 +46,5 @@ $effect(() => { {/if} + +