@@ -18,6 +18,7 @@ import {
18
18
ContactsSVG ,
19
19
EventsSVG ,
20
20
GitHubNavBarSVG ,
21
+ GiudeSVG ,
21
22
IntegrationsSVG ,
22
23
MindsCloudSVG ,
23
24
MindsdbLogoSVG ,
@@ -37,15 +38,21 @@ const NavItem = ({
37
38
icon : Icon ,
38
39
url,
39
40
cta,
41
+ newTab,
40
42
} : {
41
43
title : string ;
42
44
description : string ;
43
45
icon : React . ReactNode ;
44
46
url : string ;
45
47
cta ?: string ;
48
+ newTab ?: boolean ;
46
49
} ) => {
47
50
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
+ >
49
56
< div > { Icon } </ div >
50
57
< span >
51
58
< p > { title } </ p >
@@ -64,6 +71,7 @@ const mindsCloudList = [
64
71
href : 'https://mdb.ai/' ,
65
72
Icon : < MindsCloudSVG /> ,
66
73
cta : 'Try now →' ,
74
+ newTab : true ,
67
75
} ,
68
76
] ;
69
77
const MindsCloudPopover = ( ) => {
@@ -96,6 +104,7 @@ const MindsCloudPopover = () => {
96
104
icon = { item . Icon }
97
105
url = { item . href }
98
106
cta = { item . cta }
107
+ newTab = { item ?. newTab }
99
108
/>
100
109
) ) }
101
110
</ div >
@@ -112,18 +121,21 @@ const opensourceNav = [
112
121
description : 'AI models, data sources, applications' ,
113
122
href : 'https://docs.mindsdb.com/integrations/integrations' ,
114
123
Icon : < IntegrationsSVG /> ,
124
+ newTab : true ,
115
125
} ,
116
126
{
117
127
name : 'Support' ,
118
128
description : 'Chat with experts on Slack' ,
119
129
href : 'https://mindsdb.com/joincommunity' ,
120
130
Icon : < SupportSVG /> ,
131
+ newTab : true ,
121
132
} ,
122
133
{
123
134
name : 'GitHub' ,
124
135
description : 'Get code, contribute, flag issues' ,
125
- href : 'https://docs.mindsdb. com/what-is- mindsdb' ,
136
+ href : 'https://github. com/mindsdb/ mindsdb' ,
126
137
Icon : < GitHubNavBarSVG /> ,
138
+ newTab : true ,
127
139
} ,
128
140
{
129
141
name : 'Community' ,
@@ -162,6 +174,7 @@ const OpenSourcePopover = () => {
162
174
description = { item . description }
163
175
icon = { item . Icon }
164
176
url = { item . href }
177
+ newTab = { item ?. newTab }
165
178
/>
166
179
) ) }
167
180
</ div >
@@ -174,18 +187,35 @@ const OpenSourcePopover = () => {
174
187
175
188
const connectList = [
176
189
{
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.' ,
179
193
href : 'https://mindsdb.com/enterprise' ,
180
194
Icon : < ConnectSVG /> ,
181
195
cta : 'Learn more →' ,
182
196
} ,
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
+ } ,
183
213
] ;
184
214
const ConnectPopover = ( ) => {
185
215
return (
186
216
< Popover className = "relative" >
187
217
< Popover . Button className = "flex items-center gap-x-1 text-sm font-semibold leading-6 text-white" >
188
- Connect with an Expert
218
+ Enterprise
189
219
< ChevronDownIcon className = "h-5 w-5 flex-none text-gray-400" aria-hidden = "true" />
190
220
</ Popover . Button >
191
221
@@ -370,7 +400,8 @@ export const Header = () => {
370
400
< Popover . Group className = "hidden lg:flex lg:gap-x-7" >
371
401
< Link
372
402
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"
374
405
>
375
406
Docs
376
407
</ Link >
@@ -488,6 +519,7 @@ export const Header = () => {
488
519
description = { item . description }
489
520
icon = { item . Icon }
490
521
url = { item . href }
522
+ newTab = { item . newTab }
491
523
/>
492
524
) ) }
493
525
</ Disclosure . Panel >
@@ -501,6 +533,7 @@ export const Header = () => {
501
533
< Link
502
534
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"
503
535
href = "https://docs.mindsdb.com/what-is-mindsdb"
536
+ target = "_blank"
504
537
>
505
538
Docs
506
539
</ Link >
0 commit comments