Add new SVG assets for blog post, chat bot, and cloud docs

This commit is contained in:
anovazzi1 2024-04-01 17:12:18 -03:00
commit 49770622ab
4 changed files with 27 additions and 7 deletions

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 9.4 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 10 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 12 KiB

View file

@ -10,6 +10,13 @@ import { ReactComponent as ChatWithHistory } from "../../../../assets/undraw_mob
import { ReactComponent as Assistant } from "../../../../assets/undraw_team_collaboration_re_ow29.svg";
//@ts-ignore
import { ReactComponent as APIRequest } from "../../../../assets/undraw_real_time_analytics_re_yliv.svg";
//@ts-ignore
import {ReactComponent as PromptChaining} from "../../../../assets/undraw_cloud_docs_re_xjht.svg"
//@ts-ignore
import {ReactComponent as ChatBot} from "../../../../assets/undraw_chat_bot_re_e2gj.svg"
//@ts-ignore
import {ReactComponent as BlogPost} from "../../../../assets/undraw_blog_post_re_fy5x.svg"
import {
Card,
CardContent,
@ -28,12 +35,12 @@ export default function UndrawCardComponent({
function selectImage() {
switch (flow.name) {
case "Data Ingestion":
case "Blog Writter":
return (
<TransferFiles
<BlogPost
style={{
width: "80%",
height: "80%",
width: "65%",
height: "65%",
preserveAspectRatio: "xMidYMid meet",
}}
/>
@ -48,9 +55,9 @@ export default function UndrawCardComponent({
}}
/>
);
case "Chat with memory":
case "Chatbot with Memory":
return (
<ChatWithHistory
<ChatBot
style={{
width: "70%",
height: "70%",
@ -68,7 +75,7 @@ export default function UndrawCardComponent({
}}
/>
);
case "Assistant":
case "Document QA":
return (
<Assistant
style={{
@ -78,6 +85,16 @@ export default function UndrawCardComponent({
}}
/>
);
case "Prompt Chaining":
return (
<PromptChaining
style={{
width: "80%",
height: "80%",
preserveAspectRatio: "xMidYMid meet",
}}
/>
);
default:
return (
<TransferFiles