Skip to content

Commit

Permalink
Add more icons
Browse files Browse the repository at this point in the history
  • Loading branch information
ljupcovangelski committed Sep 8, 2023
1 parent 88f398b commit abd1ed1
Show file tree
Hide file tree
Showing 8 changed files with 337 additions and 0 deletions.
27 changes: 27 additions & 0 deletions frontend/control-center/src/components/ChannelAvatar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ import {ReactComponent as RedisAvatar} from 'assets/images/icons/redisLogo.svg';
import {ReactComponent as PostgresAvatar} from 'assets/images/icons/postgresLogo.svg';
import {ReactComponent as FeastAvatar} from 'assets/images/icons/feastLogo.svg';
import {ReactComponent as MetaAvatar} from 'assets/images/icons/meta.svg';
import {ReactComponent as OpenaiAvatar} from 'assets/images/icons/openai.svg';
import {ReactComponent as PineconeAvatar} from 'assets/images/icons/pinecone.svg';
import {ReactComponent as ChromaAvatar} from 'assets/images/icons/chroma.svg';
import {ReactComponent as MosaicAvatar} from 'assets/images/icons/mosaic.svg';
import {ReactComponent as WeaviateAvatar} from 'assets/images/icons/weaviate.svg';
import {ReactComponent as GmailAvatar} from 'assets/images/icons/gmail.svg';

import {Channel, Source} from 'model';
import styles from './index.module.scss';
Expand Down Expand Up @@ -105,6 +111,27 @@ export const getChannelAvatar = (source: string) => {
case Source.faissConnector:
case 'FAISS connector':
return <MetaAvatar />;
case Source.llama2:
case 'LLama2':
return <MetaAvatar />;
case Source.openaiConnector:
case 'OpenAI connector':
return <OpenaiAvatar />;
case Source.pineconeConnector:
case 'Pinecone':
return <PineconeAvatar />;
case Source.chroma:
case 'Chroma':
return <ChromaAvatar />;
case Source.mosaic:
case 'Mosaic':
return <MosaicAvatar />;
case Source.weaviate:
case 'Weaviate':
return <WeaviateAvatar />;
case Source.gmail:
case 'GMail connector':
return <GmailAvatar />;

default:
return <AiryAvatar />;
Expand Down
44 changes: 44 additions & 0 deletions lib/typescript/assets/images/icons/chroma.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions lib/typescript/assets/images/icons/gmail.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit abd1ed1

Please sign in to comment.