Skip to content

Commit 58f2f51

Browse files
authored
Merge branch 'main' into clean-test-data-941
2 parents 14d9922 + c181acf commit 58f2f51

File tree

6 files changed

+9
-6
lines changed

6 files changed

+9
-6
lines changed

src/App.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import useStyles from './styles';
2323
const RouteTitled = ({ title, ...rest }) => {
2424
useEffect(() => {
2525
if (title) {
26-
document.title = 'Civic Tech Index — ' + title;
26+
document.title = `Civic Tech Index — ${title}`
2727
}
2828
});
2929

@@ -53,7 +53,7 @@ const App = () => {
5353
<Route exact path='/organization/:name' component={IndvOrgPage} />
5454
{/* test and error page routes begin */}
5555
<RouteTitled path='/guides/:guide' component={Guides} title='Guides' />
56-
<Route path='/404' component={Error404} />
56+
<RouteTitled path='/404' component={Error404} title='404' />
5757
{/* test and error page routes end */}
5858
<Redirect from='/add' to='/join-index/how-to-add' />
5959
<Redirect from='/adding' to='/join-index/how-to-add' />

src/components/ContributorThumbnail.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,6 @@ const Thumbnail = ({
244244
>
245245
<Link
246246
href={`/organization/${organization.slug}`}
247-
target='_blank'
248247
rel='noreferrer noopener'
249248
>
250249
{organization.name ? organization.name : organization}

src/pages/Contributors/Affiliated.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@ export const Affiliated = (props) => {
160160
>
161161
<Link
162162
href='/organization/code-for-all'
163-
target='_blank'
164163
rel='noreferrer noopener'
165164
>
166165
Code for All

src/pages/IndvOrganization/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ const IndvOrgPage = ({ match }) => {
120120
};
121121
setupBreadCrumbs();
122122

123+
document.title = `Civic Tech Index — ${name}`
123124
setOrgName(name);
124125
setNotFound(false);
125126
setImageUrl(imageUrl);

src/pages/RadicalCollaboration/Share/styles.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ const useStyles = makeStyles((theme) => ({
5959
width: '218px',
6060
},
6161
media: {
62-
display: 'flex',
63-
justifyContent: 'center',
6462
height: '64px',
6563
width: '64px',
6664
},

src/theme-mui.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,12 @@ const themeSettings = {
132132
},
133133
},
134134
},
135+
MuiCardActionArea: {
136+
root: {
137+
display: 'flex',
138+
width: 'auto',
139+
},
140+
},
135141
MuiCardContent: {
136142
root: {
137143
padding: 0,

0 commit comments

Comments
 (0)