diff --git a/packages/web-client/src/routes/(feed)/wallet/send/+page.ts b/packages/web-client/src/routes/(feed)/wallet/send/+page.ts new file mode 100644 index 000000000..da2e78c84 --- /dev/null +++ b/packages/web-client/src/routes/(feed)/wallet/send/+page.ts @@ -0,0 +1,5 @@ +import { redirect } from '@sveltejs/kit' + +export const load = async () => { + throw redirect(307, 'wallet') +} diff --git a/packages/web-client/src/routes/(feed)/wallet/send/[id]/+page.svelte b/packages/web-client/src/routes/(feed)/wallet/send/[id]/+page.svelte new file mode 100644 index 000000000..e778fc6da --- /dev/null +++ b/packages/web-client/src/routes/(feed)/wallet/send/[id]/+page.svelte @@ -0,0 +1,137 @@ + + + + Hot or Not | Wallet | Send tokens + + + + +
+ Send Tokens +
+ + + +
+
+
+ +
+
+ +
+ {#if loading} +
+ +
+ {:else if walletId && !foundUser} +
+ No such user found +
+ {:else if foundUser} +
+
+ avatar +
+ {generateRandomName('name', '1')} + 10 Aug +
+
+
+
+ {:else} +
+ +
+ You have not made any transactions yet +
+
+ {/if} +
+
Recents
+ {#each recents as recent} +
+ avatar +
+ {recent.display_name} + 10 Aug +
+
+ {/each} +
+
+ +