added custom icons for companies, first version

This commit is contained in:
anovazzi1 2023-05-29 22:54:30 -03:00
commit 8b5a443880
18 changed files with 103 additions and 86 deletions

View file

@ -1,8 +1,9 @@
import React, { forwardRef } from "react";
import { ReactComponent as AirbyteSVG } from "./airbyte.svg";
export const AirbyteIcon = forwardRef<SVGSVGElement, React.PropsWithChildren<{}>>(
(props, ref) => {
return <AirbyteSVG ref={ref} {...props} />;
}
);
export const AirbyteIcon = forwardRef<
SVGSVGElement,
React.PropsWithChildren<{}>
>((props, ref) => {
return <AirbyteSVG ref={ref} {...props} />;
});

View file

@ -1,8 +1,9 @@
import React, { forwardRef } from "react";
import { ReactComponent as ChromaSVG } from "./chroma.svg";
export const ChromaIcon = forwardRef<SVGSVGElement, React.PropsWithChildren<{}>>(
(props, ref) => {
return <ChromaSVG ref={ref} {...props} />;
}
);
export const ChromaIcon = forwardRef<
SVGSVGElement,
React.PropsWithChildren<{}>
>((props, ref) => {
return <ChromaSVG ref={ref} {...props} />;
});

View file

@ -1,8 +1,9 @@
import React, { forwardRef } from "react";
import { ReactComponent as CohereSVG } from "./cohere.svg";
export const CohereIcon = forwardRef<SVGSVGElement, React.PropsWithChildren<{}>>(
(props, ref) => {
return <CohereSVG ref={ref} {...props} />;
}
);
export const CohereIcon = forwardRef<
SVGSVGElement,
React.PropsWithChildren<{}>
>((props, ref) => {
return <CohereSVG ref={ref} {...props} />;
});

View file

@ -1,8 +1,9 @@
import React, { forwardRef } from "react";
import { ReactComponent as EvernoteSVG } from "./evernote-icon.svg";
export const EvernoteIcon = forwardRef<SVGSVGElement, React.PropsWithChildren<{}>>(
(props, ref) => {
return <EvernoteSVG ref={ref} {...props} />;
}
);
export const EvernoteIcon = forwardRef<
SVGSVGElement,
React.PropsWithChildren<{}>
>((props, ref) => {
return <EvernoteSVG ref={ref} {...props} />;
});

View file

@ -1,8 +1,9 @@
import React, { forwardRef } from "react";
import { ReactComponent as GitBookSVG } from "./gitbook-svgrepo-com.svg";
export const GitBookIcon = forwardRef<SVGSVGElement, React.PropsWithChildren<{}>>(
(props, ref) => {
return <GitBookSVG ref={ref} {...props} />;
}
);
export const GitBookIcon = forwardRef<
SVGSVGElement,
React.PropsWithChildren<{}>
>((props, ref) => {
return <GitBookSVG ref={ref} {...props} />;
});

View file

@ -1,8 +1,9 @@
import React, { forwardRef } from "react";
import { ReactComponent as GoogleSVG } from "./google.svg";
export const GoogleIcon = forwardRef<SVGSVGElement, React.PropsWithChildren<{}>>(
(props, ref) => {
return <GoogleSVG ref={ref} {...props} />;
}
);
export const GoogleIcon = forwardRef<
SVGSVGElement,
React.PropsWithChildren<{}>
>((props, ref) => {
return <GoogleSVG ref={ref} {...props} />;
});

View file

@ -1,8 +1,9 @@
import React, { forwardRef } from "react";
import { ReactComponent as HugginFaceSVG } from "./hf-logo.svg";
export const HugginFaceIcon = forwardRef<SVGSVGElement, React.PropsWithChildren<{}>>(
(props, ref) => {
return <HugginFaceSVG ref={ref} {...props} />;
}
);
export const HugginFaceIcon = forwardRef<
SVGSVGElement,
React.PropsWithChildren<{}>
>((props, ref) => {
return <HugginFaceSVG ref={ref} {...props} />;
});

View file

@ -1,8 +1,9 @@
import React, { forwardRef } from "react";
import { ReactComponent as MidjorneySVG } from "./Midjourney_Emblem.svg";
export const MidjorneyIcon = forwardRef<SVGSVGElement, React.PropsWithChildren<{}>>(
(props, ref) => {
return <MidjorneySVG ref={ref} {...props} />;
}
);
export const MidjorneyIcon = forwardRef<
SVGSVGElement,
React.PropsWithChildren<{}>
>((props, ref) => {
return <MidjorneySVG ref={ref} {...props} />;
});

View file

@ -1,8 +1,9 @@
import React, { forwardRef } from "react";
import { ReactComponent as NotionSVG } from "./Notion-logo.svg";
export const NotionIcon = forwardRef<SVGSVGElement, React.PropsWithChildren<{}>>(
(props, ref) => {
return <NotionSVG ref={ref} {...props} />;
}
);
export const NotionIcon = forwardRef<
SVGSVGElement,
React.PropsWithChildren<{}>
>((props, ref) => {
return <NotionSVG ref={ref} {...props} />;
});

