diff --git a/src/App.jsx b/src/App.jsx index 0fccbe6..888171a 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -476,7 +476,7 @@ function App() { - + ); diff --git a/src/components/appBar/appBar.jsx b/src/components/appBar/appBar.jsx index d600813..cf035ce 100644 --- a/src/components/appBar/appBar.jsx +++ b/src/components/appBar/appBar.jsx @@ -123,6 +123,7 @@ export const AppBar = () => { style={{ backgroundColor: "transparent", paddingRight: "0 !important", + width: "fit-content", }} className={trigger ? "appBar backdropVisible" : "appBar"} elevation={0} @@ -130,133 +131,106 @@ export const AppBar = () => { - navigate(-1)} + disabled={!backButtonVisible} > - + arrow_back + + + + navigate("/search")}> + + search + + + navigate("/favorite")}> + + favorite + + + + {user.isSuccess && + (user.data.PrimaryImageTag == undefined ? ( + + + + ) : ( + + + + ))} + + + navigate("/settings")} + disabled > - - menu - - - navigate(-1)} - sx={{ - transition: "transform 0.2s", - transform: backButtonVisible - ? "scale(1)" - : "scale(0)", - transformOrigin: "left", - ml: 2, + + + settings + + + Settings + + navigate("/about")} + disabled + > + + + info + + + About + + + + + logout + + + Logout + + { + await delServer(); + await delUser(); + await relaunch(); }} > - - arrow_back - - - - - navigate("/search")}> - - search - - - navigate("/favorite")}> - - favorite - - - - {user.isSuccess && - (user.data.PrimaryImageTag == - undefined ? ( - - - - ) : ( - - - - ))} - - - navigate("/settings")} - disabled - > - - - settings - - - Settings - - navigate("/about")} - disabled - > - - - info - - - About - - - - - logout - - - Logout - - { - await delServer(); - await delUser(); - await relaunch(); - }} - > - - - delete - - - Remove Server - - - + + + delete + + + Remove Server + + ); diff --git a/src/components/appBar/appBar.module.scss b/src/components/appBar/appBar.module.scss index 220ec68..eccac5b 100644 --- a/src/components/appBar/appBar.module.scss +++ b/src/components/appBar/appBar.module.scss @@ -1,12 +1,15 @@ /** @format */ .appBar { + top: 8px !important; + right: 8px !important; + border-radius: 10000px; transition: background-color $transition-time-fast, backdrop-filter $transition-time-fast, box-shadow $transition-time-default !important; &.backdropVisible { - background-color: $clr-background-dark-opacity-0_8 !important; - backdrop-filter: blur(30px); + background-color: rgb(0 0 0 / 0.6) !important; + backdrop-filter: blur(10px); } &-avatar { background: $clr-gradient-dark; diff --git a/src/components/carousel/index.jsx b/src/components/carousel/index.jsx index 24c9cd7..76d21b3 100644 --- a/src/components/carousel/index.jsx +++ b/src/components/carousel/index.jsx @@ -40,7 +40,7 @@ const Carousel = ({ content, onChange }) => { }} disabled={currentSlide == 0} > - +