From 508068538106be268262a350a7131fde7e98c51c Mon Sep 17 00:00:00 2001 From: jahooma Date: Mon, 10 Jan 2022 23:49:07 -0600 Subject: [PATCH] White svg on dark background. Align correctly on landing page. --- web/components/manifold-logo.tsx | 2 +- web/components/nav-bar.tsx | 5 +++-- web/pages/landing-page.tsx | 2 +- web/public/logo-white.svg | 2 ++ 4 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 web/public/logo-white.svg diff --git a/web/components/manifold-logo.tsx b/web/components/manifold-logo.tsx index 25b29052..62b90842 100644 --- a/web/components/manifold-logo.tsx +++ b/web/components/manifold-logo.tsx @@ -9,7 +9,7 @@ export function ManifoldLogo(props: { darkBackground?: boolean }) { diff --git a/web/components/nav-bar.tsx b/web/components/nav-bar.tsx index 4287aa09..cf2a20d3 100644 --- a/web/components/nav-bar.tsx +++ b/web/components/nav-bar.tsx @@ -10,10 +10,11 @@ import { ProfileMenu } from './profile-menu' export function NavBar(props: { darkBackground?: boolean wide?: boolean + isLandingPage?: boolean className?: string children?: any }) { - const { darkBackground, wide, className, children } = props + const { darkBackground, wide, isLandingPage, className, children } = props const user = useUser() @@ -26,7 +27,7 @@ export function NavBar(props: { diff --git a/web/pages/landing-page.tsx b/web/pages/landing-page.tsx index b966997c..f3379576 100644 --- a/web/pages/landing-page.tsx +++ b/web/pages/landing-page.tsx @@ -34,7 +34,7 @@ const scrollToAbout = () => { function Hero() { return (
- +
+ \ No newline at end of file