Link the sidebar logo to the overview page

Make the Clusterio logo in the top bar a link to / so it lands on the overview/dashboard page.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
bbassieandClaude Opus 4.8 committed 2026-06-25 02:32:03 +00:00
1 parent ed84a476c6
commit d4394f1190
1 file changed
+4 -1
@@ -8,6 +8,7 @@ import ErrorPage from "./ErrorPage";
import ControlContext from "./ControlContext";
import ChangeLogModal from "./ChangeLogModal";
import AboutModal from "./AboutModal";
import Link from "./Link";
import { pages } from "../pages";
import { saveJson } from "../util/save_file";
@@ -216,7 +217,9 @@ export default function SiteLayout() {
onClick={toggleSidebar}
aria-label="Toggle navigation menu"
/>
<img src={logo} width={32} height={32} alt="Clusterio logo" />
<Link to="/" style={{ display: "flex", alignItems: "center" }}>
<img src={logo} width={32} height={32} alt="Clusterio logo" />
</Link>
<Flex vertical justify="center">
<Typography.Title level={4} style={{ margin: 0, lineHeight: 1.2 }}>Clusterio</Typography.Title>
<Tooltip title="View changelog" placement="right">