From 7bc35a03eafcc80405546e303b7c37fe37e2a4a3 Mon Sep 17 00:00:00 2001 From: coolpengwing Date: Tue, 2 Sep 2025 20:12:45 +0100 Subject: [PATCH 1/4] feat: enhance colors on signin and signup pages --- apps/frontend/src/components/layouts/MainLayout.tsx | 10 ++++------ .../src/components/pages/signin/PasswordSignIn.tsx | 11 ++++------- .../src/components/pages/signin/SocialSignIn.tsx | 6 +++--- apps/frontend/src/components/pages/signin/index.tsx | 2 +- .../src/components/pages/signup/PasswordSignUp.tsx | 3 +-- apps/frontend/src/components/pages/signup/index.tsx | 2 +- 6 files changed, 14 insertions(+), 20 deletions(-) diff --git a/apps/frontend/src/components/layouts/MainLayout.tsx b/apps/frontend/src/components/layouts/MainLayout.tsx index 52ed9fd..80cf209 100644 --- a/apps/frontend/src/components/layouts/MainLayout.tsx +++ b/apps/frontend/src/components/layouts/MainLayout.tsx @@ -28,10 +28,10 @@ const MainLayout: FC = ({ children }) => {
-
+
- + FloAgenticAI
@@ -40,8 +40,7 @@ const MainLayout: FC = ({ children }) => { {user ? (
+ )} - )} - - + + + + + + {openNewCredentialModal && ( + + )} - - - - {openNewCredentialModal && ( - - )} - + ); }; diff --git a/apps/frontend/src/components/pages/dashboard/index.tsx b/apps/frontend/src/components/pages/dashboard/index.tsx index bc9d239..0d1296e 100644 --- a/apps/frontend/src/components/pages/dashboard/index.tsx +++ b/apps/frontend/src/components/pages/dashboard/index.tsx @@ -31,57 +31,89 @@ export const DashboardPage: FC = () => { name: "Total Workflows", value: workflows.length, icon: "lucide:bot", + gradient: "from-blue-500 to-cyan-500", + bgGradient: "from-blue-500/100 to-cyan-500/100", + borderColor: "border-blue-500/80", + shadowColor: "shadow-blue-500/25", }, { name: "Active Workflows", value: workflows.filter((w) => w.isActive).length, icon: "lucide:zap", + gradient: "from-emerald-500 to-teal-500", + bgGradient: "from-emerald-500/100 to-teal-500/100", + borderColor: "border-emerald-500/80", + shadowColor: "shadow-emerald-500/25", }, ]; return ( - - -

- Welcome back, {user?.displayName}! 👋 -

-

- Let's see what your AI allies are up to today ✨ -

-
+
- {stats.map((stat) => ( -
-
-

- {stat.name} -

- {isLoading ? ( - - ) : ( -

- {stat.value} + +

+ Welcome back, {user?.displayName}! 👋 +

+

+ Let's see what your AI allies are up to today ✨ +

+ + + {stats.map((stat) => ( + +
+

+ {stat.name}

- )} -
-
- -
-
- ))} + {isLoading ? ( + + ) : ( +

+ {stat.value} +

+ )} +
+ + + +
+ ))} + - +
); }; export default DashboardPage; diff --git a/apps/frontend/src/components/pages/mcp-servers/Filters.tsx b/apps/frontend/src/components/pages/mcp-servers/Filters.tsx index 2ac6f02..a2fde85 100644 --- a/apps/frontend/src/components/pages/mcp-servers/Filters.tsx +++ b/apps/frontend/src/components/pages/mcp-servers/Filters.tsx @@ -53,10 +53,11 @@ const Filters: FC<{ key={category} size="md" variant={selectedCategory === category ? "solid" : "bordered"} - color={selectedCategory === category ? "primary" : "default"} className={cn( - "cursor-pointer transition-all duration-200 ", - selectedCategory !== category ? "hover:bg-default-100" : "px-2", + "cursor-pointer transition-all duration-300 ", + selectedCategory !== category + ? "hover:bg-default-100" + : "bg-indigo-500 text-white hover:bg-indigo-500/90", )} onClick={() => handleCategoryFilter(category)} endContent={ diff --git a/apps/frontend/src/components/pages/mcp-servers/Header.tsx b/apps/frontend/src/components/pages/mcp-servers/Header.tsx index 3750237..206dd9a 100644 --- a/apps/frontend/src/components/pages/mcp-servers/Header.tsx +++ b/apps/frontend/src/components/pages/mcp-servers/Header.tsx @@ -11,21 +11,28 @@ const Header: FC<{
-

+

MCP Servers

-

- Discover, install, and manage Model Context Protocol servers +

+ Discover, install, and manage Model Context Protocol servers 🔌

-
-
- - {totalServers} available +
+
+ + + {totalServers} available +
-
- - {installedServers} installed +
+ + + {installedServers} installed +
diff --git a/apps/frontend/src/components/pages/mcp-servers/Search.tsx b/apps/frontend/src/components/pages/mcp-servers/Search.tsx index 67d382a..4bf6ab7 100644 --- a/apps/frontend/src/components/pages/mcp-servers/Search.tsx +++ b/apps/frontend/src/components/pages/mcp-servers/Search.tsx @@ -28,11 +28,15 @@ const Search: FC<{ value={searchQuery} onValueChange={setSearchQuery} startContent={ - + } className="flex-1" size="lg" variant="bordered" + classNames={{ + inputWrapper: + "bg-white/80 dark:bg-gray-800/80 backdrop-blur-sm border border-indigo-200 dark:border-gray-700/30 hover:border-indigo-300/100 focus-within:border-indigo-400/100 shadow-md transition-all duration-300", + }} /> ); }; diff --git a/apps/frontend/src/components/pages/mcp-servers/Tabs.tsx b/apps/frontend/src/components/pages/mcp-servers/Tabs.tsx index a1b123f..527d198 100644 --- a/apps/frontend/src/components/pages/mcp-servers/Tabs.tsx +++ b/apps/frontend/src/components/pages/mcp-servers/Tabs.tsx @@ -23,17 +23,18 @@ const Tabs: FC<{ variant="underlined" classNames={{ tabList: - "gap-6 w-full relative rounded-none p-0 border-b border-divider", - cursor: "w-full bg-primary", - tab: "max-w-fit px-0 h-12", + "gap-8 w-full relative rounded-none p-0 border-b border-gradient-to-r from-indigo-200 to-purple-200 dark:from-indigo-800 dark:to-purple-800", + cursor: + "w-full bg-gradient-to-r from-indigo-500 to-purple-500 shadow-lg", + tab: "max-w-fit px-0 h-12 text-default-600 hover:text-indigo-600 dark:hover:text-indigo-400 transition-colors duration-300", }} > - - Available Servers + + Available Servers
} className="focus:outline-none hover:border-transparent p-2 bg-transparent" @@ -42,10 +43,17 @@ const Tabs: FC<{ key="installed" title={
- - Installed Servers + + Installed Servers {installedServers !== 0 && ( - + {installedServers} )} diff --git a/apps/frontend/src/components/pages/mcp-servers/index.tsx b/apps/frontend/src/components/pages/mcp-servers/index.tsx index 8ee4fe4..4c6f5e7 100644 --- a/apps/frontend/src/components/pages/mcp-servers/index.tsx +++ b/apps/frontend/src/components/pages/mcp-servers/index.tsx @@ -198,9 +198,9 @@ const MCPServersPage: FC = () => { }; return ( - <> +
{ installation={installationToUninstall} isPending={deleteMutation.isPending} /> - +
); }; diff --git a/apps/frontend/src/components/pages/profile/PersonalInformation.tsx b/apps/frontend/src/components/pages/profile/PersonalInformation.tsx index 2db7eed..ca48a33 100644 --- a/apps/frontend/src/components/pages/profile/PersonalInformation.tsx +++ b/apps/frontend/src/components/pages/profile/PersonalInformation.tsx @@ -63,11 +63,14 @@ const PersonalInformation: FC<{ return ( - +
- + {/*{isEditing && (*/} {/* setIsEditing(true)} aria-label="Edit name" > @@ -109,8 +111,8 @@ const PersonalInformation: FC<{
+ )} - )} - - -
- - - - + +
+
+ + + - - + + +
); }; diff --git a/apps/frontend/src/components/ui/credential/CredentialsList.tsx b/apps/frontend/src/components/ui/credential/CredentialsList.tsx index f1dcc94..0bb2b67 100644 --- a/apps/frontend/src/components/ui/credential/CredentialsList.tsx +++ b/apps/frontend/src/components/ui/credential/CredentialsList.tsx @@ -31,19 +31,19 @@ const CredentialList: FC<{ @@ -66,7 +66,7 @@ const CredentialList: FC<{ isHeaderSticky classNames={{ wrapper: - "max-h-[calc(100vh-320px)] border border-default-200 shadow-none", + "max-h-[calc(100vh-320px)] bg-white/80 dark:bg-gray-800/80 backdrop-blur-sm border border-white/20 dark:border-gray-700/30 shadow-lg rounded-2xl", thead: "[&>tr]:first:shadow-none", tbody: "[&>tr>td:nth-child(2)]:cursor-pointer", }} @@ -129,7 +129,7 @@ const CredentialList: FC<{ diff --git a/apps/frontend/src/components/ui/navbar/DashboardNavbar.tsx b/apps/frontend/src/components/ui/navbar/DashboardNavbar.tsx index bdf140f..d5234bd 100644 --- a/apps/frontend/src/components/ui/navbar/DashboardNavbar.tsx +++ b/apps/frontend/src/components/ui/navbar/DashboardNavbar.tsx @@ -3,10 +3,6 @@ import { NavbarBrand, NavbarContent, Button, - Dropdown, - DropdownTrigger, - DropdownMenu, - DropdownItem, cn, } from "@heroui/react"; import { Icon } from "@iconify/react"; @@ -51,10 +47,10 @@ const DashboardNavbar: FC = ({ onMenuToggle, isSmallScreen }) => {
-
+
- + FloAgenticAI
@@ -62,22 +58,36 @@ const DashboardNavbar: FC = ({ onMenuToggle, isSmallScreen }) => { - + {/* Notification bell - commented out until functionality is implemented */} + {/* - - New notifications - No new notifications + + + New notifications + + + No new notifications + - + */} {/**/} {/* */} diff --git a/apps/frontend/src/components/ui/sidebar/DashboardSidebar.tsx b/apps/frontend/src/components/ui/sidebar/DashboardSidebar.tsx index e2719e3..fedb3fd 100644 --- a/apps/frontend/src/components/ui/sidebar/DashboardSidebar.tsx +++ b/apps/frontend/src/components/ui/sidebar/DashboardSidebar.tsx @@ -94,7 +94,7 @@ const DashboardSidebar: FC = ({ isCollapsed }) => { return ( = ({ isCollapsed }) => {
- - {!isCollapsed && {item.label}} + + {!isCollapsed && ( + + {item.label} + + )}
@@ -133,7 +155,7 @@ const DashboardSidebar: FC = ({ isCollapsed }) => {
- +
{!isCollapsed ? ( @@ -141,20 +163,20 @@ const DashboardSidebar: FC = ({ isCollapsed }) => {
@@ -162,12 +184,14 @@ const DashboardSidebar: FC = ({ isCollapsed }) => {

{user?.displayName ?? "User"}

-

+

{user?.email ?? ""}

@@ -176,9 +200,8 @@ const DashboardSidebar: FC = ({ isCollapsed }) => {