From e8440d03da6c3211dd697fa341d445de7e1548b2 Mon Sep 17 00:00:00 2001 From: saakshiraut28 Date: Wed, 19 Jul 2023 22:42:54 +0530 Subject: [PATCH 1/4] Place the logo on the required position --- frontend/src/components/Footer.tsx | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/Footer.tsx b/frontend/src/components/Footer.tsx index 7ecf59a71..125fc9882 100644 --- a/frontend/src/components/Footer.tsx +++ b/frontend/src/components/Footer.tsx @@ -3,16 +3,19 @@ import { useTranslation } from "react-i18next"; //Project resources import { Newsletter } from "./Newsletter"; -import { useContext } from "react"; +import { useContext, useEffect } from "react"; import { AuthContext } from "../providers/AuthProvider"; import useToClipboard from "../util/to-clipboard.hooks"; export default function Footer() { + const AppStore = "https://images.clothingloop.org/150x/app_store_badge.png"; + const GooglePlay = "https://images.clothingloop.org/150x/google_play_badge.png" const { t } = useTranslation(); const { authUser } = useContext(AuthContext); const addCopyAttributes = useToClipboard(); const currentYear = new Date().getFullYear(); + return (