View file

@ -1,8 +1,9 @@
import React, { forwardRef } from "react";
import { ReactComponent as OpenAiSVG } from "./openAI.svg";
export const OpenAiIcon = forwardRef<SVGSVGElement, React.PropsWithChildren<{}>>(
(props, ref) => {
return <OpenAiSVG ref={ref} {...props} />;
}
);
export const OpenAiIcon = forwardRef<
SVGSVGElement,
React.PropsWithChildren<{}>
>((props, ref) => {
return <OpenAiSVG ref={ref} {...props} />;
});

View file

@ -1,8 +1,9 @@
import React, { forwardRef } from "react";
import { ReactComponent as PowerPointSVG } from "./PowerPoint.svg";
export const PowerPointIcon = forwardRef<SVGSVGElement, React.PropsWithChildren<{}>>(
(props, ref) => {
return <PowerPointSVG ref={ref} {...props} />;
}
);
export const PowerPointIcon = forwardRef<
SVGSVGElement,
React.PropsWithChildren<{}>
>((props, ref) => {
return <PowerPointSVG ref={ref} {...props} />;
});

View file

@ -1,8 +1,9 @@
import React, { forwardRef } from "react";
import { ReactComponent as QDrantSVG } from "./QDrant.svg";
export const QDrantIcon = forwardRef<SVGSVGElement, React.PropsWithChildren<{}>>(
(props, ref) => {
return <QDrantSVG ref={ref} {...props} />;
}
);
export const QDrantIcon = forwardRef<
SVGSVGElement,
React.PropsWithChildren<{}>
>((props, ref) => {
return <QDrantSVG ref={ref} {...props} />;
});

View file

@ -1,8 +1,9 @@
import React, { forwardRef } from "react";
import { ReactComponent as ReadTheDocsSVG } from "./readthedocsio-icon.svg";
export const ReadTheDocsIcon = forwardRef<SVGSVGElement, React.PropsWithChildren<{}>>(
(props, ref) => {
return <ReadTheDocsSVG ref={ref} {...props} />;
}
);
export const ReadTheDocsIcon = forwardRef<
SVGSVGElement,
React.PropsWithChildren<{}>
>((props, ref) => {
return <ReadTheDocsSVG ref={ref} {...props} />;
});

View file

@ -1,8 +1,9 @@
import React, { forwardRef } from "react";
import { ReactComponent as WeaviateSVG } from "./weaviate.svg";
export const WeaviateIcon = forwardRef<SVGSVGElement, React.PropsWithChildren<{}>>(
(props, ref) => {
return <WeaviateSVG ref={ref} {...props} />;
}
);
export const WeaviateIcon = forwardRef<
SVGSVGElement,
React.PropsWithChildren<{}>
>((props, ref) => {
return <WeaviateSVG ref={ref} {...props} />;
});

View file

@ -1,8 +1,9 @@
import React, { forwardRef } from "react";
import { ReactComponent as WikipediaSVG } from "./Wikipedia.svg";
export const WikipediaIcon = forwardRef<SVGSVGElement, React.PropsWithChildren<{}>>(
(props, ref) => {
return <WikipediaSVG ref={ref} {...props} />;
}
);
export const WikipediaIcon = forwardRef<
SVGSVGElement,
React.PropsWithChildren<{}>
>((props, ref) => {
return <WikipediaSVG ref={ref} {...props} />;
});

View file

@ -1,8 +1,9 @@
import React, { forwardRef } from "react";
import { ReactComponent as WolframSVG } from "./wolfram.svg";
export const WolframIcon = forwardRef<SVGSVGElement, React.PropsWithChildren<{}>>(
(props, ref) => {
return <WolframSVG ref={ref} {...props} />;
}
);
export const WolframIcon = forwardRef<
SVGSVGElement,
React.PropsWithChildren<{}>
>((props, ref) => {
return <WolframSVG ref={ref} {...props} />;
});

View file

@ -1,8 +1,9 @@
import React, { forwardRef } from "react";
import { ReactComponent as HackerNewsSVG } from "./Y_Combinator_logo.svg";
export const HackerNewsIcon = forwardRef<SVGSVGElement, React.PropsWithChildren<{}>>(
(props, ref) => {
return <HackerNewsSVG ref={ref} {...props} />;
}
);
export const HackerNewsIcon = forwardRef<
SVGSVGElement,
React.PropsWithChildren<{}>
>((props, ref) => {
return <HackerNewsSVG ref={ref} {...props} />;
});

View file

@ -20,7 +20,7 @@ import { Connection, Edge, Node, ReactFlowInstance, addEdge } from "reactflow";
import { FlowType, NodeType } from "./types/flow";
import { APITemplateType, TemplateVariableType } from "./types/api";
import _ from "lodash";
import { ChromaIcon} from "./icons/ChromaIcon";
import { ChromaIcon } from "./icons/ChromaIcon";
import { AirbyteIcon } from "./icons/Airbyte";
import { AzIcon } from "./icons/AzLogo";
import { BingIcon } from "./icons/Bing";