-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #568 from cofacts/revert-567-mgp
Revert "feat: apply notification and footer banner to website pages"
- Loading branch information
Showing
3 changed files
with
8 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,9 +47,6 @@ import CooccurrenceSection, { | |
fragments as CooccurrenceSectionFragments, | ||
} from 'components/CooccurrenceSection'; | ||
|
||
const MGP_URL = | ||
'https://www.mygopen.com/p/award_22.html??utm_source=cofacts&utm_medium=footer'; | ||
|
||
const useStyles = makeStyles(theme => ({ | ||
root: { | ||
display: 'flex', | ||
|
@@ -565,11 +562,11 @@ function ArticlePage() { | |
)} | ||
|
||
<Hidden smDown implementation="css"> | ||
<a href={MGP_URL}> | ||
<a href={LINE_URL}> | ||
<img | ||
className={classes.bannerImage} | ||
src="/mgp.jpg" | ||
alt="第四屆謠言惑眾獎投票中!" | ||
src="/[email protected]" | ||
alt={t`Add Cofacts as friend in LINE`} | ||
/> | ||
</a> | ||
</Hidden> | ||
|
@@ -623,11 +620,11 @@ function ArticlePage() { | |
</Box> | ||
</div> | ||
<Hidden mdUp implementation="css"> | ||
<a href={MGP_URL}> | ||
<a href={LINE_URL}> | ||
<img | ||
className={classes.bannerImage} | ||
src="/mgp.jpg" | ||
alt="第四屆謠言惑眾獎投票中!" | ||
src="/[email protected]" | ||
alt={t`Add Cofacts as friend in LINE`} | ||
style={{ marginBottom: 24 }} | ||
/> | ||
</a> | ||
|
Binary file not shown.