Skip to content

Commit

Permalink
feat: added new use case for nonprofits (#2401)
Browse files Browse the repository at this point in the history
# Description

Added new navigation item for Use Case: 

Fixes #2400 

## Type of change

- [x] New feature (non-breaking change which adds functionality)

# How Has This Been Tested?

- [x] Manual Test

# Screenshots / Screen recording

![image](https://github.com/zesty-io/website/assets/70579069/3f8a8fcb-3d5f-4b32-a87a-e43aebcc03dd)
  • Loading branch information
arzljames authored Mar 13, 2024
1 parent 326cce1 commit d454d04
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 3 deletions.
9 changes: 8 additions & 1 deletion src/components/accounts/domains/DomainSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,14 @@ export default function DomainSettings({ settings, getSettings }) {
Custom Domain DNS Configuration
</Typography>
<Typography variant="body2" pb={2}>
After adding a domain, launch your site following this guide: <a href="https://zesty.org/tools/guides/how-to-launch-an-instance" target="_blank">DNS configuration</a>.
After adding a domain, launch your site following this guide:{' '}
<a
href="https://zesty.org/tools/guides/how-to-launch-an-instance"
target="_blank"
>
DNS configuration
</a>
.
</Typography>
</Grid>
</Grid>
Expand Down
44 changes: 44 additions & 0 deletions src/components/globals/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -2911,6 +2911,45 @@ export const flyoutNavigation = [
sort_order: '2',
main_or_blue_secondary_item: '1',
},
{
nav_item_name: 'Nonprofits',
page_link: {
type: 'relationship',
model: 'for_industry_pages',
totalItems: 1,
data: [[]],
},
external_link_if_needed: '/use-case/nonprofits-cms/',
parent_nav_item: {
type: 'relationship',
model: 'sub_nav2022',
totalItems: 1,
data: [
{
nav_item_name: 'By industry',
page_link: null,
external_link_if_needed: null,
parent_nav_item: null,
icon_image: null,
sort_order: '1',
main_or_blue_secondary_item: '0',
},
],
},
icon_image: {
type: 'images',
totalItems: 1,
data: [
{
type: 'image',
zuid: '3-114d52a5-jrh9bp',
url: 'https://kfg6bckb.media.zestyio.com/Nonprofits.png',
},
],
},
sort_order: '1',
main_or_blue_secondary_item: '1',
},
{
nav_item_name: 'Insurance',
page_link: {
Expand Down Expand Up @@ -11196,6 +11235,11 @@ export const navigationTree = [
title: 'Headless CMS for gaming companies',
zuid: '7-dca3f4afc3-67d595',
},
{
url: '/use-case/nonprofits-cms/',
title: 'Zesty.io for nonprofits',
zuid: '7-f8a4b3a3fa-gmkpnh',
},
{
url: '/use-case/insurance-cms/',
title: 'Zesty.io for insurance companies',
Expand Down
2 changes: 1 addition & 1 deletion src/components/marketing/ForPersonas/UseCase.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const UseCase = ({ header, data }) => {
<Stack order={1} justifyContent="center">
<Box
component="img"
src={item.icon_image}
src={item.icon_image || FillerContent.image}
sx={(theme) => ({
[theme.breakpoints.up('xs')]: {
objectFit: 'contain',
Expand Down
2 changes: 1 addition & 1 deletion src/views/zesty/ForPersonasPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ function ForPersonasPage({ content }) {
logoItems={content?.client_logos?.data}
/>
<TabsSection tabs={content?.features_options} />
<CaseStudy {...caseStudyProps} />
{content?.case_studies && <CaseStudy {...caseStudyProps} />}
<SingleTestimonial />
{content.integrations_title && content.integrations_logos && (
<TechStack {...logoSliderProps} />
Expand Down

0 comments on commit d454d04

Please sign in to comment.