From d590b18a1f66a832136d11822ba088aa06733e8d Mon Sep 17 00:00:00 2001 From: "Jason R. Stevens, CFA" Date: Tue, 1 Feb 2022 15:02:31 -0600 Subject: [PATCH 1/5] :fire: set logoSrc as undefined --- cms.data.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/cms.data.js b/cms.data.js index 52d8711..8fb86d7 100644 --- a/cms.data.js +++ b/cms.data.js @@ -1,17 +1,15 @@ -export const hostname = "investor.tincre.com"; +export const hostname = "funded.vercel.app"; export const entityTitle = "Funded"; -export const entityUrl = "https://funded.vercel.app" +export const entityUrl = `https://${hostname}`; export const title = `${entityTitle} @ ${entityUrl}`; export const description = "A Single Page Application for getting funded, built on Next.js and Tailwindcss, by Tincre. Raise capital the hard way.ᵀᴹ"; export const author = `${entityTitle}, ${entityUrl}`; export const navigationLinks = [ `Investing in ${entityTitle}`, "About", "The Team" ]; -export const navigationHrefs = - [ "#why-invest-part-1", "#fact-snippets", "#team" ]; +export const navigationHrefs = [ "#why-invest", "#why-invest", "#why-invest" ]; export const cta = "Invest"; -export const logoSrc = - "https://res.cloudinary.com/tincre/image/upload/v1638892843/tincre.com/tincre-brand-indigo-800_uatfej.svg"; +export const logoSrc = undefined; export const stats1Data = [ { icon : "", From 067f923cc23b8051964c325472ff1431b9941fa9 Mon Sep 17 00:00:00 2001 From: "Jason R. Stevens, CFA" Date: Tue, 1 Feb 2022 15:02:55 -0600 Subject: [PATCH 2/5] :recycle: remove static logo source & add dynamic from prop --- components/Sections/NavigationHero.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Sections/NavigationHero.jsx b/components/Sections/NavigationHero.jsx index 8280930..c1679c2 100644 --- a/components/Sections/NavigationHero.jsx +++ b/components/Sections/NavigationHero.jsx @@ -30,7 +30,7 @@ export default function NavigationHero({ subHeading="We create value across the web via financially performant semi-autonomous brands centered around core technology." cta1="Learn about our raise" cta2="Sign in or up" - imageSrc="https://res.cloudinary.com/tincre/image/upload/v1638892843/tincre.com/tincre-brand-indigo-800_uatfej.svg" + imageSrc={logoSrc} session={session} /> From f8b2704271d9948080e951808fbea97a27fc69f3 Mon Sep 17 00:00:00 2001 From: "Jason R. Stevens, CFA" Date: Tue, 1 Feb 2022 15:09:29 -0600 Subject: [PATCH 3/5] :recycle: add dynamic logo source for navigation on mobile --- components/MobileNavbar.jsx | 23 +++++++++++++++++------ components/Sections/NavigationHero.jsx | 1 + 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/components/MobileNavbar.jsx b/components/MobileNavbar.jsx index 080fb4f..6360e8f 100644 --- a/components/MobileNavbar.jsx +++ b/components/MobileNavbar.jsx @@ -8,6 +8,7 @@ export default function MobileNavbar({ navigationHrefs, cta, session, + logoSrc, mobileMenuIsClicked, setMobileMenuIsClicked, }) { @@ -29,12 +30,22 @@ export default function MobileNavbar({ className="mr-auto text-2xl font-semibold leading-none" onClick={() => setMobileMenuIsClicked(!mobileMenuIsClicked)} > - {`${entityTitle} + {" "} + {logoSrc ? ( + {`The + ) : ( +
+

+ {entityTitle} +

+
+ )} ) : (