Footer.tsx 756 B

12345678910111213141516171819202122232425262728293031
  1. import React from "react";
  2. import { X, Info } from "react-feather";
  3. const Footer = (props: {
  4. connecting: boolean;
  5. show: boolean;
  6. toggleHide: () => void;
  7. link: string;
  8. }) => {
  9. const { show, link } = props;
  10. if (!show)
  11. return (
  12. <Info className="footer-hidden" onClick={() => props.toggleHide()} />
  13. );
  14. return (
  15. <div className="w-100 footer">
  16. <X className="footer-hidden" onClick={() => props.toggleHide()} />
  17. If you find this place useful,{" "}
  18. <a className="mx-1" href={link}>
  19. <u>send some tokens</u>
  20. </a>
  21. and a
  22. <a className="mx-1" href="/forum/threads/257">
  23. <u>message with ideas</u>
  24. </a>{" "}
  25. to make it even better.
  26. </div>
  27. );
  28. };
  29. export default Footer;