Add new SVG assets for blog post, chat bot, and cloud docs
This commit is contained in:
parent
fdc583fc50
commit
49770622ab
4 changed files with 27 additions and 7 deletions
1
src/frontend/src/assets/undraw_blog_post_re_fy5x.svg
Normal file
1
src/frontend/src/assets/undraw_blog_post_re_fy5x.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 9.4 KiB |
1
src/frontend/src/assets/undraw_chat_bot_re_e2gj.svg
Normal file
1
src/frontend/src/assets/undraw_chat_bot_re_e2gj.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 10 KiB |
1
src/frontend/src/assets/undraw_cloud_docs_re_xjht.svg
Normal file
1
src/frontend/src/assets/undraw_cloud_docs_re_xjht.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 12 KiB |
|
|
@ -10,6 +10,13 @@ import { ReactComponent as ChatWithHistory } from "../../../../assets/undraw_mob
|
||||||
import { ReactComponent as Assistant } from "../../../../assets/undraw_team_collaboration_re_ow29.svg";
|
import { ReactComponent as Assistant } from "../../../../assets/undraw_team_collaboration_re_ow29.svg";
|
||||||
//@ts-ignore
|
//@ts-ignore
|
||||||
import { ReactComponent as APIRequest } from "../../../../assets/undraw_real_time_analytics_re_yliv.svg";
|
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 {
|
import {
|
||||||
Card,
|
Card,
|
||||||
CardContent,
|
CardContent,
|
||||||
|
|
@ -28,12 +35,12 @@ export default function UndrawCardComponent({
|
||||||
|
|
||||||
function selectImage() {
|
function selectImage() {
|
||||||
switch (flow.name) {
|
switch (flow.name) {
|
||||||
case "Data Ingestion":
|
case "Blog Writter":
|
||||||
return (
|
return (
|
||||||
<TransferFiles
|
<BlogPost
|
||||||
style={{
|
style={{
|
||||||
width: "80%",
|
width: "65%",
|
||||||
height: "80%",
|
height: "65%",
|
||||||
preserveAspectRatio: "xMidYMid meet",
|
preserveAspectRatio: "xMidYMid meet",
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|
@ -48,9 +55,9 @@ export default function UndrawCardComponent({
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
case "Chat with memory":
|
case "Chatbot with Memory":
|
||||||
return (
|
return (
|
||||||
<ChatWithHistory
|
<ChatBot
|
||||||
style={{
|
style={{
|
||||||
width: "70%",
|
width: "70%",
|
||||||
height: "70%",
|
height: "70%",
|
||||||
|
|
@ -68,7 +75,7 @@ export default function UndrawCardComponent({
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
case "Assistant":
|
case "Document QA":
|
||||||
return (
|
return (
|
||||||
<Assistant
|
<Assistant
|
||||||
style={{
|
style={{
|
||||||
|
|
@ -78,6 +85,16 @@ export default function UndrawCardComponent({
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
case "Prompt Chaining":
|
||||||
|
return (
|
||||||
|
<PromptChaining
|
||||||
|
style={{
|
||||||
|
width: "80%",
|
||||||
|
height: "80%",
|
||||||
|
preserveAspectRatio: "xMidYMid meet",
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
);
|
||||||
default:
|
default:
|
||||||
return (
|
return (
|
||||||
<TransferFiles
|
<TransferFiles
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue