From 0e7f42a51203269fafbb9fc3e7f313ca1f04bd69 Mon Sep 17 00:00:00 2001 From: "Kalle (Sendou)" <38327916+Sendouc@users.noreply.github.com> Date: Mon, 20 Dec 2021 11:40:15 +0200 Subject: [PATCH] Log in link when trying to join team logged out --- app/components/Catcher.tsx | 8 ++------ .../to/$organization.$tournament/join-team.tsx | 16 ++++++++++++++-- app/styles/global.css | 4 ++-- 3 files changed, 18 insertions(+), 10 deletions(-) diff --git a/app/components/Catcher.tsx b/app/components/Catcher.tsx index 6f4e1a064..49abe0d6a 100644 --- a/app/components/Catcher.tsx +++ b/app/components/Catcher.tsx @@ -24,13 +24,9 @@ export function Catcher() {
) : ( + ); case "ALREADY_JOINED": return ( <>You are already a member of {data.teamName} for this tournament.> diff --git a/app/styles/global.css b/app/styles/global.css index 22a136dea..9fc54e2ec 100644 --- a/app/styles/global.css +++ b/app/styles/global.css @@ -273,13 +273,13 @@ select::selection { color: var(--theme-secondary); } -.four-zero-one__paragraph { +.button-text-paragraph { display: flex; justify-content: center; gap: var(--s-1); } -.four-zero-one__log-in-button { +.button-text-paragraph > button { font-size: var(--fonts-md); }