diff --git a/web/src/components/AvatarBox.jsx b/web/src/components/AvatarBox.jsx
index 37c85d4e..d924a1c3 100644
--- a/web/src/components/AvatarBox.jsx
+++ b/web/src/components/AvatarBox.jsx
@@ -1,6 +1,8 @@
import * as React from "react";
import { Avatar, Box, styled } from "@mui/material";
+import { NavLink } from "react-router-dom";
import logo from "../img/ntfy-filled.svg";
+import routes from "./routes";
const AvatarBoxContainer = styled(Box)`
display: flex;
@@ -13,11 +15,15 @@ const AvatarBoxContainer = styled(Box)`
max-width: min(400px, 90dvw);
margin: auto;
`;
-const AvatarBox = (props) => (
-
-
- {props.children}
-
-);
+const AvatarBox = (props) => {
+ const avatar = ;
+ return (
+
+ {/* The logo links back to the app, unless login is forced (no app to go back to without signing in) */}
+ {config.require_login ? avatar : {avatar}}
+ {props.children}
+
+ );
+};
export default AvatarBox;