File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 11import { useDarkMode } from '@/hooks/useDarkMode' ;
2- import { MoonIcon , PencilRulerIcon , SunIcon } from 'lucide-react' ;
2+ import { BookOpenIcon , MoonIcon , PencilRulerIcon , SunIcon } from 'lucide-react' ;
33import { Link , useNavigate } from 'react-router-dom' ;
44import { Button } from './ui/button' ;
55
@@ -15,13 +15,22 @@ export function Nav() {
1515 </ Link >
1616
1717 < div className = 'flex items-center gap-2' >
18+ < Button
19+ onClick = { ( ) => ( window . location . href = 'https://docs.xch.dev' ) }
20+ variant = 'outline'
21+ className = 'cursor-pointer'
22+ >
23+ < BookOpenIcon className = 'w-4 h-4' />
24+ < span className = 'hidden md:inline' > Docs</ span >
25+ </ Button >
26+
1827 < Button
1928 onClick = { ( ) => navigate ( '/tools' ) }
2029 variant = 'outline'
2130 className = 'cursor-pointer'
2231 >
2332 < PencilRulerIcon className = 'w-4 h-4' />
24- Tools
33+ < span className = 'hidden md:inline' > Tools</ span >
2534 </ Button >
2635
2736 < Button onClick = { toggle } variant = 'outline' >
@@ -30,7 +39,7 @@ export function Nav() {
3039 ) : (
3140 < MoonIcon className = 'w-4 h-4' />
3241 ) }
33- Theme
42+ < span className = 'hidden md:inline' > Theme</ span >
3443 </ Button >
3544 </ div >
3645 </ div >
You can’t perform that action at this time.
0 commit comments