An open-source, faster Devin alternative
TypeScript
feat(web): use the docs logo in the sidebar; drop the "Console" label
Igor Zalutskie42df3fecf17
diff --git a/web/src/assets/logo.svg b/web/src/assets/logo.svgnew file mode 100644index 00000000..c05e33fe--- /dev/null+++ b/web/src/assets/logo.svg@@ -0,0 +1,8 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 180 32" fill="none">+ <rect width="32" height="32" rx="6" fill="#6366F1"/>+ <path d="M8 12L16 7L24 12V20L16 25L8 20V12Z" stroke="white" stroke-width="2" fill="none"/>+ <path d="M16 7V25" stroke="white" stroke-width="1.5" opacity="0.5"/>+ <path d="M8 12L24 20" stroke="white" stroke-width="1.5" opacity="0.5"/>+ <path d="M24 12L8 20" stroke="white" stroke-width="1.5" opacity="0.5"/>+ <text x="40" y="22" font-family="system-ui, sans-serif" font-size="16" font-weight="700" fill="#0F172A">OpenComputer</text>+</svg>diff --git a/web/src/components/app-shell.tsx b/web/src/components/app-shell.tsxindex cfd5cb1d..769f4292 100644--- a/web/src/components/app-shell.tsx+++ b/web/src/components/app-shell.tsx@@ -17,6 +17,7 @@ import {} from 'lucide-react'import { useAuth } from '@/hooks/useAuth'import { logout, getAutumnBilling } from '@/api/client'+import logo from '@/assets/logo.svg'import { Button } from '@/components/ui/button'import {Sheet,@@ -48,18 +49,8 @@ const NAV: NavItem[] = [function Brand() {return (- <Link to="/" className="flex items-center gap-2.5">- <span className="bg-foreground text-background flex size-8 items-center justify-center rounded-md font-mono text-xs font-bold">- oc- </span>- <span className="flex flex-col leading-none">- <span className="text-sm font-semibold tracking-tight">- OpenComputer- </span>- <span className="text-muted-foreground mt-0.5 font-mono text-[10px] tracking-wide">- Console- </span>- </span>+ <Link to="/" className="flex items-center" aria-label="OpenComputer">+ <img src={logo} alt="OpenComputer" className="h-7 w-auto" /></Link>)}