about summary refs log tree commit diff
path: root/client/src/UI.elm
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-08-02T20·27+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-08-02T20·27+0100
commitb9ed4a2dc170a3a4b6c1095cdfc79e49292f315d (patch)
treedb81e5f3fb515d9d5ca8003968c11b6b09591a82 /client/src/UI.elm
parentd6b91b93cbb42170249eb17eb7d0cb1c1a31f44a (diff)
Partially support federated login
Two things:
1. I've never attempted to support this before.
2. It seems surprisingly and perhaps deceptively simpler than what I
   expected. I'm unsure what to do once Google's API authenticates the user. I
   currently look-up the user's role, trips, etc. using their email address. The
   role is stored in the Accounts table alongside username, email, password. I
   will speak with the interviewer tomorrow about this.
Diffstat (limited to 'client/src/UI.elm')
-rw-r--r--client/src/UI.elm3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/UI.elm b/client/src/UI.elm
index f959b0cc7836..7f8f379795f7 100644
--- a/client/src/UI.elm
+++ b/client/src/UI.elm
@@ -98,7 +98,8 @@ baseButton { label, enabled, handleClick, extraClasses } =
                 "cursor-not-allowed"
           , "text-white"
           , "font-bold"
-          , "py-2"
+          , "py-1"
+          , "shadow-lg"
           , "px-4"
           , "rounded"
           , "focus:outline-none"