From 6a293df4beb6807ba31a0d23d83f9b7244f76c93 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Fri, 21 May 2021 14:45:56 +0100 Subject: [PATCH 1/2] enter to login, google auth only show if configured --- .../auth/_components/GoogleButton.svelte | 36 +++++++++++-------- .../src/pages/builder/auth/login.svelte | 5 +++ 2 files changed, 27 insertions(+), 14 deletions(-) diff --git a/packages/builder/src/pages/builder/auth/_components/GoogleButton.svelte b/packages/builder/src/pages/builder/auth/_components/GoogleButton.svelte index b68ad85752..0b4ab35e45 100644 --- a/packages/builder/src/pages/builder/auth/_components/GoogleButton.svelte +++ b/packages/builder/src/pages/builder/auth/_components/GoogleButton.svelte @@ -1,24 +1,32 @@ - - -
- google icon -

Sign in with Google

-
-
-
+{#if show} + + +
+ google icon +

Sign in with Google

+
+
+
+{/if}