diff --git a/components/footer.tsx b/components/footer.tsx index be770f4..0e89005 100644 --- a/components/footer.tsx +++ b/components/footer.tsx @@ -1,25 +1,77 @@ import Link from "next/link"; +import {Fragment, useState} from "react"; +import {Dialog, Transition} from "@headlessui/react"; import {IoLogoGithub, IoLogoGitlab} from "react-icons/io5"; +import {SiBitcoin, SiEthereum, SiMonero} from "react-icons/si"; export const Footer = () => { + + const addresses: {[index: string]:string} = { + Bitcoin: "bitcoinAddress", + Ethereum: "ethereumAddress", + Monero: "moneroAddress", + }; + + const [isOpen, setIsOpen] = useState(false); + const [coin, setCoin] = useState("bitcoin"); + return ( -
+ <>
Home - Home 2 + About Home 3
-
-
+
+
+ {setIsOpen(true); setCoin("Bitcoin")}} className="hover:text-orange-300 hover:cursor-pointer"> + {setIsOpen(true); setCoin("Ethereum")}} className="hover:text-blue-400 hover:cursor-pointer"> + {setIsOpen(true); setCoin("Monero")}} className="hover:text-orange-600 hover:cursor-pointer">

Made with ❤️ by Nick Bland

-
+ + + setIsOpen(false)}> + +
+ +
+
+ + + {coin} +
+ {addresses[coin]} +
+
+
+
+
+
+
+ ); } \ No newline at end of file