Skip to content

Commit

Permalink
Fix misaligned social icon
Browse files Browse the repository at this point in the history
  • Loading branch information
IanSaucy committed Aug 28, 2020
1 parent b475854 commit a835d35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/pages/HomePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,7 @@ export const HomePage: React.FC<Props> = () => {
<div style={{ paddingTop: '3rem' }} />
<Row justify="center" className={styles.SocialIconsRow}>
<Col className={styles.HomeSocialIcons}>
<a className={styles.HomeSocialIcons} href="https://forms.gle/fPnisqH8j5PgeLpH6" target="_blank" rel="noopener noreferrer">
<CircleEmail />
</a>
<CircleEmail onClick={() => history.push(ExternalRoutes.EMAILUS, null)} />
</Col>
<Col className={styles.HomeSocialIcons}>
<DevPost onClick={() => history.push(ExternalRoutes.DEVPOST, null)} />
Expand Down
2 changes: 1 addition & 1 deletion src/pages/MasterPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const Main: React.FC<Props> = () => {
exact
path="/redirect/emailus"
component={() => {
window.open('mailto:[email protected]');
window.open('https://forms.gle/fPnisqH8j5PgeLpH6');
history.goBack();
return null;
}}
Expand Down

0 comments on commit a835d35

Please sign in to comment.