mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-02 16:16:39 +08:00
change icon
This commit is contained in:
parent
beeb4ce78e
commit
0bc1146658
@ -10,6 +10,7 @@ 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 ClaudeInstantIcon from "../icons/Claude-Instant.svg";
|
||||||
|
import MoonShot from "../icons/Moonshot.svg";
|
||||||
|
|
||||||
import Locale from "../locales";
|
import Locale from "../locales";
|
||||||
|
|
||||||
@ -36,7 +37,6 @@ import {
|
|||||||
import { OpenAIOutlined, GoogleOutlined } from "@ant-design/icons";
|
import { OpenAIOutlined, GoogleOutlined } from "@ant-design/icons";
|
||||||
// 自定义图标
|
// 自定义图标
|
||||||
import Icon from "@ant-design/icons";
|
import Icon from "@ant-design/icons";
|
||||||
import MoonShot from "@/app/icons/Moonshot.svg";
|
|
||||||
|
|
||||||
const { Meta } = AntCard;
|
const { Meta } = AntCard;
|
||||||
import { CheckCard } from "@ant-design/pro-components";
|
import { CheckCard } from "@ant-design/pro-components";
|
||||||
@ -615,7 +615,7 @@ export function ModalSelector<T extends CheckGroupValueType>(props: {
|
|||||||
return <GoogleOutlined />;
|
return <GoogleOutlined />;
|
||||||
}
|
}
|
||||||
if (value.startsWith("claude")) {
|
if (value.startsWith("claude")) {
|
||||||
return <ClaudeInstantIcon />;
|
return <Icon component={ClaudeInstantIcon} />;
|
||||||
}
|
}
|
||||||
if (value.startsWith("moon")) {
|
if (value.startsWith("moon")) {
|
||||||
return <Icon component={MoonShot} />;
|
return <Icon component={MoonShot} />;
|
||||||
|
Loading…
Reference in New Issue
Block a user