From 9f8d874822e137555ee8c3b1f6d8c58af2860acf Mon Sep 17 00:00:00 2001 From: glax Date: Tue, 17 Jun 2025 00:57:28 +0200 Subject: [PATCH] Fix Header Spacing and Badge Location if Backend can't be reached --- tranga-website/src/App.tsx | 2 +- tranga-website/src/Header.tsx | 20 ++++++++++++-------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/tranga-website/src/App.tsx b/tranga-website/src/App.tsx index 8d505c7..a2ff546 100644 --- a/tranga-website/src/App.tsx +++ b/tranga-website/src/App.tsx @@ -89,8 +89,8 @@ export default function App () {
- +
diff --git a/tranga-website/src/Header.tsx b/tranga-website/src/Header.tsx index 0ccd651..5b2649b 100644 --- a/tranga-website/src/Header.tsx +++ b/tranga-website/src/Header.tsx @@ -1,18 +1,22 @@ import Sheet from "@mui/joy/Sheet"; -import {Stack, Typography} from "@mui/joy"; +import {Box, Stack, Typography} from "@mui/joy"; import {ReactElement} from "react"; import './Header.css'; export default function Header({children} : {children? : ReactElement | ReactElement[] | undefined}) : ReactElement { + return ( - - Tranga + + + Tranga + {children}