The 1 beside the workspace switcher again, in a square hover the switcher's height
1 file+5−30/1 viewed
| 56 | 56 | ||
| 57 | 57 | import { CommandPalette, type PaletteCommand, usePaletteShortcut } from "./command-palette"; | |
| 58 | 58 | import { StatusDot, useSiteStatus } from "./footer"; | |
| 59 | − | import { Logo } from "./logo"; | |
| 59 | + | import { Logo, Mark } from "./logo"; | |
| 60 | 60 | import { Avatar, notACredential } from "./ui"; | |
| 61 | 61 | import { Skeleton } from "./ui/skeleton"; | |
| 62 | 62 | import { | |
| 1178 | 1178 | <div className="flex h-16 shrink-0 items-center gap-1 border-b border-line pr-2 pl-2.5"> | |
| 1179 | 1179 | {user ? ( | |
| 1180 | 1180 | <> | |
| 1181 | − | <Link to="/" aria-label="g1t home" className="flex h-9 shrink-0 items-center rounded-md px-2 transition-colors hover:bg-raised"> | |
| 1182 | − | <Logo className="text-[1.25rem]" /> | |
| 1181 | + | {/* The 1 alone beside the workspace: a square hover the height of the | |
| 1182 | + | switcher, the mark as tall as the workspace avatar. */} | |
| 1183 | + | <Link to="/" aria-label="g1t home" className="flex size-9 shrink-0 items-center justify-center rounded-md transition-colors hover:bg-raised"> | |
| 1184 | + | <Mark tight className="h-5 w-auto" /> | |
| 1183 | 1185 | </Link> | |
| 1184 | 1186 | <span className="shrink-0 text-line-strong" aria-hidden="true"> | |
| 1185 | 1187 | / |