From a7a8e960938eda3c2318ac53aba027ec313398cc Mon Sep 17 00:00:00 2001 From: Evis Drenova Date: Sun, 19 Nov 2023 14:43:29 -0800 Subject: [PATCH 1/2] updated brand --- cli/internal/cmds/neosync/login/html.go | 4 ++-- frontend/components/Logo.tsx | 14 +++++++++----- frontend/components/MainNav.tsx | 7 +++---- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/cli/internal/cmds/neosync/login/html.go b/cli/internal/cmds/neosync/login/html.go index 87c16f869d..46f0963936 100644 --- a/cli/internal/cmds/neosync/login/html.go +++ b/cli/internal/cmds/neosync/login/html.go @@ -90,7 +90,7 @@ const ( ` loginPageSuccess = ` - +

Login Success!

You've successfully logged in to Neosync CLI.

@@ -102,7 +102,7 @@ const ( ` loginPageError = ` -
+

There was a problem logging you in!

Error Code: {{ .ErrorCode }}

diff --git a/frontend/components/Logo.tsx b/frontend/components/Logo.tsx index df9f6706f4..8267e6b7f4 100644 --- a/frontend/components/Logo.tsx +++ b/frontend/components/Logo.tsx @@ -11,14 +11,18 @@ export default function Logo({ className }: LogoProps) { const { resolvedTheme } = useTheme(); const [src, setSrc] = useState( - 'https://assets.nucleuscloud.com/neosync/neosync_black.svg' + 'https://assets.nucleuscloud.com/neosync/newbrand/logo_and_test_light_mode.svg' ); useEffect(() => { if (resolvedTheme === 'dark') { - setSrc('https://assets.nucleuscloud.com/neosync/neosync_white.svg'); + setSrc( + 'https://assets.nucleuscloud.com/neosync/newbrand/logo_text_dark_mode.svg' + ); } else { - setSrc('https://assets.nucleuscloud.com/neosync/neosync_black.svg'); + setSrc( + 'https://assets.nucleuscloud.com/neosync/newbrand/logo_and_test_light_mode.svg' + ); } }, [resolvedTheme]); @@ -27,8 +31,8 @@ export default function Logo({ className }: LogoProps) { src={src} alt="NeosyncLogo" className={className} - width={64} - height={20} + width={84} + height={40} /> ); } diff --git a/frontend/components/MainNav.tsx b/frontend/components/MainNav.tsx index 7367314c06..d2de3044a3 100644 --- a/frontend/components/MainNav.tsx +++ b/frontend/components/MainNav.tsx @@ -2,7 +2,6 @@ import Link from 'next/link'; -import { siteConfig } from '@/app/config/site'; import { cn } from '@/libs/utils'; import { usePathname } from 'next/navigation'; import Logo from './Logo'; @@ -22,10 +21,10 @@ export function MainNav({ return (
- - + + {/* {siteConfig.name} - + */}