diff --git a/components/Navigation.tsx b/components/Navigation.tsx index aac6c8c..ec9b832 100644 --- a/components/Navigation.tsx +++ b/components/Navigation.tsx @@ -2,7 +2,6 @@ import { Avatar, Box, Button, - Center, CloseButton, Container, Drawer, @@ -70,26 +69,74 @@ export default function (props: { return ( <> + - + + + + + + About Us + + + Our Team + + + Support + + + Moderation + + + + + + + {data.hide ? null : data.id ? ( + + + {data.username} + await destroySession()} + size="md" + variant="ghost" + > + + ) : ( + + Log In + + )} + - - - - - - - - - - About Us - - - Our Team - - - Support - - - Moderation - - - - - {data.hide ? null : data.id ? ( - - - {data.id ? data.username : ""} - await destroySession()} - size="md" - style={{ display: data.id ? "block" : "none" }} - > - - - - - - - ) : ( - - Log In - - )}