-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Footer component and integrate Font Awesome and React Icons
- Loading branch information
1 parent
72926fa
commit 5b4d307
Showing
5 changed files
with
66 additions
and
4 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
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import React from "react"; | ||
import { FaTwitter, FaGithub, FaLinkedin } from "react-icons/fa"; | ||
|
||
const Footer = (props) => { | ||
return ( | ||
<> | ||
<div className="mt-5"> | ||
<div className={`d-flex justify-content-around align-items-center bg-${props.mode} shadow-lg py-4`}> | ||
<h6> | ||
<i className={`fa text-${props.mode === 'light'? 'dark':'light'} fa-copyright me-2`}> Build with 💗 by Naman Khandelwal</i> | ||
</h6> | ||
<div className="d-flex justify-content-center"> | ||
<a href="https://twitter.com/NAMANKH31936926" className={`d-flex text-decoration-none text-${props.mode === 'light'? 'dark':'light'} align-items-center me-4`}> | ||
<FaTwitter className="me-1" /> | ||
</a> | ||
<a href="https://github.com/namankoolwal" className={`d-flex text-decoration-none text-${props.mode === 'light'? 'dark':'light'} align-items-center me-4`}> | ||
<FaGithub className="me-1" /> | ||
GitHub | ||
</a> | ||
<a href="https://www.linkedin.com/in/naman-khandelwal-568971189/" className={`d-flex text-decoration-none text-${props.mode === 'light'? 'dark':'light'} align-items-center`}> | ||
<FaLinkedin className="me-1" /> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
</> | ||
); | ||
}; | ||
|
||
export default Footer; |
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