mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-06-21 19:15:36 +02:00
Reorder Header items.
Center Logo Move Settings/Jobs buttons to left side
This commit is contained in:
@ -9,6 +9,8 @@ export default function Header({children} : {children? : ReactElement<any, any>
|
||||
return (
|
||||
<Sheet className={"header"} sx={{position: "sticky !important", zIndex: 100}}>
|
||||
<Stack direction={"row"} spacing={2} sx={{width: "100%", alignItems: "center"}}>
|
||||
{children}
|
||||
<Box sx={{flexGrow: 1}} />
|
||||
<img src={"/blahaj.png"} style={{cursor: "grab", maxHeight: "100%"}}/>
|
||||
<Typography level={"h2"} sx={{
|
||||
background: "linear-gradient(110deg, var(--joy-palette-primary-solidBg), var(--joy-palette-success-400))",
|
||||
@ -17,10 +19,9 @@ export default function Header({children} : {children? : ReactElement<any, any>
|
||||
fontWeight: "bold",
|
||||
cursor: "default"
|
||||
}}>Tranga</Typography>
|
||||
<Box sx={{flexGrow: 1}} />
|
||||
<Link href={"https://github.com/C9Glax/tranga"} color={"neutral"} height={"min-content"} ><GitHub /> Server</Link>
|
||||
<Link href={"https://github.com/C9Glax/tranga-website"} color={"neutral"} height={"min-content"} ><GitHub /> Website</Link>
|
||||
<Box sx={{flexGrow: 1}} />
|
||||
{children}
|
||||
</Stack>
|
||||
</Sheet>
|
||||
);
|
||||
|
Reference in New Issue
Block a user