add claude icon

This commit is contained in:
sijinhui 2024-06-24 23:41:46 +08:00
parent 10cc788a49
commit 10badbdd5e
2 changed files with 5 additions and 0 deletions

View File

@ -9,6 +9,7 @@ import ConfirmIcon from "../icons/confirm.svg";
import CancelIcon from "../icons/cancel.svg"; import CancelIcon from "../icons/cancel.svg";
import MaxIcon from "../icons/max.svg"; import MaxIcon from "../icons/max.svg";
import MinIcon from "../icons/min.svg"; import MinIcon from "../icons/min.svg";
import ClaudeInstantIcon from "../icons/Claude-Instant.svg";
import Locale from "../locales"; import Locale from "../locales";
@ -522,6 +523,9 @@ export function ModalSelector<T extends CheckGroupValueType>(props: {
if (value.startsWith("gemini")) { if (value.startsWith("gemini")) {
return <GoogleOutlined />; return <GoogleOutlined />;
} }
if (value.startsWith("claude")) {
return <ClaudeInstantIcon />;
}
return <></>; return <></>;
}; };

View File

@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1719242837820" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4271" xmlns:xlink="http://www.w3.org/1999/xlink" width="1em" height="1em"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#EADBBE" p-id="4272"></path><path d="M653.443072 286.424064h-97.913856l178.556928 451.150848H832L653.443072 286.424064z m-282.886144 0L192 737.575936h99.84512l36.514816-94.741504h186.805248l36.514816 94.741504h99.84512L472.968192 286.424064H370.556928z m-9.89696 272.622592l61.103104-158.55104 61.103104 158.55104H360.659968z" fill="#191919" p-id="4273"></path></svg>

After

Width:  |  Height:  |  Size: 766 B