From a99a7fe1893d507b88ffbbfdbac6334067a6a2c4 Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Tue, 8 Aug 2023 22:06:14 -0300 Subject: [PATCH] fix(headerComponent): fix conditional rendering of waitlist link in header component chore(headerComponent): comment out unused waitlist link in header component chore(applies.css): update styling of waitlist link in header component to match design requirements --- .../src/components/headerComponent/index.tsx | 25 +++++++++++++++---- src/frontend/src/style/applies.css | 2 +- 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/src/frontend/src/components/headerComponent/index.tsx b/src/frontend/src/components/headerComponent/index.tsx index 2200e1b39..4fc98c758 100644 --- a/src/frontend/src/components/headerComponent/index.tsx +++ b/src/frontend/src/components/headerComponent/index.tsx @@ -31,9 +31,24 @@ export default function Header() { return (
- - ⛓️ - + {tabId === "" || !tabId ? ( +
+ + ⛓️ + join the waitlist + +
+ ) : ( + + ⛓️ + + )} + {flows.findIndex((f) => tabId === f.id) !== -1 && tabId !== "" && ( )} @@ -64,7 +79,7 @@ export default function Header() {
- ⛓️ join the waitlist - + */}