Clicking logo now navigates to threads (#1617)

This commit is contained in:
Svilen Petrov authored and GitHub committed 2026-04-02 21:45:34 +00:00
1 parent 915a0548c0
commit ae3ea3980d
1 file changed
+7 -3
+7 -3
View File
@@ -50,7 +50,7 @@ import {
type GitStatusResult,
} from "@t3tools/contracts";
import { useQueries } from "@tanstack/react-query";
import { useLocation, useNavigate, useParams } from "@tanstack/react-router";
import { Link, useLocation, useNavigate, useParams } from "@tanstack/react-router";
import {
type SidebarProjectSortOrder,
type SidebarThreadSortOrder,
@@ -1970,7 +1970,11 @@ export default function Sidebar() {
<Tooltip>
<TooltipTrigger
render={
<div className="flex min-w-0 flex-1 items-center gap-1 ml-1 cursor-pointer">
<Link
aria-label="Go to threads"
className="ml-1 flex min-w-0 flex-1 cursor-pointer items-center gap-1 rounded-md outline-hidden ring-ring transition-colors hover:text-foreground focus-visible:ring-2"
to="/"
>
<T3Wordmark />
<span className="truncate text-sm font-medium tracking-tight text-muted-foreground">
Code
@@ -1978,7 +1982,7 @@ export default function Sidebar() {
<span className="rounded-full bg-muted/50 px-1.5 py-0.5 text-[8px] font-medium uppercase tracking-[0.18em] text-muted-foreground/60">
{APP_STAGE_LABEL}
</span>
</div>
</Link>
}
/>
<TooltipPopup side="bottom" sideOffset={2}>