From 19902a9f53fbc706361196b19dadf148ef2d5e37 Mon Sep 17 00:00:00 2001 From: Evis Drenova <80707987+evisdrenova@users.noreply.github.com> Date: Sun, 19 Nov 2023 14:58:59 -0800 Subject: [PATCH] NEOS-344: updated brand (#616) --- cli/internal/cmds/neosync/login/html.go | 4 ++-- docs/docusaurus.config.js | 10 +++++----- docs/src/theme/Navbar/Logo/index.js | 4 ++-- docs/static/img/logo_and_text_light_mode.png | Bin 0 -> 5330 bytes docs/static/img/logo_light_mode.png | Bin 0 -> 1382 bytes frontend/components/Logo.tsx | 14 +++++++++----- frontend/components/MainNav.tsx | 7 +++---- 7 files changed, 21 insertions(+), 18 deletions(-) create mode 100644 docs/static/img/logo_and_text_light_mode.png create mode 100644 docs/static/img/logo_light_mode.png 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/docs/docusaurus.config.js b/docs/docusaurus.config.js index cfd0a47ef5..fe402b7a1a 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -8,7 +8,7 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula'); const config = { title: 'Neosync', tagline: 'Open source Test Data Management', - favicon: 'img/neosync_favicon.png', + favicon: 'img/logo_light_mode.png', // Set the production url of your site here url: 'https://docs.neosync.dev', @@ -75,11 +75,11 @@ const config = { respectPrefersColorScheme: false, }, navbar: { - title: 'Neosync', + // title: 'Neosync', logo: { - alt: 'My Site Logo', - srcDark: 'img/white-logo.png', - src: 'img/neosync_just_logo.png', + alt: 'Neosync', + srcDark: 'img/logo_and_text_dark_mode.png', + src: 'img/logo_and_text_light_mode.png', }, items: [ { diff --git a/docs/src/theme/Navbar/Logo/index.js b/docs/src/theme/Navbar/Logo/index.js index d691725d40..dc1f5af9f1 100644 --- a/docs/src/theme/Navbar/Logo/index.js +++ b/docs/src/theme/Navbar/Logo/index.js @@ -1,10 +1,10 @@ -import React from 'react'; import Logo from '@theme/Logo'; +import React from 'react'; export default function NavbarLogo() { return ( ); diff --git a/docs/static/img/logo_and_text_light_mode.png b/docs/static/img/logo_and_text_light_mode.png new file mode 100644 index 0000000000000000000000000000000000000000..3805f3ff6600370c9a0b8e3febfdbde445b73a19 GIT binary patch literal 5330 zcmV;@6fNtCP)u>=V5wA89ti z;T?QH-0Xv6#|MWO3@v9$soADSs>+f|YPCAQ*x4Dn)#{Q|RryzyX`n@J#&J9cn9S#J zB{eWM0At91#H0Yp1p}|~_w%1-vjhSV#qszuKumwq&pd@I^m?84d2ou?a5^&Z4)4kA z1Hd$y%}zm46lF~?&;leVKBn*p|C~TbQaC#KadsbSvd}IP7HtUzF=+~iZ+@IT1VvGl zHQ)jS=6W2H#{L)j6GCI)kH7!J*W-Wv^B;c(Pp*9%-$f1oPmo&`m!St31C!r<{dI)b z^8yq_QF=~r3uAjHehc}e+!{F1-a+@&RC+uKG1TVYLQnC%9z{`9atA< zpjJ++onRP@2Xrlpq70Ov0>gB>@`#qkimVK5*9>~jD~2oyz8l-dkIV2G>?&f7EvMNt%`7K0ENAha^jEv0#z6h%>LG8BO!vNAaM zJq1Nk6vdmt2n0iJ zWHt-30_{c|AIwwu&UOqwyYE94(oz(~kD&>S!pb!(6YIMv#CX4t zLsSpsB#{$P6s4C8$|c2UETdb-TXRj%t|*(p5Cw+DGP=gV!OgrDilQh3W{?5{)XL}_ zu9dDR%77WFz)&lrdnVW7xYv~p6-8;rUU0|q{(LH0l=TAUUl)*80fdOh|tbz$z852+xWl(H_ zz)&k=1*nywD8pkT1O}*;u?ixzG7dpel)*0q$BtNwW?XyDb;Dw z0JbOol)?`FCM)gCQcD4n3kF`NdAp|2GK=>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7=+XCy*N~G(4*sKLH+;uW4NF~F~b&B6JhTYM6 z0}GwaVCpf0v&aw#yY>aJi#0jd)Th1fipHip#@s?+j-tnPwy()fOwcjZI4auQB-ifZ zl(^eX|ADaesV50%*{_rMAe7Ida0Hoe4N6 { 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} - + */}