Skip to content

Commit cd9d020

Browse files
committed
Make breadcrumb objects more consistent (#909)
1 parent 2b26c94 commit cd9d020

File tree

8 files changed

+16
-16
lines changed

8 files changed

+16
-16
lines changed

src/pages/Collaborate/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import { Typography } from '@material-ui/core';
1212

1313
const Collaborate = () => {
1414
const breadCrumbLinks = [
15-
{ name: 'Home', href: '/' },
16-
{ name: 'Collaborate with Us', href: '/radical-collaboration/collaborate' },
15+
{ href: '/', name: 'Home' },
16+
{ href: '/radical-collaboration/collaborate', name: 'Collaborate with Us' },
1717
];
1818

1919
return (

src/pages/Contact/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import { GenericHeaderSection } from '../../components/';
88

99
const Contact = () => {
1010
const breadCrumbLinks = [
11-
{ name: 'Home', href: '/' },
12-
{ name: 'Contact', href: '/about/contact' },
11+
{ href: '/', name: 'Home' },
12+
{ href: '/about/contact', name: 'Contact' },
1313
];
1414
const handlePageHeight = () => {
1515
window.parent.scrollTo(0, 0);

src/pages/Contributors/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,8 @@ export default function Contributors() {
246246
};
247247

248248
const breadCrumbLinks = [
249-
{ name: 'Home', href: '/' },
250-
{ name: 'Civic Tech Organizations', href: '/organizations' },
249+
{ href: '/', name: 'Home' },
250+
{ href: '/organizations', name: 'Civic Tech Organizations' },
251251
];
252252

253253
return (

src/pages/Faq/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ const Faq = () => {
4343
);
4444

4545
const breadCrumbLinks = [
46-
{ name: 'Home', href: '/' },
47-
{ name: 'FAQ', href: '/about/faq' },
46+
{ href: '/', name: 'Home' },
47+
{ href: '/about/faq', name: 'FAQ' },
4848
];
4949

5050
const getFaqData = async (currentQuery, resetState) => {

src/pages/IndvOrganization/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ const IndvOrgPage = ({ match }) => {
102102
// Create the breadcrums on the Individual Organization Page
103103
const parentOrgs = [];
104104
const crumbs = [
105-
{ name: 'Home', href: '/' },
106-
{ name: 'View Organization', href: '/organizations/all' },
105+
{ href: '/', name: 'Home' },
106+
{ href: '/organizations/all', name: 'View Organization' },
107107
{
108108
name: name,
109109
href:

src/pages/RadicalCollaboration/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import PhotoCardMobile from './PhotoCardMobile';
1010
import { GenericHeaderSection } from '../../components/';
1111
const RadicalCollaboration = () => {
1212
const breadCrumbLinks = [
13-
{ name: 'Home', href: '/' },
14-
{ name: 'Collaborate with Us', href: '/support' },
13+
{ href: '/', name: 'Home' },
14+
{ href: '/support', name: 'Collaborate with Us' },
1515
];
1616
const Images = [
1717
{

src/pages/Share/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,8 @@ const SocialMediaSection = () => {
165165
export default function ShareTheCti() {
166166
const classes = useStyles();
167167
const breadCrumbLinks = [
168-
{ name: 'Home', href: '/' },
169-
{ name: 'Share the CTI', href: '/radical-collaboration/share' },
168+
{ href: '/', name: 'Home' },
169+
{ href: '/radical-collaboration/share', name: 'Share the CTI' },
170170
];
171171

172172
return (

src/pages/WhatIsCTI/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import Grid from '@material-ui/core/Grid';
1212

1313
const WhatIsCTI = () => {
1414
const breadCrumbLinks = [
15-
{ name: 'Home', href: '/' },
16-
{ name: 'What is CTI?', href: '/about/what-is-cti' },
15+
{ href: '/', name: 'Home' },
16+
{ href: '/about/what-is-cti', name: 'About' },
1717
];
1818

1919
const classes = useStyles();

0 commit comments

Comments
 (0)