Skip to content

Commit

Permalink
feature: Privacy Policy footer link (#131)
Browse files Browse the repository at this point in the history
* privacy policy footer link

* rm unused interface
  • Loading branch information
gbarkhatov authored Sep 11, 2024
1 parent e8e815f commit 8e7ee8f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simple-staking",
"version": "0.2.43",
"version": "0.2.44",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
12 changes: 9 additions & 3 deletions src/app/components/Footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ const iconLinks = [
},
];

interface FooterProps {}

export const Footer: React.FC<FooterProps> = () => {
export const Footer: React.FC = () => {
return (
<div className="container mx-auto flex flex-col items-center">
<div className="w-24">
Expand All @@ -80,6 +78,14 @@ export const Footer: React.FC<FooterProps> = () => {
>
Terms of Use
</a>
<a
href="https://babylonlabs.io/privacy-policy"
target="_blank"
rel="noopener noreferrer"
className="transition-colors hover:text-primary"
>
Privacy Policy
</a>
</div>
<div className="flex flex-wrap justify-center gap-8 p-4 pt-2 md:flex-row md:p-6 md:pt-2">
{iconLinks.map(({ name, url, Icon }) => (
Expand Down

0 comments on commit 8e7ee8f

Please sign in to comment.