From 17553b7f1e1f8da61ab5910010147575231b6bc1 Mon Sep 17 00:00:00 2001 From: me3za Date: Sun, 31 Mar 2024 07:10:18 +0000 Subject: [PATCH] Added some icons next to buttons to improve UX --- frontend/src/components/Navbar.tsx | 10 ++++++---- frontend/src/components/modals/Settings.tsx | 2 +- .../components/modals/TaskCreationForm.tsx | 14 ++++++++++++-- .../src/components/modals/TaskEditForm.tsx | 11 ++++++++++- frontend/src/pages/LandingPage.tsx | 2 +- notes.md | 19 +++---------------- 6 files changed, 33 insertions(+), 25 deletions(-) diff --git a/frontend/src/components/Navbar.tsx b/frontend/src/components/Navbar.tsx index a4be91a..497096b 100644 --- a/frontend/src/components/Navbar.tsx +++ b/frontend/src/components/Navbar.tsx @@ -65,23 +65,25 @@ const DropdownContainer = ({ if (menuOpen) { return ( -
+
-
+
diff --git a/frontend/src/components/modals/Settings.tsx b/frontend/src/components/modals/Settings.tsx index 4b4da69..73aa46f 100644 --- a/frontend/src/components/modals/Settings.tsx +++ b/frontend/src/components/modals/Settings.tsx @@ -105,7 +105,7 @@ function SettingsModal() {

- Settings + Settings

diff --git a/frontend/src/components/modals/TaskCreationForm.tsx b/frontend/src/components/modals/TaskCreationForm.tsx index 258ac3d..bff1258 100644 --- a/frontend/src/components/modals/TaskCreationForm.tsx +++ b/frontend/src/components/modals/TaskCreationForm.tsx @@ -57,8 +57,18 @@ function TaskCreationForm({ className="flex flex-col items-stretch w-96" onSubmit={handleSubmit} > -

- Create a new Task +

+ + + + Create New Task