diff --git a/src/lib/components/stepper/stepper.svelte b/src/lib/components/stepper/stepper.svelte index 4d422a55e..1156f151d 100644 --- a/src/lib/components/stepper/stepper.svelte +++ b/src/lib/components/stepper/stepper.svelte @@ -10,7 +10,7 @@ import modal from '$lib/stores/modal'; import { browser } from '$app/environment'; - const dispatch = createEventDispatcher<{ stepChange: never }>(); + const dispatch = createEventDispatcher<{ stepChange: never; conclude: never }>(); export let steps: Steps; export let context: (() => Writable) | undefined = undefined; @@ -198,6 +198,8 @@ disableTransitions = false; } else { modal.hide(); + // dispatch in case Stepper is being used in a standalone page (like /funder-onboarding) + dispatch('conclude'); } } diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index c3bded3ee..29897578e 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -101,7 +101,6 @@ href={canSubmitProjectClaim ? buildUrl('/app/claim-project', { projectToAdd: claimProjectInput }) : undefined} - target="_blank" >

Start your Drip List

Give to a personalized list of GitHub projects or Ethereum addresses.

- + diff --git a/src/routes/app/(flows)/funder-onboarding/+page.svelte b/src/routes/app/(flows)/funder-onboarding/+page.svelte index 91e96baba..46750ab18 100644 --- a/src/routes/app/(flows)/funder-onboarding/+page.svelte +++ b/src/routes/app/(flows)/funder-onboarding/+page.svelte @@ -31,6 +31,7 @@ window.scrollTo({ top: 0 })} + on:conclude={() => window.history.back()} context={() => state} steps={steps()} minHeightPx={512} diff --git a/src/routes/app/(flows)/funder-onboarding/steps/build-list/build-list.svelte b/src/routes/app/(flows)/funder-onboarding/steps/build-list/build-list.svelte index ccb2aa61b..ec22c18bf 100644 --- a/src/routes/app/(flows)/funder-onboarding/steps/build-list/build-list.svelte +++ b/src/routes/app/(flows)/funder-onboarding/steps/build-list/build-list.svelte @@ -8,6 +8,7 @@ import type { State } from '../../funder-onboarding-flow'; import { page } from '$app/stores'; import DripListEditor from '$lib/components/drip-list-editor/drip-list-editor.svelte'; + import ArrowLeft from 'radicle-design-system/icons/ArrowLeft.svelte'; const dispatch = createEventDispatcher(); @@ -28,6 +29,9 @@ showListFirst={true} {projectUrlToAdd} /> + + +