-
Notifications
You must be signed in to change notification settings - Fork 49
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 #567 from cofacts/mgp
feat: apply notification and footer banner to website pages
- Loading branch information
Showing
3 changed files
with
29 additions
and
8 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,6 +47,9 @@ 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', | ||
|
@@ -562,11 +565,11 @@ function ArticlePage() { | |
)} | ||
|
||
<Hidden smDown implementation="css"> | ||
<a href={LINE_URL}> | ||
<a href={MGP_URL}> | ||
<img | ||
className={classes.bannerImage} | ||
src="/[email protected]" | ||
alt={t`Add Cofacts as friend in LINE`} | ||
src="/mgp.jpg" | ||
alt="第四屆謠言惑眾獎投票中!" | ||
/> | ||
</a> | ||
</Hidden> | ||
|
@@ -620,11 +623,11 @@ function ArticlePage() { | |
</Box> | ||
</div> | ||
<Hidden mdUp implementation="css"> | ||
<a href={LINE_URL}> | ||
<a href={MGP_URL}> | ||
<img | ||
className={classes.bannerImage} | ||
src="/[email protected]" | ||
alt={t`Add Cofacts as friend in LINE`} | ||
src="/mgp.jpg" | ||
alt="第四屆謠言惑眾獎投票中!" | ||
style={{ marginBottom: 24 }} | ||
/> | ||
</a> | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.