index.jsx 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. import { BugReport, Coffee, GitHub } from "@mui/icons-material";
  2. import { Link } from "@mui/material";
  3. export const Footer = () => {
  4. const footerLineClassName = "flex flex-wrap max-sm:flex-col justify-center gap-2";
  5. const linkGroupClassName = "flex flex-wrap gap-2 justify-center";
  6. const linkClassName = "flex items-center gap-1 whitespace-nowrap";
  7. return (
  8. <div className="flex flex-col gap-4 mt-16 px-4 max-lg:pb-20 font-medium">
  9. <div className={footerLineClassName}>
  10. <span>Enjoying the tool?</span>
  11. <div className={linkGroupClassName}>
  12. <Link
  13. className={linkClassName}
  14. href="https://github.com/RomanObaraz/gb-cam-lab"
  15. target="_blank"
  16. rel="noopener noreferrer"
  17. aria-label="View the project's source code on GitHub"
  18. >
  19. View on GitHub <GitHub color="secondary" />
  20. </Link>
  21. <span>|</span>
  22. <Link
  23. className={linkClassName}
  24. href="https://ko-fi.com/romanobaraz"
  25. target="_blank"
  26. rel="noopener noreferrer"
  27. aria-label="Support this project by buying me a coffee"
  28. >
  29. Buy me a coffee <Coffee color="secondary" />
  30. </Link>
  31. </div>
  32. </div>
  33. <div className={footerLineClassName}>
  34. <span className="whitespace-nowrap">Found an issue?</span>
  35. <div className={linkGroupClassName}>
  36. <Link
  37. className={linkClassName}
  38. href="https://github.com/RomanObaraz/gb-cam-lab/issues/new"
  39. target="_blank"
  40. rel="noopener noreferrer"
  41. aria-label="Report an issue on GitHub"
  42. >
  43. Report it on GitHub <BugReport color="secondary" />
  44. </Link>
  45. <span>|</span>
  46. <Link
  47. className={linkClassName}
  48. href="mailto: [email protected]"
  49. target="_blank"
  50. rel="noopener noreferrer"
  51. aria-label="Email support for the project"
  52. >
  53. Email at <b>[email protected]</b> <BugReport color="secondary" />
  54. </Link>
  55. </div>
  56. </div>
  57. </div>
  58. );
  59. };