diff --git a/frontend/src/landing/public/ao-logo.png b/frontend/src/landing/public/ao-logo.png index b8b0a57e..a77e2fd2 100644 Binary files a/frontend/src/landing/public/ao-logo.png and b/frontend/src/landing/public/ao-logo.png differ diff --git a/frontend/src/renderer/assets/ao-logo.png b/frontend/src/renderer/assets/ao-logo.png index b8b0a57e..a7b47ff8 100644 Binary files a/frontend/src/renderer/assets/ao-logo.png and b/frontend/src/renderer/assets/ao-logo.png differ diff --git a/frontend/src/renderer/assets/dashboard-logo.png b/frontend/src/renderer/assets/dashboard-logo.png new file mode 100644 index 00000000..034eddfa Binary files /dev/null and b/frontend/src/renderer/assets/dashboard-logo.png differ diff --git a/frontend/src/renderer/assets/orchestrator-logo.png b/frontend/src/renderer/assets/orchestrator-logo.png new file mode 100644 index 00000000..2212ae9e Binary files /dev/null and b/frontend/src/renderer/assets/orchestrator-logo.png differ diff --git a/frontend/src/renderer/components/ShellTopbar.tsx b/frontend/src/renderer/components/ShellTopbar.tsx index 1041b7f6..79abe6db 100644 --- a/frontend/src/renderer/components/ShellTopbar.tsx +++ b/frontend/src/renderer/components/ShellTopbar.tsx @@ -1,10 +1,9 @@ import { useMutation, useQueryClient } from "@tanstack/react-query"; import { useNavigate, useParams } from "@tanstack/react-router"; -import { GitBranch, LayoutDashboard, PanelRightClose, PanelRightOpen, Square } from "lucide-react"; +import { GitBranch, PanelRightClose, PanelRightOpen, Square } from "lucide-react"; import { useState } from "react"; import { findProjectOrchestrator, - isOrchestratorSession, sessionIsActive, workerDisplayStatus, type WorkerDisplayStatus, @@ -14,7 +13,8 @@ import { useWorkspaceQuery, workspaceQueryKey } from "../hooks/useWorkspaceQuery import { apiClient, apiErrorMessage } from "../lib/api-client"; import { spawnOrchestrator } from "../lib/spawn-orchestrator"; import { useUiStore } from "../stores/ui-store"; -import { OrchestratorIcon } from "./icons"; +import dashboardLogo from "../assets/dashboard-logo.png"; +import orchestratorLogo from "../assets/orchestrator-logo.png"; import { cn } from "../lib/utils"; const isMac = typeof navigator !== "undefined" && /Mac|iPod|iPhone|iPad/.test(navigator.userAgent); @@ -57,7 +57,7 @@ export function ShellTopbar() { ? all.flatMap((workspace) => workspace.sessions).find((s) => s.id === params.sessionId) : undefined; const isSessionRoute = Boolean(params.sessionId); - const isOrchestrator = session ? isOrchestratorSession(session) : false; + const isOrchestrator = session?.kind === "orchestrator"; // Project in scope: the session's workspace wins over the route param so the // cross-project /sessions/$sessionId route still resolves a crumb. A // projectId that no longer resolves (stale route after the project was @@ -106,7 +106,7 @@ export function ShellTopbar() { · - @@ -139,20 +139,20 @@ export function ShellTopbar() { style={noDragStyle} type="button" > -