From 8f7ed22b5c7b800d51a01cc1740280f10a4efb82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Sworze=C5=84?= Date: Fri, 5 Apr 2024 16:46:57 +0200 Subject: [PATCH] [#545] change footer component --- .../molecules/CenteredBoxPageWrapper.tsx | 3 +- .../src/components/organisms/Drawer.tsx | 48 +++----- .../src/components/organisms/Footer.tsx | 112 +++++++++++++----- govtool/frontend/src/i18n/locales/en.ts | 4 +- govtool/frontend/src/pages/ChooseStakeKey.tsx | 25 ++-- .../src/pages/CreateGovernanceAction.tsx | 2 +- govtool/frontend/src/pages/Dashboard.tsx | 2 +- govtool/frontend/src/pages/DelegateTodRep.tsx | 2 +- .../frontend/src/pages/EditDRepMetadata.tsx | 2 +- .../frontend/src/pages/GovernanceActions.tsx | 8 +- govtool/frontend/src/pages/RegisterAsdRep.tsx | 2 +- govtool/frontend/src/pages/RetireAsDrep.tsx | 3 +- 12 files changed, 128 insertions(+), 85 deletions(-) diff --git a/govtool/frontend/src/components/molecules/CenteredBoxPageWrapper.tsx b/govtool/frontend/src/components/molecules/CenteredBoxPageWrapper.tsx index c9ad0c9b9..5c58fd3ef 100644 --- a/govtool/frontend/src/components/molecules/CenteredBoxPageWrapper.tsx +++ b/govtool/frontend/src/components/molecules/CenteredBoxPageWrapper.tsx @@ -3,7 +3,7 @@ import { Box, Link } from "@mui/material"; import { Background, Typography } from "@atoms"; import { ICONS } from "@consts"; -import { DashboardTopNav } from "@organisms"; +import { DashboardTopNav, Footer } from "@organisms"; import { useScreenDimension } from "@hooks"; import { useNavigate } from "react-router-dom"; import { theme } from "@/theme"; @@ -82,6 +82,7 @@ export const CenteredBoxPageWrapper: FC> = ({ +