From c76e5b29f3c29ecbe526a8dc3b82f3154aeff941 Mon Sep 17 00:00:00 2001 From: David McFadzean Date: Fri, 27 Oct 2023 13:25:41 -0400 Subject: [PATCH] Added support buttons to Footer --- frontend/src/Footer.js | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/frontend/src/Footer.js b/frontend/src/Footer.js index bcf725e..af4050a 100644 --- a/frontend/src/Footer.js +++ b/frontend/src/Footer.js @@ -1,17 +1,21 @@ import React from "react"; import { Button } from "@mui/material"; -function Footer() { - const handleDiscordButtonClick = () => { - const discordInviteLink = "https://discord.gg/RgZsQZqfp"; - - window.open(discordInviteLink, "_blank"); - }; +function openTab(url) { + window.open(url, "_blank"); +} +function Footer() { return ( );