Skip to content

Commit

Permalink
Hide Add Organization button per request from content team. (#1133)
Browse files Browse the repository at this point in the history
* Hide Add Organization button per request from content team.

* Remove unused Link var.
  • Loading branch information
schroerbrian authored Jun 9, 2022
1 parent 05a2c6d commit e988fa6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 35 deletions.
26 changes: 0 additions & 26 deletions app/components/search/Pagination/ResultsPagination.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,29 +56,3 @@
height: 16px;
}
}

.addResource {
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
justify-items: center;
margin: 20px 0 30px;
font-size: 0.87rem;
@media screen and (max-width: $break-tablet-s) {
margin: 20px 0 30px;
}
}

.addResourceButton {
display: block;
padding: 11px 14px;
border: 1px solid rgba(0,0,0,0.2);
border-radius: 3px;
color: #666;
margin-top: 15px;
&:hover, &:active {
border: 1px solid #276ce5;
color: #276ce5;
}
}
9 changes: 0 additions & 9 deletions app/components/search/Pagination/ResultsPagination.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from 'react';
import { Pagination } from 'react-instantsearch/dom';
import { Link } from 'react-router-dom';
import whiteLabel from 'utils/whitelabel';

import styles from './ResultsPagination.module.scss';
Expand All @@ -25,14 +24,6 @@ const ResultsPagination = ({ noResults }: {noResults: boolean}) => (
<img src={algolia} alt="Search by Algolia" />
</div>
</div>
<div className={styles.addResource}>
Can&apos;t find the organization you&apos;re looking for?
<Link to="/organizations/new" className={styles.addResourceButton}>
<i className="material-icons">add_circle</i>
{' '}
Add an organization
</Link>
</div>
</div>
);

Expand Down

0 comments on commit e988fa6

Please sign in to comment.