Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NavBar : Update solution section #18

Merged
merged 1 commit into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 24 additions & 17 deletions packages/blog-starter-kit/themes/enterprise/components/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import {
ContactSVG,
ContributeSVG,
CustomChatbotSVG,
DataEnrichmentSVG,
DocsNavSVG,
EnterpriseSVG,
EventsSVG,
Expand Down Expand Up @@ -91,41 +92,47 @@ const product2 = [
];
const sol1 = [
{
name: 'Continuous Fine-Tuning',
description: 'Improve AI models in real time',
href: 'https://docs.mindsdb.com/finetune/openai',
name: 'Automated Fine-Tuning',
description: 'Keep models up-to-date with your real-time enterprise data',
href: 'https://docs.mindsdb.com/use-cases/automated_finetuning',
Icon: <FineTuningSVG />,
},
{
name: 'AI Agents',
description: 'Enhance versatility with customizable “skills”',
href: 'https://docs.mindsdb.com/mindsdb_sql/agents/agent',
href: 'https://docs.mindsdb.com/use-cases/ai_agents',
Icon: <AIAgentsSVG />,
},
{
name: 'Semantic Search',
description: 'RAG and embeddings sync',
href: 'https://docs.mindsdb.com/sql/tutorials/rag',
name: 'AI-powered Data Retrieval',
description: 'Embeddings sync, RAG, semantic search and more',
href: 'https://docs.mindsdb.com/use-cases/ai-powered_data_retrieval',
Icon: <SemanticSearchSVG />,
},
{
name: 'Data Enrichment',
description: 'Automatically enhance your data using AI',
href: 'https://docs.mindsdb.com/use-cases/data_enrichment',
Icon: <DataEnrichmentSVG />,
},
];
const sol2 = [
{
name: 'Custom Chatbots',
description: 'Connect agents with chat interfaces',
href: 'https://docs.mindsdb.com/mindsdb_sql/agents/chatbot',
name: 'Predictive Analytics',
description: 'Detect anomalies and build time-series forecasts using just SQL',
href: 'https://docs.mindsdb.com/use-cases/predictive_analytics',
Icon: <CustomChatbotSVG />,
},
{
name: 'Forecasting',
description: 'Forecast trends in your data with enhanced SQL',
href: 'https://docs.mindsdb.com/sql/tutorials/house-sales-forecasting',
name: 'In-Database Machine Learning',
description: 'Deploy AI models at the data layer and inference with SQL',
href: 'https://docs.mindsdb.com/use-cases/in-database_ml',
Icon: <ForecastingSVG />,
},
{
name: 'In-database Text Processing',
description: 'Sentiment analysis, summarization, and more',
href: 'https://docs.mindsdb.com/nlp/sentiment-analysis-inside-mysql-with-openai',
name: 'AI Workflow Automation',
description: 'Automate AI pipelines with Jobs and Triggers',
href: 'https://docs.mindsdb.com/use-cases/ai_workflow_automation',
Icon: <TextProcessingSVG />,
},
];
Expand Down Expand Up @@ -237,7 +244,7 @@ const NavItem = ({
}) => {
return (
<a href={url} className=" flex flex-row gap-3 rounded-md px-4 py-3 hover:bg-green-50 ">
{Icon}
<div>{Icon}</div>
<span>
<p>{title}</p>
<p className=" text-sm text-gray-500">{description}</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,34 @@ export default class AIAgentsSVG extends React.Component {
render() {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
className={this.props.className}
>
<rect
x="2"
y="6"
width="20"
height="16"
rx="2"
stroke="#2563EB"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
/>
<path
d="M4 13.6724V14.1724H4.5V13.6724H4ZM4 16.3621H4.5V15.8621H4V16.3621ZM20 16.3621V15.8621H19.5V16.3621H20ZM20 13.6724H19.5V14.1724H20V13.6724ZM7 22.5H6.5C6.5 22.6894 6.607 22.8625 6.77639 22.9472C6.94579 23.0319 7.14849 23.0136 7.3 22.9L7 22.5ZM10.7333 19.7L11.0333 20.1L10.7333 19.7ZM3.5 9.5V13.6724H4.5V9.5H3.5ZM4 13.1724H3V14.1724H4V13.1724ZM1.5 14.6724V15.3621H2.5V14.6724H1.5ZM3 16.8621H4V15.8621H3V16.8621ZM3.5 16.3621V17.5H4.5V16.3621H3.5ZM20.5 17.5V16.3621H19.5V17.5H20.5ZM20 16.8621H21V15.8621H20V16.8621ZM22.5 15.3621V14.6724H21.5V15.3621H22.5ZM21 13.1724H20V14.1724H21V13.1724ZM20.5 13.6724V9.5H19.5V13.6724H20.5ZM17 6H7V7H17V6ZM11.3333 20H18V19H11.3333V20ZM6.5 20.5V22.5H7.5V20.5H6.5ZM7.3 22.9L11.0333 20.1L10.4333 19.3L6.7 22.1L7.3 22.9ZM6 20C6.27614 20 6.5 20.2239 6.5 20.5H7.5C7.5 19.6716 6.82843 19 6 19V20ZM22.5 14.6724C22.5 13.844 21.8284 13.1724 21 13.1724V14.1724C21.2761 14.1724 21.5 14.3963 21.5 14.6724H22.5ZM21 16.8621C21.8284 16.8621 22.5 16.1905 22.5 15.3621H21.5C21.5 15.6382 21.2761 15.8621 21 15.8621V16.8621ZM19.5 17.5C19.5 18.3284 18.8284 19 18 19V20C19.3807 20 20.5 18.8807 20.5 17.5H19.5ZM1.5 15.3621C1.5 16.1905 2.17157 16.8621 3 16.8621V15.8621C2.72386 15.8621 2.5 15.6382 2.5 15.3621H1.5ZM11.3333 19C11.0088 19 10.693 19.1053 10.4333 19.3L11.0333 20.1C11.1199 20.0351 11.2251 20 11.3333 20V19ZM3 13.1724C2.17157 13.1724 1.5 13.844 1.5 14.6724H2.5C2.5 14.3963 2.72386 14.1724 3 14.1724V13.1724ZM3.5 17.5C3.5 18.8807 4.61929 20 6 20V19C5.17157 19 4.5 18.3284 4.5 17.5H3.5ZM20.5 9.5C20.5 7.56701 18.933 6 17 6V7C18.3807 7 19.5 8.11929 19.5 9.5H20.5ZM4.5 9.5C4.5 8.11929 5.61929 7 7 7V6C5.067 6 3.5 7.567 3.5 9.5H4.5Z"
fill="#F97316"
d="M13 2C13 1.44772 12.5523 1 12 1C11.4477 1 11 1.44772 11 2L13 2ZM13 6L13 2L11 2L11 6L13 6Z"
fill="#2563EB"
/>
<path d="M4 11.5V16.5" stroke="#F97316" stroke-linecap="round" stroke-linejoin="round" />
<path d="M20 11.5V16.5" stroke="#F97316" stroke-linecap="round" stroke-linejoin="round" />
<path d="M12 4.5L12 6.5" stroke="#F97316" />
<circle cx="12" cy="3.5" r="1.5" stroke="#F97316" />
<circle cx="8.5" cy="11" r="1.5" stroke="#F97316" />
<circle cx="15.5" cy="11" r="1.5" stroke="#F97316" />
<circle cx="8" cy="12" r="2" fill="#2563EB" />
<circle cx="16" cy="12" r="2" fill="#2563EB" />
<path
d="M10 15C10.2851 15.5818 11.0729 16 12 16C12.9271 16 13.7149 15.5818 14 15"
stroke="#F97316"
d="M8 18H16"
stroke="#2563EB"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,26 @@ export default class CustomChatbotsSVG extends React.Component {
render() {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 40 40"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
className={this.props.className}
>
<path
d="M31.3752 15.0001H25.2501V10.625C25.2494 9.92911 24.9726 9.26171 24.4806 8.76956C23.9884 8.27756 23.321 8.0008 22.6251 8H8.62502C7.92911 8.00078 7.26171 8.27754 6.76956 8.76956C6.27756 9.26175 6.0008 9.92911 6 10.625V21.1251C6.00078 21.821 6.27754 22.4884 6.76956 22.9806C7.26175 23.4726 7.92911 23.7493 8.62502 23.7501H9.13772L10.6313 25.2437H10.6315C10.7955 25.4077 11.018 25.4999 11.25 25.4999C11.4821 25.4999 11.7045 25.4077 11.8686 25.2437L13.3624 23.7501H14.7501V28.1252C14.7508 28.8211 15.0276 29.4885 15.5196 29.9806C16.0118 30.4726 16.6792 30.7494 17.3751 30.7502H26.6377L28.1312 32.2437H28.1314C28.2955 32.4078 28.5179 32.5 28.75 32.5C28.982 32.5 29.2045 32.4078 29.3685 32.2437L30.8623 30.7502H31.375C32.0709 30.7494 32.7383 30.4726 33.2304 29.9806C33.7224 29.4884 33.9992 28.8211 34 28.1252V17.6251C33.9992 16.9292 33.7225 16.2618 33.2304 15.7696C32.7383 15.2776 32.0709 15.0009 31.375 15.0001H31.3752ZM13.0001 22.0001C12.768 22.0001 12.5456 22.0923 12.3815 22.2566L11.25 23.3878L10.1186 22.2566C9.95452 22.0923 9.73205 22.0001 9.50003 22.0001H8.62502C8.39299 22.0001 8.17033 21.9079 8.00627 21.7439C7.8422 21.5798 7.75001 21.3571 7.75001 21.1251V10.625C7.75001 10.393 7.8422 10.1703 8.00627 10.0063C8.17033 9.8422 8.39299 9.75001 8.62502 9.75001H22.6251C22.8572 9.75001 23.0798 9.8422 23.2439 10.0063C23.4079 10.1703 23.5001 10.393 23.5001 10.625V21.1251C23.5001 21.3571 23.4079 21.5798 23.2439 21.7439C23.0798 21.9079 22.8572 22.0001 22.6251 22.0001H13.0001ZM32.2502 28.1252C32.2502 28.3572 32.158 28.5798 31.9939 28.7439C31.8299 28.908 31.6072 29.0002 31.3752 29.0002H30.5002C30.2682 29.0002 30.0457 29.0923 29.8816 29.2566L28.7502 30.3879L27.6187 29.2564V29.2566C27.4547 29.0923 27.2322 29.0002 27.0002 29.0002H17.3751C17.1431 29.0002 16.9204 28.908 16.7563 28.7439C16.5923 28.5798 16.5001 28.3572 16.5001 28.1251V23.7501H22.6251C23.321 23.7493 23.9884 23.4726 24.4806 22.9806C24.9726 22.4884 25.2493 21.821 25.2501 21.1251V16.7501H31.3752C31.6072 16.7501 31.8299 16.8423 31.9939 17.0063C32.158 17.1704 32.2502 17.393 32.2502 17.6251V28.1252Z"
fill="#00A587"
/>
<path
d="M23.7583 25.7536C23.593 25.9175 23.4999 26.1401 23.4993 26.3728C23.4987 26.6054 23.5909 26.8286 23.7551 26.9931C23.9194 27.1577 24.1424 27.2501 24.375 27.2499C24.6065 27.2481 24.8282 27.1554 24.9918 26.9917C25.1555 26.828 25.2483 26.6063 25.25 26.3749C25.2499 26.1417 25.1571 25.9182 24.9918 25.7536C24.8245 25.5975 24.604 25.5108 24.375 25.5108C24.1461 25.5108 23.9256 25.5975 23.7582 25.7536L23.7583 25.7536Z"
fill="#084EE5"
/>
<path
d="M27.2536 25.7581C27.0902 25.9224 26.9988 26.1451 26.9991 26.3769C26.9997 26.6087 27.0923 26.831 27.2564 26.9947C27.4206 27.1583 27.6431 27.2501 27.8749 27.2499C28.1064 27.2482 28.3281 27.1554 28.4917 26.9917C28.6554 26.828 28.7482 26.6064 28.7499 26.3749C28.7492 26.1419 28.6564 25.9187 28.4917 25.7536C28.3234 25.5972 28.1017 25.5106 27.8718 25.5114C27.642 25.5122 27.421 25.6003 27.2537 25.7581L27.2536 25.7581Z"
fill="#084EE5"
/>
<path
d="M20.2581 25.7582C20.0932 25.9218 20.0003 26.1445 19.9999 26.3769C19.9995 26.6093 20.0915 26.8322 20.2555 26.9968C20.4196 27.1613 20.6425 27.2537 20.8749 27.2537C21.1073 27.2537 21.3302 27.1613 21.4943 26.9968C21.6583 26.8322 21.7503 26.6093 21.7499 26.3769C21.7495 26.1445 21.6566 25.9218 21.4917 25.7582C21.3253 25.6 21.1044 25.5119 20.8749 25.5119C20.6454 25.5119 20.4245 25.6 20.2581 25.7582H20.2581Z"
fill="#084EE5"
/>
<path
d="M15.625 13.25C15.9377 13.25 16.2265 13.4168 16.3828 13.6875C16.5391 13.9582 16.5391 14.2918 16.3828 14.5625C16.2265 14.8332 15.9377 15 15.625 15C15.393 15 15.1703 15.0922 15.0062 15.2563C14.8422 15.4203 14.75 15.643 14.75 15.875V16.75C14.75 17.0627 14.9168 17.3516 15.1875 17.5078C15.4582 17.6641 15.7918 17.6641 16.0625 17.5078C16.3332 17.3516 16.5 17.0627 16.5 16.75V16.6C17.108 16.385 17.6155 15.9539 17.9258 15.3887C18.2364 14.8234 18.3278 14.1639 18.183 13.5354C18.0381 12.9071 17.667 12.3541 17.1406 11.9819C16.6141 11.6096 15.9689 11.4439 15.3283 11.5168C14.6877 11.5899 14.0963 11.8959 13.6668 12.377C13.2373 12.858 13 13.4803 13 14.125C13 14.4377 13.1668 14.7266 13.4375 14.8828C13.7082 15.0391 14.0418 15.0391 14.3125 14.8828C14.5832 14.7266 14.75 14.4377 14.75 14.125C14.75 13.893 14.8422 13.6703 15.0063 13.5063C15.1703 13.3422 15.393 13.25 15.625 13.25L15.625 13.25Z"
fill="#084EE5"
d="M12 12H19M19 12L16 15M19 12L16 9"
stroke="#2563EB"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
/>
<path
d="M16.2421 19.9921C16.408 19.8298 16.5009 19.6073 16.5003 19.3753C16.4994 19.1423 16.4066 18.9191 16.2421 18.754C16.0738 18.5976 15.8521 18.511 15.6222 18.5118C15.3924 18.5126 15.1715 18.6007 15.0041 18.7585C14.842 18.923 14.751 19.1444 14.7504 19.3753C14.7496 19.6073 14.8414 19.8302 15.0055 19.9945C15.1695 20.1587 15.3922 20.2507 15.6244 20.2503C15.8564 20.2499 16.0789 20.157 16.2422 19.9921L16.2421 19.9921Z"
fill="#084EE5"
d="M19 6V5C19 3.89543 18.1046 3 17 3H7C5.89543 3 5 3.89543 5 5V19C5 20.1046 5.89543 21 7 21H17C18.1046 21 19 20.1046 19 19V18"
stroke="#2563EB"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
import React from 'react';

export default class DataEnrichmentSVG extends React.Component {
render() {
return (
<svg
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
className={this.props.className}
>
<g clip-path="url(#clip0_30_355)">
<g clip-path="url(#clip1_30_355)">
<path
d="M7 8.75C7.96652 8.75 8.75 7.96652 8.75 7C8.75 6.03347 7.96652 5.25 7 5.25C6.03347 5.25 5.25 6.03347 5.25 7C5.25 7.96652 6.03347 8.75 7 8.75Z"
stroke="#00A587"
stroke-width="0.875"
stroke-linecap="round"
stroke-linejoin="round"
/>
<path
d="M11.4464 6.06394L10.8061 4.51776L11.6667 3.49996L10.5 2.33329L9.48775 3.19835L7.90872 2.54897L7.5456 1.16663H6.40559L6.03698 2.56729L4.49424 3.2176L3.50001 2.33329L2.33334 3.49996L3.18114 4.54346L2.55063 6.09363L1.16667 6.41663V7.58329L2.56732 7.96567L3.21753 9.50812L2.33334 10.5L3.50001 11.6666L4.54485 10.8151L6.06492 11.4405L6.41667 12.8333H7.58334L7.93596 11.441L9.48215 10.8007C9.73986 10.9849 10.5 11.6666 10.5 11.6666L11.6667 10.5L10.8009 9.47878L11.4414 7.93213L12.8333 7.56999L12.8333 6.41663L11.4464 6.06394Z"
stroke="#00A587"
stroke-width="0.875"
stroke-linecap="round"
stroke-linejoin="round"
/>
</g>
<g clip-path="url(#clip2_30_355)">
<path
d="M17 18.75C17.9665 18.75 18.75 17.9665 18.75 17C18.75 16.0335 17.9665 15.25 17 15.25C16.0335 15.25 15.25 16.0335 15.25 17C15.25 17.9665 16.0335 18.75 17 18.75Z"
stroke="#00A587"
stroke-width="0.875"
stroke-linecap="round"
stroke-linejoin="round"
/>
<path
d="M21.4464 16.0639L20.8061 14.5178L21.6667 13.5L20.5 12.3333L19.4877 13.1983L17.9087 12.549L17.5456 11.1666H16.4056L16.037 12.5673L14.4942 13.2176L13.5 12.3333L12.3333 13.5L13.1811 14.5435L12.5506 16.0936L11.1667 16.4166V17.5833L12.5673 17.9657L13.2175 19.5081L12.3333 20.5L13.5 21.6666L14.5448 20.8151L16.0649 21.4405L16.4167 22.8333H17.5833L17.936 21.441L19.4821 20.8007C19.7399 20.9849 20.5 21.6666 20.5 21.6666L21.6667 20.5L20.8009 19.4788L21.4414 17.9321L22.8333 17.57L22.8333 16.4166L21.4464 16.0639Z"
stroke="#00A587"
stroke-width="0.875"
stroke-linecap="round"
stroke-linejoin="round"
/>
</g>
</g>
<defs>
<clipPath id="clip0_30_355">
<rect width="24" height="24" fill="white" />
</clipPath>
<clipPath id="clip1_30_355">
<rect width="14" height="14" fill="white" />
</clipPath>
<clipPath id="clip2_30_355">
<rect width="14" height="14" fill="white" transform="translate(10 10)" />
</clipPath>
</defs>
</svg>
);
}
}
Loading