diff --git a/public/assetsStatic/Banner.png b/public/assetsStatic/Banner.png index be22d98..ea0dc90 100644 Binary files a/public/assetsStatic/Banner.png and b/public/assetsStatic/Banner.png differ diff --git a/public/installerBanner.bmp b/public/installerBanner.bmp index 2eeea61..462baf2 100644 Binary files a/public/installerBanner.bmp and b/public/installerBanner.bmp differ diff --git a/public/installerBanner.png b/public/installerBanner.png index 374cb28..b19dd9a 100644 Binary files a/public/installerBanner.png and b/public/installerBanner.png differ diff --git a/public/installerDialog.bmp b/public/installerDialog.bmp index 95a9b43..99d5091 100644 Binary files a/public/installerDialog.bmp and b/public/installerDialog.bmp differ diff --git a/public/installerDialog.png b/public/installerDialog.png index 562ca0b..2065fa7 100644 Binary files a/public/installerDialog.png and b/public/installerDialog.png differ diff --git a/public/installerSideBarImage.png b/public/installerSideBarImage.png index 65b5e8c..9736cd9 100644 Binary files a/public/installerSideBarImage.png and b/public/installerSideBarImage.png differ diff --git a/src/components/appBar/appBar.jsx b/src/components/appBar/appBar.jsx index 2a5010a..5acffd3 100644 --- a/src/components/appBar/appBar.jsx +++ b/src/components/appBar/appBar.jsx @@ -35,6 +35,9 @@ import { useDrawerStore } from "../../utils/store/drawer"; import { delServer } from "../../utils/storage/servers"; import { delUser } from "../../utils/storage/user"; import { MdiDelete } from "../icons/mdiDelete"; + +import logo from "../../assets/logo.png"; + export const AppBar = () => { const navigate = useNavigate(); @@ -100,7 +103,7 @@ export const AppBar = () => { if (display) { return ( { > - - - + +
+ -
-
diff --git a/src/components/appBar/appBar.module.scss b/src/components/appBar/appBar.module.scss index a9505e8..220ec68 100644 --- a/src/components/appBar/appBar.module.scss +++ b/src/components/appBar/appBar.module.scss @@ -5,7 +5,7 @@ backdrop-filter $transition-time-fast, box-shadow $transition-time-default !important; &.backdropVisible { - background-color: $clr-background-dark-opacity-0_8; + background-color: $clr-background-dark-opacity-0_8 !important; backdrop-filter: blur(30px); } &-avatar { @@ -14,6 +14,9 @@ fill: url(#clr-gradient-default) !important; } } + &-logo { + height: 1.8em !important; + } } .appLoading { diff --git a/src/components/carouselSlide/index.jsx b/src/components/carouselSlide/index.jsx index 0693c20..e76130e 100644 --- a/src/components/carouselSlide/index.jsx +++ b/src/components/carouselSlide/index.jsx @@ -11,8 +11,7 @@ import Chip from "@mui/material/Chip"; import Button from "@mui/material/Button"; import { yellow } from "@mui/material/colors"; - -import { ErrorBoundary } from "react-error-boundary"; +import ErrorBoundary from "../errorBoundary"; import CarouselSlideError from "../errors/carousel"; import { MdiStar } from "../icons/mdiStar"; diff --git a/src/components/errorBoundary/index.jsx b/src/components/errorBoundary/index.jsx new file mode 100644 index 0000000..6bedbe9 --- /dev/null +++ b/src/components/errorBoundary/index.jsx @@ -0,0 +1,32 @@ +/** @format */ +import React from "react"; +class ErrorBoundary extends React.Component { + constructor(props) { + super(props); + this.state = { hasError: false }; + } + + static getDerivedStateFromError(error) { + // Update state so the next render will show the fallback UI. + return { hasError: true }; + } + + componentDidCatch(error, info) { + // Example "componentStack": + // in ComponentThatThrows (created by App) + // in ErrorBoundary (created by App) + // in div (created by App) + // in App + logErrorToMyService(error, info.componentStack); + } + + render() { + if (this.state.hasError) { + // You can render any custom fallback UI + return this.props.fallback; + } + + return this.props.children; + } +} +export default ErrorBoundary;