-
Notifications
You must be signed in to change notification settings - Fork 19
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 #463 from unitaryfund/footer-newsletter
Adding newsletter to footer
- Loading branch information
Showing
3 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
import React from 'react' | ||
import PropTypes from 'prop-types' | ||
import './SimpleReactFooter.sass' | ||
import MailchimpSubscribe from 'react-mailchimp-subscribe' | ||
import { FaDiscord, FaGithub, FaPinterestSquare, FaTwitterSquare } from 'react-icons/fa' | ||
import { ImFacebook2, ImInstagram, ImLinkedin, ImTwitch, ImYoutube } from 'react-icons/im' | ||
import logo from './../../images/unitary_fund_logo.png' | ||
|
@@ -42,6 +43,10 @@ class SimpleReactFooter extends React.Component { | |
|
||
<div> | ||
<div style={{ color: this.props.copyrightColor || 'grey' }} className='copyright'>Questions? Email: <a href='mailto:[email protected]'>[email protected]</a></div> | ||
<div> | ||
<label>Stay up to date on metriq.info!</label> | ||
<MailchimpSubscribe url='https://fund.us18.list-manage.com/subscribe/post?u=104796c75ced8350ebd01eebd&id=a2c9e5ac2a' /> | ||
</div> | ||
<div style={{ color: this.props.copyrightColor || 'grey' }} className='copyright'>All content on this website is openly licensed under <a href='https://creativecommons.org/licenses/by-sa/4.0/'>CC-BY-SA</a>. Members agree to the <a href='/MetriqTermsofUse' target='_blank'>Metriq Platform Terms of Use</a>.</div> | ||
<div style={{ color: this.props.copyrightColor || 'grey' }} className='copyright'>Copyright © {this.props.copyright}</div> | ||
</div> | ||
|