From 4721a7dd85efb69c37a1dc579f940ce4ce932ff2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Ja=C5=82oszy=C5=84ski?= Date: Thu, 5 Dec 2024 12:18:08 +0100 Subject: [PATCH 1/2] 183: Add separate footer for dashboard, adjust size of usermenu icon --- frontend/src/components/DashboardLayout.tsx | 4 +- .../dashboardFooter/DashboardFooter.tsx | 80 +++++++++++++++++++ .../DashboardFooterCentered.module.css | 23 ++++++ .../footer/FooterCentered.module.css | 5 +- frontend/src/components/navbar/UserMenu.tsx | 2 +- frontend/src/routes/user/page.tsx | 3 +- 6 files changed, 109 insertions(+), 8 deletions(-) create mode 100644 frontend/src/components/dashboardFooter/DashboardFooter.tsx create mode 100644 frontend/src/components/dashboardFooter/DashboardFooterCentered.module.css diff --git a/frontend/src/components/DashboardLayout.tsx b/frontend/src/components/DashboardLayout.tsx index ffa10287..46b47f26 100644 --- a/frontend/src/components/DashboardLayout.tsx +++ b/frontend/src/components/DashboardLayout.tsx @@ -1,7 +1,7 @@ import Sidebar from './sidebar/Sidebar.tsx'; import { Outlet } from 'react-router-dom'; import Navbar from './navbar/Navbar.tsx'; -import Footer from './footer/Footer.tsx'; +import DashboardFooter from './dashboardFooter/DashboardFooter.tsx'; import { Box, Flex } from '@mantine/core'; import { ScrollToTop } from '../components/ScrollToTop'; @@ -32,7 +32,7 @@ const DashboardLayout = () => { -