@@ -18,6 +18,7 @@ import {
1818 ContactsSVG ,
1919 EventsSVG ,
2020 GitHubNavBarSVG ,
21+ GiudeSVG ,
2122 IntegrationsSVG ,
2223 MindsCloudSVG ,
2324 MindsdbLogoSVG ,
@@ -37,15 +38,21 @@ const NavItem = ({
3738 icon : Icon ,
3839 url,
3940 cta,
41+ newTab,
4042} : {
4143 title : string ;
4244 description : string ;
4345 icon : React . ReactNode ;
4446 url : string ;
4547 cta ?: string ;
48+ newTab ?: boolean ;
4649} ) => {
4750 return (
48- < a href = { url } className = " flex flex-row gap-3 rounded-md px-4 py-3 hover:bg-green-50 " >
51+ < a
52+ href = { url }
53+ className = " flex flex-row gap-3 rounded-md px-4 py-3 hover:bg-green-50 "
54+ target = { newTab ? '_blank' : '_self' }
55+ >
4956 < div > { Icon } </ div >
5057 < span >
5158 < p > { title } </ p >
@@ -64,6 +71,7 @@ const mindsCloudList = [
6471 href : 'https://mdb.ai/' ,
6572 Icon : < MindsCloudSVG /> ,
6673 cta : 'Try now →' ,
74+ newTab : true ,
6775 } ,
6876] ;
6977const MindsCloudPopover = ( ) => {
@@ -96,6 +104,7 @@ const MindsCloudPopover = () => {
96104 icon = { item . Icon }
97105 url = { item . href }
98106 cta = { item . cta }
107+ newTab = { item ?. newTab }
99108 />
100109 ) ) }
101110 </ div >
@@ -112,18 +121,21 @@ const opensourceNav = [
112121 description : 'AI models, data sources, applications' ,
113122 href : 'https://docs.mindsdb.com/integrations/integrations' ,
114123 Icon : < IntegrationsSVG /> ,
124+ newTab : true ,
115125 } ,
116126 {
117127 name : 'Support' ,
118128 description : 'Chat with experts on Slack' ,
119129 href : 'https://mindsdb.com/joincommunity' ,
120130 Icon : < SupportSVG /> ,
131+ newTab : true ,
121132 } ,
122133 {
123134 name : 'GitHub' ,
124135 description : 'Get code, contribute, flag issues' ,
125- href : 'https://docs.mindsdb. com/what-is- mindsdb' ,
136+ href : 'https://github. com/mindsdb/ mindsdb' ,
126137 Icon : < GitHubNavBarSVG /> ,
138+ newTab : true ,
127139 } ,
128140 {
129141 name : 'Community' ,
@@ -162,6 +174,7 @@ const OpenSourcePopover = () => {
162174 description = { item . description }
163175 icon = { item . Icon }
164176 url = { item . href }
177+ newTab = { item ?. newTab }
165178 />
166179 ) ) }
167180 </ div >
@@ -174,18 +187,35 @@ const OpenSourcePopover = () => {
174187
175188const connectList = [
176189 {
177- name : 'Connect with an Expert' ,
178- description : "Let's explore AI together and solve your most pressing business challenges." ,
190+ name : 'Enterprise Offerings' ,
191+ description :
192+ 'Fully featured, fully supported, fully on prem. Explore how custom AI can benefit your business.' ,
179193 href : 'https://mindsdb.com/enterprise' ,
180194 Icon : < ConnectSVG /> ,
181195 cta : 'Learn more →' ,
182196 } ,
197+ {
198+ name : "CTO's Guide to AI Agents" ,
199+ description :
200+ 'Deep dive into the world of AI agents, covering everything from fundamental concepts to advanced applications.' ,
201+ href : 'https://mindsdb.com/the-cto-guide-to-buiding-ai-agents' ,
202+ Icon : < GiudeSVG /> ,
203+ cta : 'Download Now →' ,
204+ } ,
205+ {
206+ name : "CTO's Guide to RAG" ,
207+ description :
208+ 'Read more about how RAG works, and why this new approach to retrieving data makes a chatbot’s answers more accurate, relevant, and secure.' ,
209+ href : 'https://mindsdb.com/mindsdb-the-ctos-guide-to-rag-guide' ,
210+ Icon : < GiudeSVG /> ,
211+ cta : 'Download Now →' ,
212+ } ,
183213] ;
184214const ConnectPopover = ( ) => {
185215 return (
186216 < Popover className = "relative" >
187217 < Popover . Button className = "flex items-center gap-x-1 text-sm font-semibold leading-6 text-white" >
188- Connect with an Expert
218+ Enterprise
189219 < ChevronDownIcon className = "h-5 w-5 flex-none text-gray-400" aria-hidden = "true" />
190220 </ Popover . Button >
191221
@@ -370,7 +400,8 @@ export const Header = () => {
370400 < Popover . Group className = "hidden lg:flex lg:gap-x-7" >
371401 < Link
372402 className = "flex items-center gap-x-1 text-sm font-semibold leading-6 text-white"
373- href = "https://docs.mindsdb.com/what-is-mindsdb"
403+ href = "http://docs.mindsdb.com/"
404+ target = "_blank"
374405 >
375406 Docs
376407 </ Link >
@@ -488,6 +519,7 @@ export const Header = () => {
488519 description = { item . description }
489520 icon = { item . Icon }
490521 url = { item . href }
522+ newTab = { item . newTab }
491523 />
492524 ) ) }
493525 </ Disclosure . Panel >
@@ -501,6 +533,7 @@ export const Header = () => {
501533 < Link
502534 className = "flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50"
503535 href = "https://docs.mindsdb.com/what-is-mindsdb"
536+ target = "_blank"
504537 >
505538 Docs
506539 </ Link >
0 commit comments