From c67aa738ea7914562cbc06ec4c8fa46130d8bf15 Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Tue, 8 Aug 2023 21:55:23 -0300 Subject: [PATCH 1/5] feat(headerComponent): add "join the waitlist" link to the header component - Added a new anchor tag with the link to the Langflow website's waitlist page - Added a new CSS class `.header-waitlist-link-box` to style the waitlist link - Added hover effect to the waitlist link when hovered over --- src/frontend/src/components/headerComponent/index.tsx | 9 +++++++++ src/frontend/src/style/applies.css | 6 ++++++ 2 files changed, 15 insertions(+) diff --git a/src/frontend/src/components/headerComponent/index.tsx b/src/frontend/src/components/headerComponent/index.tsx index 91e9bbd8a..2200e1b39 100644 --- a/src/frontend/src/components/headerComponent/index.tsx +++ b/src/frontend/src/components/headerComponent/index.tsx @@ -64,6 +64,15 @@ export default function Header() {
+ + ⛓️ + join the waitlist + Date: Tue, 8 Aug 2023 22:06:14 -0300 Subject: [PATCH 2/5] 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 ? ( + + ) : ( + + ⛓️ + + )} + {flows.findIndex((f) => tabId === f.id) !== -1 && tabId !== "" && ( )} @@ -64,7 +79,7 @@ export default function Header() {
) : ( From 21fb5aad6c081608b366aa3b6495bc8b179498ab Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Wed, 9 Aug 2023 10:59:50 -0300 Subject: [PATCH 5/5] style(headerComponent): capitalize the first letter of "The" in "Join The Waitlist" for consistency and readability --- src/frontend/src/components/headerComponent/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/components/headerComponent/index.tsx b/src/frontend/src/components/headerComponent/index.tsx index 4ff75db8d..ddae6068c 100644 --- a/src/frontend/src/components/headerComponent/index.tsx +++ b/src/frontend/src/components/headerComponent/index.tsx @@ -40,7 +40,7 @@ export default function Header() { className="header-waitlist-link-box" > ⛓️ - Join the waitlist + Join The Waitlist
) : (