From 9d6d2fd88a8cc9cb2484695343d30cb3f6f8550c Mon Sep 17 00:00:00 2001 From: Igor Carvalho Date: Wed, 5 Jul 2023 19:54:10 -0300 Subject: [PATCH] feat: add header and input component tailwind constant classes --- .../components/menuBar/index.tsx | 16 ++--- .../src/components/headerComponent/index.tsx | 32 ++++----- .../src/components/inputComponent/index.tsx | 14 ++-- .../components/inputFileComponent/index.tsx | 4 +- src/frontend/src/index.css | 67 +++++++++++++++++++ 5 files changed, 100 insertions(+), 33 deletions(-) diff --git a/src/frontend/src/components/headerComponent/components/menuBar/index.tsx b/src/frontend/src/components/headerComponent/components/menuBar/index.tsx index 4109e318f..41cb0bef9 100644 --- a/src/frontend/src/components/headerComponent/components/menuBar/index.tsx +++ b/src/frontend/src/components/headerComponent/components/menuBar/index.tsx @@ -47,19 +47,19 @@ export const MenuBar = ({ flows, tabId }) => { let current_flow = flows.find((flow) => flow.id === tabId); return ( -
+
-
+
@@ -71,7 +71,7 @@ export const MenuBar = ({ flows, tabId }) => { }} className="cursor-pointer" > - + New { }} className="cursor-pointer" > - + Settings { }} className="cursor-pointer" > - + Undo { }} className="cursor-pointer" > - + Redo diff --git a/src/frontend/src/components/headerComponent/index.tsx b/src/frontend/src/components/headerComponent/index.tsx index 342054b10..0eedbff59 100644 --- a/src/frontend/src/components/headerComponent/index.tsx +++ b/src/frontend/src/components/headerComponent/index.tsx @@ -36,8 +36,8 @@ export default function Header() { fetchStars(); }, []); return ( -
-
+
+
⛓️ @@ -45,7 +45,7 @@ export default function Header() { )}
-
+
-
-
+
+
Star -
+
{stars}
@@ -89,7 +89,7 @@ export default function Header() { rel="noreferrer" className="text-muted-foreground" > - + - +
-
+
); }} > {notificationCenter && ( -
+
)} -
diff --git a/src/frontend/src/components/inputComponent/index.tsx b/src/frontend/src/components/inputComponent/index.tsx index 4182dbbb2..61942f834 100644 --- a/src/frontend/src/components/inputComponent/index.tsx +++ b/src/frontend/src/components/inputComponent/index.tsx @@ -32,7 +32,7 @@ export default function InputComponent({
@@ -61,8 +61,8 @@ export default function InputComponent({