Skip to content

Commit

Permalink
Updated images and added page to nav bar (#1830)
Browse files Browse the repository at this point in the history
Co-authored-by: Kyle Holmberg <[email protected]>
  • Loading branch information
michaelDragomir and kylemh committed Jun 21, 2024
1 parent 542f383 commit 23c8d28
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 6 deletions.
8 changes: 7 additions & 1 deletion common/constants/navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,14 @@ const press = {
href: '/press',
};

const corporateTraining = {
name: 'Corporate Training',
href: '/corporate-training',
};

const servicesGroup = {
...services,
sublinks: [podcast, scholarship, projectRebuild],
sublinks: [podcast, scholarship, projectRebuild, corporateTraining],
};

const aboutUsGroup = {
Expand Down Expand Up @@ -127,6 +132,7 @@ export const footerItems = {
branding,
services,
team,
corporateTraining,
],
legal: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,13 @@ exports[`Footer > should render with no props passed 1`] = `
Our Team
</ForwardRef(LinkComponent)>
</li>
<li>
<ForwardRef(LinkComponent)
href="/corporate-training"
>
Corporate Training
</ForwardRef(LinkComponent)>
</li>
</ul>
</div>
<div
Expand Down
8 changes: 8 additions & 0 deletions components/Nav/__tests__/__snapshots__/Nav.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ exports[`Nav > should render with no props passed 1`] = `
"href": "/project_rebuild",
"name": "Project Rebuild",
},
{
"href": "/corporate-training",
"name": "Corporate Training",
},
{
"href": "/chapters",
"name": "Chapters",
Expand Down Expand Up @@ -126,6 +130,10 @@ exports[`Nav > should render with no props passed 1`] = `
"href": "/project_rebuild",
"name": "Project Rebuild",
},
{
"href": "/corporate-training",
"name": "Corporate Training",
},
]
}
/>
Expand Down
10 changes: 5 additions & 5 deletions pages/corporate-training/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const biases: Bias[] = [
</>
),
image: '/static/images/bias1.jpg',
alt: 'Woman listening to someone talking',
alt: 'soldier sitting on the couch with his head resting on his hands.',
},
{
title: 'Bias #2',
Expand All @@ -41,7 +41,7 @@ const biases: Bias[] = [
</>
),
image: '/static/images/bias2.jpg',
alt: 'Woman listening to someone talking',
alt: 'A soldier getting comforted.',
},
{
title: 'Bias #3',
Expand All @@ -54,7 +54,7 @@ const biases: Bias[] = [
</>
),
image: '/static/images/bias3.jpg',
alt: 'Woman listening to someone talking',
alt: 'A homeless vet holding a sign for help.',
},
{
title: 'Bias #4',
Expand All @@ -77,7 +77,7 @@ const biases: Bias[] = [
</>
),
image: '/static/images/bias4.jpg',
alt: 'Woman listening to someone talking',
alt: 'A soldier shaking hands with someone.',
},
{
title: 'Bias #5',
Expand All @@ -102,7 +102,7 @@ const biases: Bias[] = [
</>
),
image: '/static/images/bias5.jpg',
alt: 'Woman listening to someone talking',
alt: 'two wedding rights resting on an american flad patch.',
},
];

Expand Down
Binary file modified public/static/images/bias1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/static/images/bias2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/static/images/bias3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/static/images/bias4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/static/images/bias5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 23c8d28

Please sign in to comment.