Skip to content

Commit 4f91728

Browse files
bidahclaude
andcommitted
feat(web): add GitHub text label next to icon in header on desktop
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c68e017 commit 4f91728

1 file changed

Lines changed: 10 additions & 15 deletions

File tree

‎apps/web/components/nav-header.tsx‎

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1244,21 +1244,16 @@ export function NavHeader({
12441244
</Link>
12451245
</Button>
12461246

1247-
{/* GitHub Icon */}
1248-
<TooltipProvider>
1249-
<Tooltip delayDuration={0}>
1250-
<TooltipTrigger asChild>
1251-
<Button
1252-
variant="ghost"
1253-
size="icon"
1254-
onClick={() => window.open('https://github.com/react-native-vibe-code/react-native-vibe-code-sdk', '_blank')}
1255-
>
1256-
<GitHubLogoIcon className="h-5 w-5" />
1257-
</Button>
1258-
</TooltipTrigger>
1259-
<TooltipContent>GitHub</TooltipContent>
1260-
</Tooltip>
1261-
</TooltipProvider>
1247+
{/* GitHub Button */}
1248+
<Button
1249+
variant="ghost"
1250+
size="sm"
1251+
onClick={() => window.open('https://github.com/react-native-vibe-code/react-native-vibe-code-sdk', '_blank')}
1252+
className="flex items-center gap-2"
1253+
>
1254+
<GitHubLogoIcon className="h-5 w-5" />
1255+
<span className="hidden md:inline text-sm">GitHub</span>
1256+
</Button>
12621257

12631258
{session && (
12641259
<Sheet onOpenChange={(open) => open && handleProjectsSheetOpen()}>

0 commit comments

Comments
 (0)