Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Mar 9, 2021. It is now read-only.

WIP: New Landing Page #106

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 51 additions & 28 deletions components/footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,50 +5,65 @@ import FaGithub from 'react-icons/lib/fa/github-alt';
import FaInstagram from 'react-icons/lib/fa/instagram';
import FaTwitter from 'react-icons/lib/fa/twitter';

import Subscribe from '../components/subscribe';

export default () => (
<footer>
<div className="footer__container">
<div className="footer__content">
<h3>Follow Us</h3>
<ul>
<li>
<a href="https://www.youtube.com/channel/UCZ2EgRcIyY8lcHz0c5-lOUw">
<FaYoutube size={20} />
</a>
</li>
<li>
<a href="https://www.facebook.com/coderplex">
<FaFacebook size={20} />
</a>
</li>
<li>
<a href="https://github.com/coderplex">
<FaGithub size={20} />
</a>
</li>
<li>
<a href="https://www.instagram.com/coderplex/">
<FaInstagram size={20} />
</a>
</li>
<li>
<a href="https://www.twitter.com/coderplex/"><FaTwitter size={20}/></a>
</li>
</ul>
<div className="left">
<Subscribe />
</div>
<div className="right">
<h3>Follow Us</h3>
<ul>
<li>
<a href="https://www.youtube.com/channel/UCZ2EgRcIyY8lcHz0c5-lOUw">
<FaYoutube size={20} />
</a>
</li>
<li>
<a href="https://www.facebook.com/coderplex">
<FaFacebook size={20} />
</a>
</li>
<li>
<a href="https://github.com/coderplex">
<FaGithub size={20} />
</a>
</li>
<li>
<a href="https://www.instagram.com/coderplex/">
<FaInstagram size={20} />
</a>
</li>
<li>
<a href="https://www.twitter.com/coderplex/">
<FaTwitter size={20} />
</a>
</li>
</ul>
</div>
</div>
</div>
<style jsx>{`
footer {
padding: 50px 0;
background: #c454df linear-gradient(to bottom, #ec53ab, #d354cf);
background: #222;
color: #fff;
}
.footer__container {
max-width: 1280px;
max-width: 1024px;
margin: 0 auto;
}
.footer__content {
text-align: center;
display: flex;
align-items: center;
}
.footer__content .left,
.footer__content .right {
flex: 1;
}
ul {
margin: 0;
Expand Down Expand Up @@ -79,6 +94,14 @@ export default () => (
background: #fff;
color: #314159;
}
@media (max-width: 1000px) {
.footer__content {
flex-direction: column;
}
.footer__content .right {
margin-top: 50px;
}
}
`}</style>
</footer>
);
4 changes: 4 additions & 0 deletions components/global-styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ export default () => (
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.container {
max-width: 1024px;
margin: 0 auto;
}
#nprogress {
pointer-events: none;
}
Expand Down
Loading