Skip to content

Commit

Permalink
add footer for PayPal and Github
Browse files Browse the repository at this point in the history
  • Loading branch information
egreer committed Aug 2, 2024
1 parent e02ff5e commit 90a683a
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 0 deletions.
13 changes: 13 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"dependencies": {
"@fortawesome/fontawesome-free": "^6.6.0",
"@fortawesome/fontawesome-svg-core": "^6.6.0",
"@fortawesome/free-brands-svg-icons": "^6.6.0",
"@fortawesome/free-solid-svg-icons": "^6.6.0",
"@fortawesome/react-fontawesome": "^0.2.2",
"bootstrap": "^5.3.3",
Expand Down
32 changes: 32 additions & 0 deletions src/components/Footert.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import { faGithub, faPaypal } from "@fortawesome/free-brands-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
export const Footer = () => {
return (
<footer className="bg-dark text-center text-white">
<hr></hr>
<div className="container p-4">
<section className="mb-4">
<a
className="btn btn-outline-light btn-floating m-1"
href="https://github.com/egreer/beermiser.jibbermaster.com"
role="button"
target="_blank"
rel="noreferrer"
>
<i className="fab fa-github"></i>
<FontAwesomeIcon icon={faGithub}></FontAwesomeIcon>
</a>
<a
className="btn btn-outline-light btn-floating m-1"
href="https://www.paypal.me/egreerme"
role="button"
target="_blank"
rel="noreferrer"
>
<FontAwesomeIcon icon={faPaypal}></FontAwesomeIcon>
</a>
</section>
</div>
</footer>
);
};
2 changes: 2 additions & 0 deletions src/pages/home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import {
import { Helmet } from "react-helmet-async";
import store from "store/dist/store.modern";
import { v4 as uuidv4 } from "uuid";
import { Footer } from "../../components/Footert";
import { Confirm } from "../../confirm/Confirm";
import { Brew, Size } from "../../models/brew";

Expand Down Expand Up @@ -369,6 +370,7 @@ export class Home extends Component {
triggerButtonParams={{ variant: "danger" }}
/>
</div>
<Footer></Footer>
</div>
);
}
Expand Down

0 comments on commit 90a683a

Please sign in to comment.