Skip to content

Prompt as Code | GPT Image 2 / 2.5 提示词与案例库,530+ 个案例、20+ 套工业级模板与可复用 Skills,新增 2.5 同提示词对比专区,附完整提示词与生成记录,持续更新。

Use WeChat icon for community nav

freestylefly1cc101298560
diff --git a/src/main.jsx b/src/main.jsx
index 5dd1ab4..ed1385a 100644
--- a/src/main.jsx
+++ b/src/main.jsx
@@ -16,7 +16,6 @@ import {
LoaderCircle,
LogIn,
LogOut,
- MessageCircle,
PackageCheck,
RefreshCw,
ReceiptText,
@@ -991,6 +990,19 @@ function LanguageSwitch({ language, setLanguage }) {
);
}
+function WeChatIcon({ size = 17 }) {
+ return (
+ <svg className="wechatNavIcon" width={size} height={size} viewBox="0 0 24 24" aria-hidden="true" focusable="false">
+ <path
+ fill="currentColor"
+ fillRule="evenodd"
+ d="M9.15 4.25c-4.16 0-7.45 2.72-7.45 6.12 0 1.93 1.08 3.62 2.76 4.74l-.62 2.08a.44.44 0 0 0 .62.52l2.46-1.26c.7.18 1.45.28 2.23.28.4 0 .79-.03 1.17-.08a5.31 5.31 0 0 1-.37-1.96c0-3.2 3.18-5.78 7.1-5.78.27 0 .53.01.79.04-.75-2.7-4.26-4.7-8.69-4.7Zm-2.35 4.9a.93.93 0 1 0 0-1.86.93.93 0 0 0 0 1.86Zm4.74 0a.93.93 0 1 0 0-1.86.93.93 0 0 0 0 1.86Zm5.51 1.32c-3.24 0-5.86 2.05-5.86 4.58 0 2.54 2.62 4.59 5.86 4.59.58 0 1.13-.07 1.66-.19l1.88.96a.37.37 0 0 0 .52-.44l-.48-1.59c1.39-.85 2.27-2.04 2.27-3.33 0-2.53-2.62-4.58-5.85-4.58Zm-1.92 3.67a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm3.86 0a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z"
+ clipRule="evenodd"
+ />
+ </svg>
+ );
+}
+
function CommunityNavItem({ language }) {
const t = copy[language];
const [open, setOpen] = useState(false);
@@ -1011,7 +1023,7 @@ function CommunityNavItem({ language }) {
aria-label={t.navCommunity}
onClick={() => setOpen((current) => !current)}
>
- <MessageCircle size={17} />
+ <WeChatIcon />
{t.navCommunity}
</button>
<span className="communityPopover" role="dialog" aria-label={t.navCommunity}>