diff --git a/src/components/appBar/appBar.jsx b/src/components/appBar/appBar.jsx index e206de6..6c6deb1 100644 --- a/src/components/appBar/appBar.jsx +++ b/src/components/appBar/appBar.jsx @@ -162,7 +162,8 @@ export const AppBar = () => { paddingRight: "0 !important", }} className={trigger ? "appBar backdropVisible" : "appBar"} - elevation={0} + elevation={trigger ? 4 : 0} + color="transparent" > { { : libraries.data.Items.map( (library) => ( - navigate( - `/library/${library.Id}`, - ) + component={NavLink} + to={ + "/library/" + + library.Id } + key={library.Id} + // onClick={() => + // navigate( + // `/library/${library.Id}`, + // ) + // } + className="appBar-library" > {getTypeIcon( diff --git a/src/components/appBar/appBar.module.scss b/src/components/appBar/appBar.module.scss index f6e166d..5dddf68 100644 --- a/src/components/appBar/appBar.module.scss +++ b/src/components/appBar/appBar.module.scss @@ -60,6 +60,12 @@ object-fit: contain; object-position: center; } + &-library { + transition: all 0.2s; + &.active { + background: $clr-gradient-default; + } + } } .appLoading {