Skip to content

Commit

Permalink
Merge pull request #1403 from afwillia/PORTALS-3339
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgros authored Dec 3, 2024
2 parents b221648 + 3cf4979 commit be3b4c0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
5 changes: 0 additions & 5 deletions apps/portals/elportal/src/config/routesConfig.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import App from '@sage-bionetworks/synapse-portal-framework/App'
import ELBetaLaunchBanner from '@sage-bionetworks/synapse-portal-framework/components/elportal/ELBetaLaunchBanner'
import ELBrowseToolsPage from '@sage-bionetworks/synapse-portal-framework/components/elportal/ELBrowseToolsPage'
import ELContributeYourData from '@sage-bionetworks/synapse-portal-framework/components/elportal/ELContributeYourData'
import ExploreWrapper from '@sage-bionetworks/synapse-portal-framework/components/Explore/ExploreWrapper'
import { SectionLayout } from '@sage-bionetworks/synapse-portal-framework/components/SectionLayout'
import sharedRoutes from '@sage-bionetworks/synapse-portal-framework/shared-config/sharedRoutes'
Expand Down Expand Up @@ -87,10 +86,6 @@ const routes: RouteObject[] = [
</SectionLayout>
),
},
{
path: 'Contribute Data',
element: <ELContributeYourData />,
},
],
},
]
Expand Down
9 changes: 9 additions & 0 deletions apps/portals/elportal/src/pages/HomePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
UserCardListRotate,
RecentPublicationsGrid,
} from 'synapse-react-client'
import ELContributeYourData from '@sage-bionetworks/synapse-portal-framework/components/elportal/ELContributeYourData'
import { partnersSql, peopleSql, topPublicationsSql } from '../config/resources'

export default function HomePage() {
Expand Down Expand Up @@ -205,6 +206,14 @@ export default function HomePage() {
/>
</SectionLayout>
</div>
<SectionLayout
ContainerProps={{
className: 'home-spacer',
style: { maxWidth: '100%' },
}}
>
<ELContributeYourData />
</SectionLayout>
</>
)
}

0 comments on commit be3b4c0

Please sign in to comment.