diff --git a/packages/experiments/src/routes/test/Virtu.svelte b/packages/experiments/src/routes/test/Virtu.svelte index a102c263f..8b9d82ef1 100644 --- a/packages/experiments/src/routes/test/Virtu.svelte +++ b/packages/experiments/src/routes/test/Virtu.svelte @@ -7,7 +7,7 @@ export let index: number let show = index < 3 -const checkToShow = debounce(750, async (activeIndex: number) => { +const checkToShow = debounce(200, async (activeIndex: number) => { await tick() setTimeout(() => { show = index > activeIndex - 4 && index < activeIndex + 4 @@ -18,6 +18,4 @@ $: checkToShow(activeIndex) $: console.log(index, show) -{#if show} - -{/if} + diff --git a/packages/web-client/src/components/button/Button.svelte b/packages/web-client/src/components/button/Button.svelte index 5d8e0e8ca..7b21cdf68 100644 --- a/packages/web-client/src/components/button/Button.svelte +++ b/packages/web-client/src/components/button/Button.svelte @@ -5,6 +5,7 @@ export let type: 'primary' | 'secondary' = 'primary' export let disabled = false export let href = '' export let preload = false +export let target: string | undefined = undefined export { exportClass as class } let exportClass: any = '' @@ -24,11 +25,11 @@ $: classes = c( {#if href && !preload} - + {:else if href && preload} - + {:else} diff --git a/packages/web-client/src/routes/(feed)/menu/auth/+page.svelte b/packages/web-client/src/routes/(feed)/menu/auth/+page.svelte new file mode 100644 index 000000000..bb07a3d5a --- /dev/null +++ b/packages/web-client/src/routes/(feed)/menu/auth/+page.svelte @@ -0,0 +1,46 @@ + + +
+
+ {#if $authState.isLoggedIn} +
+ profile +
+
+ {$userProfile.display_name} +
+
+
+
Please login again to connect your account to our dApp.
+ + {:else} +
+ +
+ {/if} + +
+
What is this?
+
+ Lorem Ipsum is simply dummy text of the printing and typesetting + industry. Lorem Ipsum has been the industry's standard dummy text ever + since the 1500s, when an unknown printer took a galley of type and + scrambled it to make a type specimen book. It has survived not only five + centuries, but also the leap into electronic typesetting, remaining + essentially unchanged. It was popularised in the 1960s with the release + of Letraset sheets containing Lorem Ipsum passages, and more recently + with desktop publishing software like Aldus PageMaker including versions + of Lorem Ipsum. +
+
+
+
diff --git a/packages/web-client/src/routes/(feed)/menu/reauth/+page.svelte b/packages/web-client/src/routes/(feed)/menu/reauth/+page.svelte new file mode 100644 index 000000000..2de83459d --- /dev/null +++ b/packages/web-client/src/routes/(feed)/menu/reauth/+page.svelte @@ -0,0 +1,60 @@ + + +
+
+ {#if loggedIn} +
Success!
+ +
You have succesfully migrated your hot or not profile.
+
+ Please, also migrate all of your profiles (if you have any) +
+ + + {:else} +
+
Success!
+
You are reaunticating your profile to connect to our dapp
+
Make sure this is your profile for the same:
+
+ profile +
+
+ {$userProfile.display_name} +
+
+
+ + +
+ {/if} + +
+
What is this?
+
+ We are migrating our platform so we need you to reautnticate. +
+ Lorem Ipsum is simply dummy text of the printing and typesetting industry. + Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, + when an unknown printer took a galley of type and scrambled it to make a + type specimen book. It has survived not only five centuries, but also the + leap into electronic typesetting, remaining essentially unchanged. It was + popularised in the 1960s with the release of Letraset sheets containing Lorem + Ipsum passages, and more recently with desktop publishing software like Aldus + PageMaker including versions of Lorem Ipsum. +
+
+
+