diff --git a/src/lib/components/Login.svelte b/src/lib/components/Login.svelte index 888037db3..9f1e0c7da 100644 --- a/src/lib/components/Login.svelte +++ b/src/lib/components/Login.svelte @@ -27,7 +27,10 @@
{#if $user} - + {:else if $token !== null} {#await Promise.all([open($token.url), pollForUser($token.token)])}
Log in in your system browser
@@ -39,8 +42,10 @@ if you are not redirected automatically, you can

{:else} - api.login.token.create().then(token.set)} + >Sign up or Log in {/if}
diff --git a/src/routes/users/+page.svelte b/src/routes/users/+page.svelte index e1b1ff070..b99e4b7ee 100644 --- a/src/routes/users/+page.svelte +++ b/src/routes/users/+page.svelte @@ -6,9 +6,80 @@ const { user, api } = data; -
- {#if $user} -
Welcome, {$user.name}!
- {/if} - +
+
+ {#if $user} +
Welcome, {$user.name}!
+ + {:else} +
+ Connect to GitButler Cloud +
+
+
+ Sign up or log in to GitButler Cloud for more tools and + features: +
+
    +
  • + + + + Backup everything you do in any of your projects +
  • +
  • + + + + + Sync your data across devices +
  • +
  • + + + + AI commit message automated suggestions +
  • +
+
+ +
+
+ {/if} +