This repository was archived by the owner on Mar 25, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,11 +43,11 @@ export const baseOptions: BaseLayoutProps = {
4343 on : "nav" ,
4444 children : (
4545 < div className = "flex items-center gap-2 text-sm" >
46- < NavButton href = "https://agentuity.com/blog" > Blog</ NavButton >
47- < NavButton href = "https://app.agentuity.com" > Console</ NavButton >
48- < CommunityButton />
46+ < NavButton href = "https://agentuity.com/blog" target = "_blank" rel = "noopener noreferrer" > Blog</ NavButton >
47+ < NavButton href = "https://app.agentuity.com" target = "_blank" rel = "noopener noreferrer" > Console</ NavButton >
48+ < CommunityButton target = "_blank" rel = "noopener noreferrer" />
4949 < XButton className = "h-9" />
50- < NavButton href = "https://github.com/agentuity" className = "h-9" >
50+ < NavButton href = "https://github.com/agentuity" className = "h-9" target = "_blank" rel = "noopener noreferrer" >
5151 < Github className = "size-4" />
5252 </ NavButton >
5353 </ div >
Original file line number Diff line number Diff line change @@ -5,16 +5,22 @@ export interface NavButtonProps {
55 children : React . ReactNode ;
66 noBorder ?: boolean ;
77 className ?: string ;
8+ target ?: string ;
9+ rel ?: string ;
810}
911export function NavButton ( {
1012 href,
1113 children,
1214 className,
1315 noBorder = false ,
16+ target,
17+ rel,
1418} : NavButtonProps ) {
1519 return (
1620 < a
1721 href = { href }
22+ target = { target }
23+ rel = { rel }
1824 className = { cn (
1925 "inline-flex flex-row items-center gap-2 w-auto no-underline" ,
2026 noBorder
You can’t perform that action at this time.
0 commit comments