From a4aeb9fdf369b1837338aa094270cbaa5830c1d2 Mon Sep 17 00:00:00 2001 From: sabaimran Date: Thu, 19 Dec 2024 14:02:49 -0800 Subject: [PATCH] Simplify the home page color scheme and overall design --- src/interface/web/app/automations/page.tsx | 48 ++++--------------- .../app/components/agentCard/agentCard.tsx | 27 ++++++----- .../components/suggestions/suggestionCard.tsx | 3 +- src/interface/web/app/settings/page.tsx | 8 ++-- 4 files changed, 28 insertions(+), 58 deletions(-) diff --git a/src/interface/web/app/automations/page.tsx b/src/interface/web/app/automations/page.tsx index 65f2121e..d71d96af 100644 --- a/src/interface/web/app/automations/page.tsx +++ b/src/interface/web/app/automations/page.tsx @@ -320,9 +320,7 @@ function AutomationsCard(props: AutomationsCardProps) { } return ( - + {updatedAutomationData?.subject || automation.subject} @@ -884,13 +882,13 @@ function metadataMap(ipLocationData: LocationData, authenticatedData: UserProfil return (
{authenticatedData ? ( - + {authenticatedData.email} ) : null} {ipLocationData && ( - + {ipLocationData ? `${ipLocationData.city}, ${ipLocationData.country}` @@ -898,7 +896,7 @@ function metadataMap(ipLocationData: LocationData, authenticatedData: UserProfil )} {ipLocationData && ( - + {ipLocationData ? `${ipLocationData.timezone}` : "Unknown"} @@ -1039,13 +1037,13 @@ export default function Automations() {

Automations

{authenticatedData ? ( - + {authenticatedData.email} ) : null} {locationData && ( - + {locationData ? `${locationData.city}, ${locationData.country}` @@ -1053,7 +1051,7 @@ export default function Automations() { )} {locationData && ( - + {locationData ? `${locationData.timezone}` : "Unknown"} @@ -1076,7 +1074,6 @@ export default function Automations() {
-

Your Creations

{authenticatedData ? ( - {(!personalAutomations || personalAutomations.length === 0) && - allNewAutomations.length == 0 && - !isLoading && ( -
- So empty! Create your own automation to get started. -
- {authenticatedData ? ( - - ) : ( - - )} -
-
- )} {isLoading && }
{personalAutomations && @@ -1165,7 +1133,7 @@ export default function Automations() { /> ))}
-

Try these out

+

Explore

{suggestedAutomations.map((automation) => ( + {showLoginPrompt && ( )} {(props.showChatButton ?? true) && ( -
+
{props.userProfile ? (