mirror of
https://github.com/eliasstepanik/core.git
synced 2026-01-11 00:08:27 +00:00
* Feat: clustering fact statements * Feat: cluster drift * Feat: add recall count and model to search * Feat: Github integration * Fix: clustering UI * Improve graph * Bump: new version --------- Co-authored-by: Manoj K <saimanoj58@gmail.com>
40 lines
837 B
TypeScript
40 lines
837 B
TypeScript
import {
|
|
RiDiscordFill,
|
|
RiGithubFill,
|
|
RiMailFill,
|
|
RiSlackFill,
|
|
} from "@remixicon/react";
|
|
import { LayoutGrid } from "lucide-react";
|
|
import { LinearIcon, SlackIcon } from "./icons";
|
|
import { Cursor } from "./icons/cursor";
|
|
import { Claude } from "./icons/claude";
|
|
import { Cline } from "./icons/cline";
|
|
import { VSCode } from "./icons/vscode";
|
|
|
|
export const ICON_MAPPING = {
|
|
slack: SlackIcon,
|
|
email: RiMailFill,
|
|
discord: RiDiscordFill,
|
|
github: RiGithubFill,
|
|
|
|
gmail: RiMailFill,
|
|
linear: LinearIcon,
|
|
cursor: Cursor,
|
|
claude: Claude,
|
|
cline: Cline,
|
|
vscode: VSCode,
|
|
|
|
// Default icon
|
|
integration: LayoutGrid,
|
|
};
|
|
|
|
export type IconType = keyof typeof ICON_MAPPING;
|
|
|
|
export function getIcon(icon: IconType) {
|
|
if (icon in ICON_MAPPING) {
|
|
return ICON_MAPPING[icon];
|
|
}
|
|
|
|
return ICON_MAPPING["integration"];
|
|
}
|