diff --git a/frontend/src/components/DashboardLayout.tsx b/frontend/src/components/DashboardLayout.tsx
index ffa10287..c8bb395b 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 './footer/DashboardFooter';
import { Box, Flex } from '@mantine/core';
import { ScrollToTop } from '../components/ScrollToTop';
@@ -32,7 +32,7 @@ const DashboardLayout = () => {
-
+
diff --git a/frontend/src/components/footer/DashboardFooter.tsx b/frontend/src/components/footer/DashboardFooter.tsx
new file mode 100644
index 00000000..c882191c
--- /dev/null
+++ b/frontend/src/components/footer/DashboardFooter.tsx
@@ -0,0 +1,80 @@
+import { Anchor, Group, ActionIcon, rem } from '@mantine/core';
+import {
+ IconBrandGithub,
+ IconBrandTwitter,
+ IconBrandYoutube,
+} from '@tabler/icons-react';
+import classes from './FooterCentered.module.css';
+import { useNavigate } from 'react-router-dom';
+
+const links = [
+ { link: '/about', label: 'About' },
+ { link: '/dashboard', label: 'Dashboard' },
+];
+
+export default function DashboardFooterCentered() {
+ const navigate = useNavigate();
+ const items = links.map((link) => (
+ {
+ event.preventDefault();
+ navigate(link.link);
+ }}
+ size="sm"
+ >
+ {link.label}
+
+ ));
+
+ return (
+
+ );
+}
diff --git a/frontend/src/components/footer/FooterCentered.module.css b/frontend/src/components/footer/FooterCentered.module.css
index 3704363f..c2dc4191 100644
--- a/frontend/src/components/footer/FooterCentered.module.css
+++ b/frontend/src/components/footer/FooterCentered.module.css
@@ -1,8 +1,7 @@
.footer {
margin-top: auto;
/* This should be set to auto to keep footer at the bottom of the page*/
- border-top: rem(1px) solid
- light-dark(var(--mantine-color-gray-2), var(--mantine-color-dark-5));
+ border-top: rem(1px) solid light-dark(var(--mantine-color-gray-2), var(--mantine-color-dark-5));
}
.inner {
@@ -21,4 +20,4 @@
margin-top: var(--mantine-spacing-lg);
margin-bottom: var(--mantine-spacing-sm);
}
-}
+}
\ No newline at end of file
diff --git a/frontend/src/components/navbar/UserMenu.tsx b/frontend/src/components/navbar/UserMenu.tsx
index dd43ccb9..95352140 100644
--- a/frontend/src/components/navbar/UserMenu.tsx
+++ b/frontend/src/components/navbar/UserMenu.tsx
@@ -61,7 +61,7 @@ const UserMenu = () => {
navigate('/login');
};
- const size = 55;
+ const size = 45;
const resizedPicture = user
? changeDefaultGoogleProfilePictureSize(user.picture, size)
: '';
diff --git a/frontend/src/routes/user/page.tsx b/frontend/src/routes/user/page.tsx
index c4414c6d..a19b2f7d 100644
--- a/frontend/src/routes/user/page.tsx
+++ b/frontend/src/routes/user/page.tsx
@@ -69,8 +69,7 @@ const UserPage = () => {
style={{
display: 'flex',
justifyContent: 'space-between',
- alignItems: 'flex-start',
- margin: '50px 200px 0 200px',
+ alignItems: 'flex-start'
}}
>