@@ -5,7 +5,7 @@ import { Menu, Monitor, Moon, Sun } from 'lucide-react'
55import { useMemo , useRef } from 'react'
66import { api } from '../../convex/_generated/api'
77import { gravatarUrl } from '../lib/gravatar'
8- import { getClawdHubSiteUrl , getOnlyCrabsSiteUrl , getSiteMode , getSiteName } from '../lib/site'
8+ import { getClawdHubSiteUrl , getSiteMode , getSiteName } from '../lib/site'
99import { applyTheme , useThemeMode } from '../lib/theme'
1010import { startThemeTransition } from '../lib/theme-transition'
1111import {
@@ -26,7 +26,6 @@ export default function Header() {
2626 const siteMode = getSiteMode ( )
2727 const siteName = useMemo ( ( ) => getSiteName ( siteMode ) , [ siteMode ] )
2828 const isSoulMode = siteMode === 'souls'
29- const onlyCrabsUrl = getOnlyCrabsSiteUrl ( )
3029 const clawdHubUrl = getClawdHubSiteUrl ( )
3130
3231 const avatar = me ?. image ?? ( me ?. email ? gravatarUrl ( me . email ) : undefined )
@@ -57,11 +56,7 @@ export default function Header() {
5756 < span className = "brand-name" > { siteName } </ span >
5857 </ Link >
5958 < nav className = "nav-links" >
60- { isSoulMode ? (
61- < a href = { clawdHubUrl } > ClawdHub</ a >
62- ) : (
63- < a href = { onlyCrabsUrl } > onlycrabs.ai</ a >
64- ) }
59+ { isSoulMode ? < a href = { clawdHubUrl } > ClawdHub</ a > : null }
6560 < Link
6661 to = { isSoulMode ? '/souls' : '/skills' }
6762 search = {
@@ -97,13 +92,11 @@ export default function Header() {
9792 </ button >
9893 </ DropdownMenuTrigger >
9994 < DropdownMenuContent align = "end" >
100- < DropdownMenuItem asChild >
101- { isSoulMode ? (
95+ { isSoulMode ? (
96+ < DropdownMenuItem asChild >
10297 < a href = { clawdHubUrl } > ClawdHub</ a >
103- ) : (
104- < a href = { onlyCrabsUrl } > onlycrabs.ai</ a >
105- ) }
106- </ DropdownMenuItem >
98+ </ DropdownMenuItem >
99+ ) : null }
107100 < DropdownMenuItem asChild >
108101 < Link
109102 to = { isSoulMode ? '/souls' : '/skills' }
0 commit comments