Skip to content

Commit ccb6429

Browse files
authored
Merge branch 'main' into update-landing-909
2 parents a9c4179 + 0839131 commit ccb6429

File tree

8 files changed

+13
-10
lines changed

8 files changed

+13
-10
lines changed

cypress/integration/pages/add-org.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ describe('Add Organization Workflow', () => {
55
const AUTOCOMPLETE_COUNTRY = 'united';
66
const AUTOCOMPLETE_ORG = 'hack';
77
const VALID_EMAIL = 'test@test.test';
8-
const VALID_NAME = faker.company.companyName();
9-
const VALID_NAME_2 = faker.company.companyName();
10-
const VALID_PARENT_NAME = faker.company.companyName();
8+
const VALID_NAME = `test_${faker.company.companyName()}`;
9+
const VALID_NAME_2 = `test_${faker.company.companyName()}`;
10+
const VALID_PARENT_NAME = `test_${faker.company.companyName()}`;
1111
const VALID_TAG = 'test-tag';
1212
const VALID_CITY = 'Los Angeles';
1313
const VALID_STATE = 'CA';

cypress/integration/pages/footer.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const faker = require('faker')
33
describe('Footer', () => {
44
const BAD_FORMAT_EMAIL = 'test@'
55
const DUPLICATE_EMAIL = 'test@test.test'
6-
const RANDOM_EMAIL = faker.internet.email();
6+
const RANDOM_EMAIL = `test_${faker.internet.email()}`;
77

88
before(() => {
99
cy.visit('/')

src/App.js

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

@@ -51,7 +51,7 @@ const App = () => {
5151
<Route exact path='/organization/:name' component={IndvOrgPage} />
5252
{/* test and error page routes begin */}
5353
<RouteTitled path='/guides/:guide' component={Guides} title='Guides' />
54-
<Route path='/404' component={Error404} />
54+
<RouteTitled path='/404' component={Error404} title='404' />
5555
{/* test and error page routes end */}
5656
<Redirect from='/add' to='/join-index/how-to-add' />
5757
<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)