From 800ea7efd979f20c46c94ea02d2b769d78cb7084 Mon Sep 17 00:00:00 2001 From: Jay Hodgson Date: Mon, 23 Sep 2024 16:18:48 -0700 Subject: [PATCH] other plan links --- .../SynapseFooter/SynapseFooter.tsx | 5 +++-- .../SynapseHomepageNavBar.tsx | 21 ++++++++++++++++--- .../SynapseHomepageV2/SynapsePlansPage.tsx | 4 ++-- .../SynapseNavDrawer/SynapseNavDrawer.tsx | 9 ++++++++ 4 files changed, 32 insertions(+), 7 deletions(-) diff --git a/packages/synapse-react-client/src/components/SynapseFooter/SynapseFooter.tsx b/packages/synapse-react-client/src/components/SynapseFooter/SynapseFooter.tsx index b6cf216fd5..375541361d 100644 --- a/packages/synapse-react-client/src/components/SynapseFooter/SynapseFooter.tsx +++ b/packages/synapse-react-client/src/components/SynapseFooter/SynapseFooter.tsx @@ -12,6 +12,7 @@ import { ReactComponent as Facebook } from '../../assets/homepage/facebook.svg' import { ReactComponent as Instagram } from '../../assets/homepage/instagram.svg' import { ReactComponent as Youtube } from '../../assets/homepage/youtube.svg' import ExperimentalMode from '../ExperimentalMode' +import { PLANS_LINK } from '../SynapseHomepageV2/SynapseHomepageNavBar' export type SynapseFooterProps = { portalVersion: string @@ -112,9 +113,9 @@ export const SynapseFooter: React.FunctionComponent = ({ }, }, { - text: 'Pricing', + text: 'Plans', props: { - href: 'https://help.synapse.org/docs/Sage-Offerings.2965078125.html', + href: PLANS_LINK, }, }, { diff --git a/packages/synapse-react-client/src/components/SynapseHomepageV2/SynapseHomepageNavBar.tsx b/packages/synapse-react-client/src/components/SynapseHomepageV2/SynapseHomepageNavBar.tsx index cf14ba5581..a1245500d0 100644 --- a/packages/synapse-react-client/src/components/SynapseHomepageV2/SynapseHomepageNavBar.tsx +++ b/packages/synapse-react-client/src/components/SynapseHomepageV2/SynapseHomepageNavBar.tsx @@ -19,6 +19,8 @@ import { useSynapseContext } from '../../utils' import SageResourcesPopover from '../SageResourcesPopover' const LOGIN_LINK = '/LoginPlace:0' +const HOMEPAGE_LINK = '/Home:x' +export const PLANS_LINK = '/Plans:0' const DASHBOARD_LINK = '/Profile:v/projects/all' const navTextButtonSx: SxProps = { @@ -99,9 +101,11 @@ export const SynapseHomepageNavBar: React.FunctionComponent< }} > {/* Logo */} - + gotoPlace(HOMEPAGE_LINK)}> + + {/* Menu Items */} {/* Desktop nav bar, and a mobile hamburger dropdown menu nav bar that contain the same options */} {!isSmallView && ( @@ -113,6 +117,9 @@ export const SynapseHomepageNavBar: React.FunctionComponent< gap: '20px', }} > +