feat: add X-Code partner provider preset for Claude, Codex and OpenCode

- Add X-Code provider presets with x-code.cn endpoint
- Fix ANTHROPIC_API_KEY to ANTHROPIC_AUTH_TOKEN in Claude preset
- Register x-code icon SVG in icon index
- Add partnerPromotion.x-code i18n keys for zh, en, ja locales
This commit is contained in:
Jason
2026-03-09 00:06:48 +08:00
parent 9084e1ecc8
commit 5014c2a744
8 changed files with 90 additions and 3 deletions
+16
View File
@@ -589,6 +589,22 @@ export const providerPresets: ProviderPreset[] = [
icon: "micu",
iconColor: "#000000",
},
{
name: "X-Code",
websiteUrl: "https://www.x-code.cn",
apiKeyUrl: "https://www.x-code.cn",
settingsConfig: {
env: {
ANTHROPIC_BASE_URL: "https://www.x-code.cn",
ANTHROPIC_AUTH_TOKEN: "",
},
},
category: "third_party",
isPartner: true, // 合作伙伴
partnerPromotionKey: "x-code", // 促销信息 i18n key
icon: "x-code",
iconColor: "#000000",
},
{
name: "OpenRouter",
websiteUrl: "https://openrouter.ai",
+17
View File
@@ -314,6 +314,23 @@ requires_openai_auth = true`,
icon: "micu",
iconColor: "#000000",
},
{
name: "X-Code",
websiteUrl: "https://www.x-code.cn",
apiKeyUrl: "https://www.x-code.cn",
auth: generateThirdPartyAuth(""),
config: generateThirdPartyConfig(
"x-code",
"https://www.x-code.cn/v1",
"gpt-5.4",
),
endpointCandidates: ["https://www.x-code.cn/v1"],
category: "third_party",
isPartner: true, // 合作伙伴
partnerPromotionKey: "x-code", // 促销信息 i18n key
icon: "x-code",
iconColor: "#000000",
},
{
name: "OpenRouter",
websiteUrl: "https://openrouter.ai",
+29
View File
@@ -1275,6 +1275,35 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
},
},
},
{
name: "X-Code",
websiteUrl: "https://www.x-code.cn",
apiKeyUrl: "https://www.x-code.cn",
settingsConfig: {
npm: "@ai-sdk/anthropic",
name: "X-Code",
options: {
baseURL: "https://www.x-code.cn/v1",
apiKey: "",
},
models: {
"claude-opus-4-6": { name: "Claude Opus 4.6" },
"claude-sonnet-4-6": { name: "Claude Sonnet 4.6" },
},
},
category: "third_party",
isPartner: true,
partnerPromotionKey: "x-code",
icon: "x-code",
iconColor: "#000000",
templateValues: {
apiKey: {
label: "API Key",
placeholder: "",
editorValue: "",
},
},
},
{
name: "AWS Bedrock",
websiteUrl: "https://aws.amazon.com/bedrock/",
+2 -1
View File
@@ -707,7 +707,8 @@
"sssaicode": "SSAI Code offers an exclusive bonus for CC Switch users — $10 extra credit on every top-up!",
"siliconflow": "SiliconFlow is an official partner of CC Switch",
"ucloud": "UCloud offers an exclusive bonus for CC Switch users — register via this link to get ¥5 platform trial credit!",
"micu": "Micu is an official partner of CC Switch"
"micu": "Micu is an official partner of CC Switch",
"x-code": "XCodeAPI offers a special bonus for CC Switch users — register via this link and get 10% extra credit on your first order (contact admin to claim)"
},
"parameterConfig": "Parameter Config - {{name}} *",
"mainModel": "Main Model (optional)",
+2 -1
View File
@@ -707,7 +707,8 @@
"sssaicode": "SSAI Code は CC Switch ユーザー向けに特別ボーナスを提供しています。チャージごとに $10 の追加クレジットがもらえます!",
"siliconflow": "SiliconFlow は CC Switch の公式パートナーです",
"ucloud": "UCloud は CC Switch ユーザー向けに特別ボーナスを提供しています。このリンクから登録すると、5元のプラットフォーム体験クレジットがもらえます!",
"micu": "Micu は CC Switch の公式パートナーです"
"micu": "Micu は CC Switch の公式パートナーです",
"x-code": "XCodeAPI は CC Switch ユーザー向けに特別ボーナスを提供しています。このリンクから登録すると、初回注文で 10% の追加クレジットがもらえます(管理者に連絡して受け取り)"
},
"parameterConfig": "パラメーター設定 - {{name}} *",
"mainModel": "メインモデル(任意)",
+2 -1
View File
@@ -707,7 +707,8 @@
"sssaicode": "SSAI Code 为 CC Switch 的用户提供了特殊优惠,每次充值赠予额外 $10 额度!",
"siliconflow": "硅基流动是 CC Switch 的官方合作伙伴",
"ucloud": "优云智算为CC Switch 的用户提供了特殊优惠,通过此链接注册,可以获得五元平台体验金!",
"micu": "Micu 是 CC Switch 的官方合作伙伴"
"micu": "Micu 是 CC Switch 的官方合作伙伴",
"x-code": "XCodeAPI 为CC Switch 的用户提供特别福利,使用此链接注册后首单加赠10%的额度(联系站长领取)"
},
"parameterConfig": "参数配置 - {{name}} *",
"mainModel": "主模型 (可选)",
+1
View File
@@ -60,6 +60,7 @@ export const icons: Record<string, string> = {
aihubmix: `<svg height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><title>AiHubMix</title><path d="M12 24c6.627 0 12-5.373 12-12S18.627 0 12 0 0 5.373 0 12s5.373 12 12 12z" fill="#006FFB"></path><path clip-rule="evenodd" d="M11.24 8.393c.095-.644.302-1.47.624-2.48L12 5.496l.136.417c.322 1.01.53 1.836.624 2.48.071.472.071 1.072 0 1.8-.072.731-.072 1.336 0 1.814.106.7.426 1.281.96 1.744a2.795 2.795 0 001.89.708 2.78 2.78 0 002.034-.84c.56-.559.842-1.234.848-2.024.003-.7.075-1.472.216-2.316.069-.422.14-.775.21-1.06l.095-.384.168.356a7.862 7.862 0 01.76 3.244v.16a7.84 7.84 0 01-.624 3.089 7.952 7.952 0 01-4.228 4.228 7.841 7.841 0 01-3.089.623 7.84 7.84 0 01-3.089-.623 7.952 7.952 0 01-4.228-4.228 7.84 7.84 0 01-.623-3.09v-.159a7.862 7.862 0 01.759-3.244l.169-.356.093.385c.072.284.143.637.211 1.059.141.844.213 1.616.216 2.316.006.79.29 1.465.848 2.024.563.56 1.241.84 2.035.84.715 0 1.345-.236 1.889-.708a2.79 2.79 0 00.96-1.744c.073-.478.073-1.083 0-1.814-.071-.728-.071-1.328 0-1.8zm.76 9.694c1.097 0 2.125-.26 3.085-.778a6.379 6.379 0 001.77-1.399c.063-.07-.01-.178-.101-.153-.37.1-.75.15-1.144.15a4.236 4.236 0 01-2.18-.59 4.253 4.253 0 01-1.35-1.233.099.099 0 00-.16 0 4.253 4.253 0 01-1.35 1.232 4.236 4.236 0 01-2.18.591c-.393 0-.774-.05-1.143-.15-.091-.025-.165.083-.102.153a6.38 6.38 0 001.77 1.399c.96.518 1.988.778 3.085.778z" fill="#fff" fill-rule="evenodd"></path></svg>`,
opencode: `<svg height="1em" width="1em" style="flex:none;line-height:1" viewBox="0 0 240 300" xmlns="http://www.w3.org/2000/svg"><title>OpenCode</title><g clip-path="url(#clip0_1401_86274)"><mask id="mask0_1401_86274" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="240" height="300"><path d="M240 0H0V300H240V0Z" fill="white"/></mask><g mask="url(#mask0_1401_86274)"><path d="M180 240H60V120H180V240Z" fill="#CFCECD"/><path d="M180 60H60V240H180V60ZM240 300H0V0H240V300Z" fill="#211E1E"/></g></g><defs><clipPath id="clip0_1401_86274"><rect width="240" height="300" fill="white"/></clipPath></defs></svg>`,
siliconflow: `<svg height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><title>SiliconCloud</title><path clip-rule="evenodd" d="M22.956 6.521H12.522c-.577 0-1.044.468-1.044 1.044v3.13c0 .577-.466 1.044-1.043 1.044H1.044c-.577 0-1.044.467-1.044 1.044v4.174C0 17.533.467 18 1.044 18h10.434c.577 0 1.044-.467 1.044-1.043v-3.13c0-.578.466-1.044 1.043-1.044h9.391c.577 0 1.044-.467 1.044-1.044V7.565c0-.576-.467-1.044-1.044-1.044z" fill="#6E29F6" fill-rule="evenodd"></path></svg>`,
"x-code": `<svg xmlns="http://www.w3.org/2000/svg" height="1em" width="1em" style="flex:none;line-height:1" viewBox="0 0 32 32"><title>X-Code</title><path d="M0 0h32v32H0Z" fill="#E9F5FC"/><path d="M16.5 7.625c.77-.008 1.55-.015 2.34-.023 2.64.487 3.55 1.285 5.16 3.398v1.32h-8v-1c-.99.495-.99.495-2 .995-.47 2.356-.47 2.356-.63 5.063l-.22 2.785c-.05.71-.1 1.42-.15 2.152h2l.99-3h8c-1.88 3.875-1.88 3.875-3 5-1.96.203-1.96.203-4.38.25-.79.026-1.58.052-2.4.078-2.22-.328-2.22-.328-3.98-1.531-1.63-2.37-1.63-3.94-1.61-6.797.008-.866.015-1.733.024-2.625.38-2.375.38-2.375 1.62-4.172 2.22-1.53 3.58-1.612 5.94-1.586Z" fill="#243FC5"/><path d="M17 1c1.44-.081 2.87-.14 4.31-.188 1.2-.052 1.2-.052 2.43-.105C26 1 26 1 27.79 2.387 29 4 29 4 29 6h-8V4c-1.32.33-2.64.66-4 1V1Z" fill="#219DF4"/><path d="M14 1c-1.96 2.29-3.92 4.58-7 8-.37 2.328-.7 4.662-1 7H2C1.1 8.539 1.1 8.539 3.13 5.066 6.49 1.414 8.9.272 14 1Z" fill="#1448D6"/><path d="M27 20h4c.47 2.647.4 4.37-1.05 6.668-2.18 2.478-3.82 4.133-7.18 4.71H17v-4l3.31-.688C24.57 24.797 24.91 23.778 27 20Z" fill="#0E49D9"/><path d="M2 19c4.53 3.678 8.39 7.41 12 12H8.01c-.42-.447-.84-.895-1.28-1.355C2.46 25.016 2.46 25.016 1 19Z" fill="#0B89F0"/><path d="M11 9v5l-2-1c-.36-2.313-.36-2.313-.31-5 .004-.887.008-1.773.01-2.688C9 3 9 3 11 1v8Z" fill="#1939C2"/><path d="M2 7h4v9H2V7Z" fill="#059CF3"/><path d="M17 27h6l2 4h-8v-4Z" fill="#0773EE"/><path d="M17 1h8l-2 4h-6V1Z" fill="#0CB7F7"/><path d="M16 19h8l-2 4h-7l1-4Z" fill="#2F4AC8"/><path d="M7 4l3 1-4 5-4-1 5-5Z" fill="#053FD7"/></svg>`,
micu: `<svg xmlns="http://www.w3.org/2000/svg" height="1em" width="1em" style="flex:none;line-height:1" viewBox="0 0 241.39 240.6"><title>Micu</title><defs><style>.mc-1{fill:#068cde}.mc-2{fill:#fff}.mc-3{fill:#02a6ff}</style></defs><g><path class="mc-1" d="M226.14,157.63c-3.62,0-7.24,0-10.95,0v-24.96c5.2,0,10.17,0,15.13,0,5.55-.01,8.52-4.01,10.18-8.16,1.34-3.37,1.36-7.51-1.34-11.1-3.16-4.2-7.23-5.72-12.25-5.63-3.87.07-7.74.01-11.66.01v-24.79c6.56-.43,12.93.45,19.3-1.13.4-.42.85-1.05,1.44-1.49,4.61-3.47,6.48-9.22,4.67-14.51-1.63-4.76-6.67-8.03-12.22-7.99-4.37.03-8.74,0-13.42,0,0-5.79.1-11.16-.04-16.54-.08-3.23-1.09-6.23-3.22-8.79-7.6-9.17-17.84-6.02-28.13-6.29-.39-.23-.63-1.14-.45-2.35.73-4.72.37-9.44-.24-14.13-.51-3.95-5.79-9.24-9.1-9.56-10.42-1-15.88,5.21-15.83,14.89.02,3.54,0,7.08,0,10.92h-24.44c-.76-1.03-.45-2.13-.42-3.19.15-5.2.71-10.35-1.11-15.5-2.15-6.08-11.68-9.27-17.05-5.79-5.27,3.41-7.22,7.95-6.99,13.99.14,3.56.53,7.22-.44,10.6h-23.98c-.22-.38-.37-.51-.37-.66-.05-4.56,0-9.12-.14-13.68-.15-5.18-4.72-10.76-9.31-11.57-8.81-1.55-15.64,4.23-15.64,13.24,0,4.11,0,8.21,0,12.61-4.92,0-9.32.08-13.72-.02-10.41-.22-18.81,7.79-17.84,18.57.39,4.32.06,8.7.06,13.34-5.17,0-9.9-.05-14.63.01-5.36.07-11.08,5.57-11.83,10.1-1.39,8.44,6.23,15.25,14.55,14.78,3.86-.22,7.74-.04,11.75-.04v24.92c-4.45,0-8.67-.07-12.89.02-3.2.07-6.5.62-8.75,2.93-3.6,3.69-6.1,8.11-4.12,13.5,2.13,5.8,6.42,8.43,12.98,8.43,4.21,0,8.42,0,12.83,0v24.95c-3.48,0-6.79-.12-10.08.03-3.74.18-7.43.36-10.78,2.69-4.11,2.87-6.48,8.21-5.32,12.83,1.1,4.36,7.17,9.83,11.59,9.41,4.82-.46,9.72-.1,14.69-.1,0,5.18.51,9.88-.1,14.44-1.36,10,8.64,18.06,17.22,17.5,4.62-.3,9.28-.05,14.15-.05,1.26,9.11-3.28,19.95,9.5,25.9,10.27,1.43,15.74-3.33,15.75-15.14,0-3.45,0-6.9,0-10.55h24.94c0,3.39,0,6.6,0,9.8,0,3.81.26,7.41,2.73,10.76,3.09,4.2,8.64,6.68,14,4.87,3.62-1.22,8.31-5.43,8.3-10.7,0-4.85,0-9.7,0-14.7h24.92c0,3.98-.14,7.7.03,11.41.22,4.83,1.4,9.35,5.68,12.32,5.16,3.59,12.81,2.96,17.28-2.41,3.93-7.43,2.05-14.57,2.39-21.58,5.71,0,11.1.03,16.49-.02,1.98-.02,4.05-.06,5.8-1.09,6.78-3.99,9.8-9.94,9.36-17.81-.23-4.18-.04-8.39-.04-12.56,8.59-1.68,18.23,2.96,24.73-6.3.08-.31.31-1.1.5-1.9.97-4.19,1.82-8.06-1.59-12.01-3.49-4.05-7.66-5.05-12.52-5.04ZM168.3,160.54c0,3.41-1.48,4.58-4.69,4.49-4.41-.12-8.82-.09-13.23-.05-3.15.03-4.43-1.39-4.41-4.56.06-16.85.02-33.69-.03-50.54,0-.99.44-2.13-.73-3.15-4.49,13.97-8.94,27.8-13.44,41.79h-21.8c-4.39-13.78-8.8-27.62-13.55-42.54-.15,1.94-.29,2.89-.29,3.84-.01,16.68-.08,33.36.04,50.04.03,3.7-1.18,5.38-5.05,5.16-5.51-.31-11.08.38-16.22-.44-1.24-1.59-1.21-2.95-1.21-4.26.07-27.3.18-54.6.22-81.9,0-2.16.89-3.46,2.97-3.48,9.9-.06,19.8,0,29.7.05.31,0,.63.19,1.39.44,4.22,14.29,8.51,28.79,12.8,43.3.29.05.58.1.87.15,4.53-14.59,9.07-29.17,13.66-43.95,10.35,0,20.48-.03,30.62.03,1.76.01,2.38,1.37,2.42,2.92.08,2.57.1,5.14.1,7.71-.06,24.98-.16,49.95-.15,74.93Z"/><rect class="mc-3" x="48.86" y="48.46" width="143.67" height="143.67" rx="10.57" ry="10.57"/><path class="mc-2" d="M165.55,75.28c-10.14-.06-20.27-.03-30.62-.03-4.59,14.78-9.12,29.36-13.66,43.95-.29-.05-.58-.1-.87-.15-4.29-14.51-8.58-29.01-12.8-43.3-.77-.25-1.08-.44-1.39-.44-9.9-.04-19.8-.1-29.7-.05-2.08.01-2.96,1.32-2.97,3.48-.04,27.3-.15,54.6-.22,81.9,0,1.31-.03,2.67,1.21,4.26,5.13.82,10.7.13,16.22.44,3.87.22,5.07-1.46,5.05-5.16-.12-16.68-.06-33.36-.04-50.04,0-.95.14-1.9.29-3.84,4.75,14.91,9.16,28.76,13.55,42.54h21.8c4.5-13.99,8.94-27.82,13.44-41.79,1.18,1.01.73,2.16.73,3.15.04,16.85.09,33.69.03,50.54-.01,3.17,1.26,4.59,4.41,4.56,4.41-.04,8.82-.07,13.23.05,3.21.09,4.69-1.08,4.69-4.49-.01-24.98.09-49.95.15-74.93,0-2.57-.02-5.14-.1-7.71-.05-1.55-.67-2.91-2.42-2.92Z"/></g></svg>`,
ucloud: `<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="1em" width="1em" style="flex:none;line-height:1" viewBox="0 0 172.11 172.11"><title>UCloud</title><defs><style>.cls-1{fill:url(#uc-g56)}.cls-2{fill:url(#uc-g37)}.cls-3{fill:url(#uc-g37-2)}.cls-4{fill:url(#uc-g37-3)}.cls-5{fill:url(#uc-g37-4)}.cls-6{fill:url(#uc-g37-5)}.cls-7{fill:url(#uc-g37-6)}.cls-8{fill:url(#uc-g37-7)}.cls-9{fill:#fff}.cls-10{fill:url(#uc-g38)}</style><linearGradient id="uc-g56" x1="86.06" y1="-6.73" x2="86.06" y2="185.53" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#32303a"/><stop offset=".36" stop-color="#34323d"/><stop offset=".62" stop-color="#3a3946"/><stop offset=".85" stop-color="#444556"/><stop offset="1" stop-color="#4e5065"/></linearGradient><linearGradient id="uc-g37" x1="143.96" y1="73.06" x2="71.52" y2="34.1" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#4043ff"/><stop offset="1" stop-color="#f0f5fa"/></linearGradient><linearGradient id="uc-g37-2" x1="104.88" y1="118.84" x2="71.68" y2="66.44" xlink:href="#uc-g37"/><linearGradient id="uc-g37-3" x1="95.68" y1="72.87" x2="33.68" y2="76.43" xlink:href="#uc-g37"/><linearGradient id="uc-g37-4" x1="70" y1="130.18" x2="46.68" y2="73.38" xlink:href="#uc-g37"/><linearGradient id="uc-g37-5" x1="107.49" y1="106.07" x2="147.27" y2="159.57" xlink:href="#uc-g37"/><linearGradient id="uc-g37-6" x1="106.69" y1="50.6" x2="142.65" y2="131.51" xlink:href="#uc-g37"/><linearGradient id="uc-g37-7" x1="111.35" y1="152.42" x2="82.55" y2="89.87" xlink:href="#uc-g37"/><linearGradient id="uc-g38" x1="64.73" y1="89.4" x2="83.39" y2="89.4" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#5b5dfe"/><stop offset=".18" stop-color="#5b5dfe" stop-opacity=".99"/><stop offset=".31" stop-color="#5b5dfe" stop-opacity=".95"/><stop offset=".43" stop-color="#5b5cfe" stop-opacity=".89"/><stop offset=".54" stop-color="#5b5cfe" stop-opacity=".8"/><stop offset=".64" stop-color="#5b5bfe" stop-opacity=".68"/><stop offset=".74" stop-color="#5b5afe" stop-opacity=".54"/><stop offset=".83" stop-color="#5a59ff" stop-opacity=".38"/><stop offset=".92" stop-color="#5a58ff" stop-opacity=".19"/><stop offset="1" stop-color="#5a57ff" stop-opacity="0"/></linearGradient></defs><rect class="cls-1" width="172.11" height="172.11" rx="46.24"/><polygon class="cls-2" points="124.1 51.65 104.14 63.16 104.08 63.12 84.2 51.65 104.08 40.17 104.14 40.14 124.1 51.65"/><path class="cls-3" d="M111.61,90.51l-.1-.06-2.92-1.69a8.9,8.9,0,0,1-4.46-7.69l0-17.95L84.2,51.65l-.12.07V69.59a8.91,8.91,0,0,1-4.45,7.71L64.26,86.17v23l12.4-7.15,3.09-1.78a8.92,8.92,0,0,1,8.91,0l15.42,8.91.06,0,19.93-11.49h0Z"/><path class="cls-4" d="M84.08,66v3.55a8.91,8.91,0,0,1-4.45,7.71L64.26,86.17,44.32,74.68v0L64.26,63.17l12.41,7.15A4.94,4.94,0,0,0,84.08,66Z"/><polygon class="cls-5" points="64.26 86.17 64.26 109.2 44.32 97.7 44.32 74.68 64.26 86.17"/><polygon class="cls-6" points="124.1 97.7 124.1 120.72 124.08 120.72 104.14 132.23 104.08 132.21 104.08 109.25 104.14 109.2 124.08 97.7 124.1 97.7"/><path class="cls-7" d="M124.1,51.65v23h0l-12.48,7.21c-3.28,1.89-3,6.87-3,6.87a8.9,8.9,0,0,1-4.46-7.69l0-17.89.06,0Z"/><path class="cls-8" d="M104.08,109.18v23L84.2,120.72l-.12-.07V106.33a4.94,4.94,0,0,0-7.41-4.28l3-1.72a8.89,8.89,0,0,1,8.87,0Z"/><path class="cls-9" d="M85.28,81.09V91.24a2.56,2.56,0,0,0,3.85,2.22l8.81-5.09a2.56,2.56,0,0,0,0-4.44l-8.82-5.06A2.56,2.56,0,0,0,85.28,81.09Z"/><path class="cls-10" d="M84.08,69.59a8.91,8.91,0,0,1-4.45,7.71L64.26,86.17v23l12.4-7.15,3.09-1.78a8.82,8.82,0,0,1,4.33-1.19Z"/></svg>`,
sssaicode: `<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" style="flex:none;line-height:1" viewBox="0 0 512 512"><title>SSAI Code</title><defs><linearGradient id="ssc-gradLeft" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" stop-color="#0ff5ce" /><stop offset="100%" stop-color="#147a8a" /></linearGradient><linearGradient id="ssc-gradRight" x1="100%" y1="0%" x2="0%" y2="100%"><stop offset="0%" stop-color="#d0e4f5" /><stop offset="100%" stop-color="#6a9ec4" /></linearGradient><linearGradient id="ssc-gradTop" x1="50%" y1="0%" x2="50%" y2="100%"><stop offset="0%" stop-color="#a0d8e8" /><stop offset="100%" stop-color="#4aafbf" /></linearGradient><linearGradient id="ssc-gradText" x1="0%" y1="0%" x2="100%" y2="0%"><stop offset="0%" stop-color="#0ff5ce" /><stop offset="35%" stop-color="#4abfcf" /><stop offset="65%" stop-color="#7badd4" /><stop offset="100%" stop-color="#c0daf0" /></linearGradient><linearGradient id="ssc-gradS" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" stop-color="#f0f8ff" /><stop offset="100%" stop-color="#6cbfcf" /></linearGradient><filter id="ssc-glow" x="-30%" y="-30%" width="160%" height="160%"><feGaussianBlur stdDeviation="4" result="blur" /><feMerge><feMergeNode in="blur" /><feMergeNode in="SourceGraphic" /></feMerge></filter><pattern id="ssc-binL" x="0" y="0" width="55" height="16" patternUnits="userSpaceOnUse" patternTransform="rotate(-3)"><text x="0" y="11" font-family="monospace" font-size="8" fill="rgba(0,255,210,0.25)">1001 1101</text></pattern><pattern id="ssc-binR" x="0" y="0" width="55" height="16" patternUnits="userSpaceOnUse" patternTransform="rotate(3)"><text x="0" y="11" font-family="monospace" font-size="8" fill="rgba(180,210,240,0.25)">0110 1011</text></pattern><pattern id="ssc-binT" x="0" y="0" width="50" height="16" patternUnits="userSpaceOnUse"><text x="2" y="11" font-family="monospace" font-size="8" fill="rgba(120,200,220,0.2)">10 110</text></pattern></defs><rect width="512" height="512" rx="72" fill="#08080e" /><polygon points="90,350 250,350 170,228" fill="url(#ssc-gradLeft)" opacity="0.8" /><polygon points="90,350 250,350 170,228" fill="url(#ssc-binL)" /><polygon points="262,350 422,350 342,228" fill="url(#ssc-gradRight)" opacity="0.8" /><polygon points="262,350 422,350 342,228" fill="url(#ssc-binR)" /><polygon points="176,290 336,290 256,168" fill="none" stroke="url(#ssc-gradTop)" stroke-width="2.5" opacity="0.85" /><polygon points="192,280 320,280 256,184" fill="none" stroke="url(#ssc-gradTop)" stroke-width="0.8" opacity="0.35" /><text x="256" y="316" text-anchor="middle" font-family="Georgia, 'Times New Roman', serif" font-size="120" font-weight="bold" fill="url(#ssc-gradS)" filter="url(#ssc-glow)">S</text><text x="256" y="425" text-anchor="middle" font-family="'Helvetica Neue', 'Segoe UI', Arial, sans-serif" font-size="40" font-weight="300" letter-spacing="5" fill="url(#ssc-gradText)">SSSAiCode</text></svg>`,
+21
View File
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32">
<path d="M0 0 C10.56 0 21.12 0 32 0 C32 10.56 32 21.12 32 32 C21.44 32 10.88 32 0 32 C0 21.44 0 10.88 0 0 Z " fill="#E9F5FC" transform="translate(0,0)"/>
<path d="M0 0 C0.7734375 -0.00773438 1.546875 -0.01546875 2.34375 -0.0234375 C4.98245826 0.4641499 5.89157252 1.26136133 7.5 3.375 C7.5 4.035 7.5 4.695 7.5 5.375 C4.86 5.375 2.22 5.375 -0.5 5.375 C-0.5 4.715 -0.5 4.055 -0.5 3.375 C-1.49 3.87 -1.49 3.87 -2.5 4.375 C-2.96751788 6.73099235 -2.96751788 6.73099235 -3.125 9.4375 C-3.19976562 10.35660156 -3.27453125 11.27570312 -3.3515625 12.22265625 C-3.40054687 12.93292969 -3.44953125 13.64320312 -3.5 14.375 C-2.84 14.375 -2.18 14.375 -1.5 14.375 C-1.17 13.385 -0.84 12.395 -0.5 11.375 C2.14 11.375 4.78 11.375 7.5 11.375 C7.83 12.365 8.16 13.355 8.5 14.375 C9.16 14.705 9.82 15.035 10.5 15.375 C10.5 14.385 10.5 13.395 10.5 12.375 C11.82 12.375 13.14 12.375 14.5 12.375 C15.07570686 15.08904664 14.79565729 16.83296164 13.46875 19.265625 C10.63940674 22.8167395 8.44343278 24.19169857 3.94140625 25.06640625 C-1.09124454 25.30083101 -5.51954121 25.45246753 -10.02734375 23 C-13.19959195 20.09372762 -14.38901731 18.24700687 -14.9375 13.9375 C-14.793125 13.091875 -14.64875 12.24625 -14.5 11.375 C-11.86 13.355 -9.22 15.335 -6.5 17.375 C-6.5 16.385 -6.5 15.395 -6.5 14.375 C-6.83 14.045 -7.16 13.715 -7.5 13.375 C-7.703125 11.1953125 -7.703125 11.1953125 -7.75 8.5 C-7.77578125 7.61570312 -7.8015625 6.73140625 -7.828125 5.8203125 C-7.5 3.375 -7.5 3.375 -6.265625 1.578125 C-4.03939632 0.06113732 -2.67866058 -0.02678661 0 0 Z " fill="#EAF3FB" transform="translate(16.5,7.625)"/>
<path d="M0 0 C5.28 0 10.56 0 16 0 C16 10.56 16 21.12 16 32 C13.36 32 10.72 32 8 32 C8.42152344 31.55269531 8.84304687 31.10539062 9.27734375 30.64453125 C13.5377979 26.01600234 13.5377979 26.01600234 15 20 C13.68 20 12.36 20 11 20 C11 20.99 11 21.98 11 23 C9.68 22.34 8.36 21.68 7 21 C7.33 20.34 7.66 19.68 8 19 C6.700625 19.12375 5.40125 19.2475 4.0625 19.375 C2.96615234 19.47941406 2.96615234 19.47941406 1.84765625 19.5859375 C1.23792969 19.72257812 0.62820312 19.85921875 0 20 C-0.33 20.66 -0.66 21.32 -1 22 C-1.66 22 -2.32 22 -3 22 C-3 18.7 -3 15.4 -3 12 C-2.01 11.67 -1.02 11.34 0 11 C0 11.66 0 12.32 0 13 C2.64 13 5.28 13 8 13 C7.12355567 10.82271927 7.12355567 10.82271927 5 9 C0.32120751 8.25069618 -3.02499663 8.34999775 -7 11 C-7 8 -7 8 -5.46875 6.39453125 C-4.8190625 5.87246094 -4.169375 5.35039063 -3.5 4.8125 C-2.8503125 4.28269531 -2.200625 3.75289063 -1.53125 3.20703125 C-1.0259375 2.80871094 -0.520625 2.41039062 0 2 C0 3.32 0 4.64 0 6 C1.918125 5.938125 1.918125 5.938125 3.875 5.875 C6.0546875 5.8046875 6.0546875 5.8046875 8 6 C10 8 10 8 10.125 10.625 C10.08375 11.40875 10.0425 12.1925 10 13 C11.65 13 13.3 13 15 13 C13.53713212 6.51171219 13.53713212 6.51171219 9 2 C6.00593079 1.38980973 3.04998138 1.13034108 0 1 C0 0.67 0 0.34 0 0 Z " fill="#F3F6FC" transform="translate(16,0)"/>
<path d="M0 0 C0.7734375 -0.00773438 1.546875 -0.01546875 2.34375 -0.0234375 C4.98245826 0.4641499 5.89157252 1.26136133 7.5 3.375 C7.5 4.035 7.5 4.695 7.5 5.375 C4.86 5.375 2.22 5.375 -0.5 5.375 C-0.5 4.715 -0.5 4.055 -0.5 3.375 C-1.49 3.87 -1.49 3.87 -2.5 4.375 C-2.96751788 6.73099235 -2.96751788 6.73099235 -3.125 9.4375 C-3.19976563 10.35660156 -3.27453125 11.27570312 -3.3515625 12.22265625 C-3.40054687 12.93292969 -3.44953125 13.64320312 -3.5 14.375 C-2.84 14.375 -2.18 14.375 -1.5 14.375 C-1.17 13.385 -0.84 12.395 -0.5 11.375 C2.14 11.375 4.78 11.375 7.5 11.375 C5.625 15.25 5.625 15.25 4.5 16.375 C2.5390625 16.578125 2.5390625 16.578125 0.125 16.625 C-0.66648437 16.65078125 -1.45796875 16.6765625 -2.2734375 16.703125 C-4.5 16.375 -4.5 16.375 -6.265625 15.171875 C-7.89392995 12.80155767 -7.90051705 11.23290924 -7.875 8.375 C-7.88273438 7.50875 -7.89046875 6.6425 -7.8984375 5.75 C-7.5 3.375 -7.5 3.375 -6.2578125 1.5859375 C-4.03658417 0.05575798 -2.68137219 -0.02681372 0 0 Z " fill="#243FC5" transform="translate(16.5,7.625)"/>
<path d="M0 0 C4.29 0 8.58 0 13 0 C13 0.33 13 0.66 13 1 C11.63875 1.37125 11.63875 1.37125 10.25 1.75 C5.85279848 3.42719983 5.85279848 3.42719983 3 7 C2.66982425 10.69051287 2.77068363 14.30545853 3 18 C2.34 18 1.68 18 1 18 C2.27040826 24.22500049 4.65519565 27.37183885 9 32 C6.03 32 3.06 32 0 32 C0 21.44 0 10.88 0 0 Z " fill="#FAFCFD" transform="translate(0,0)"/>
<path d="M0 0 C6.82771306 -0.70631514 6.82771306 -0.70631514 9.8671875 1.125 C12.83250747 3.8491217 13.92030982 5.28278834 14.375 9.375 C14.25125 10.24125 14.1275 11.1075 14 12 C12.35 12 10.7 12 9 12 C8.814375 11.05125 8.62875 10.1025 8.4375 9.125 C7.26599195 5.61628301 7.26599195 5.61628301 3.375 4.625 C2.26125 4.41875 1.1475 4.2125 0 4 C0 2.68 0 1.36 0 0 Z " fill="#219DF4" transform="translate(17,1)"/>
<path d="M0 0 C-0.97866338 1.14626322 -1.95794587 2.29199788 -2.9375 3.4375 C-3.48277344 4.07558594 -4.02804688 4.71367188 -4.58984375 5.37109375 C-5.36795695 6.26991149 -6.15936528 7.15936528 -7 8 C-7.36760731 10.32817964 -7.70241581 12.6618385 -8 15 C-9.32 15 -10.64 15 -12 15 C-12.89533679 7.5388601 -12.89533679 7.5388601 -10.875 4.06640625 C-7.51165489 0.41402367 -5.09930851 -0.72847264 0 0 Z " fill="#1448D6" transform="translate(14,1)"/>
<path d="M0 0 C1.32 0 2.64 0 4 0 C4.46703469 2.64652992 4.39884037 4.36924133 2.9453125 6.66796875 C0.76718269 9.14632727 -0.85756827 10.80140524 -4.1796875 11.37890625 C-6.375 11.375 -6.375 11.375 -10 11 C-10 9.68 -10 8.36 -10 7 C-8.906875 6.773125 -7.81375 6.54625 -6.6875 6.3125 C-2.4291168 4.79680428 -2.08798785 3.77826372 0 0 Z " fill="#0E49D9" transform="translate(27,20)"/>
<path d="M0 0 C4.52615993 3.67832017 8.39424999 7.41086363 12 12 C9.00710226 12.42755682 6.86261474 12.55953389 4.265625 10.875 C1.27173282 8.13772715 0.08435644 6.75920797 -0.375 2.625 C-0.25125 1.75875 -0.1275 0.8925 0 0 Z " fill="#0B89F0" transform="translate(2,19)"/>
<path d="M0 0 C1.43655854 -0.08131463 2.8744483 -0.13933559 4.3125 -0.1875 C5.51326172 -0.23970703 5.51326172 -0.23970703 6.73828125 -0.29296875 C9 0 9 0 10.79296875 1.38671875 C12 3 12 3 12 5 C9.36 5 6.72 5 4 5 C4 4.34 4 3.68 4 3 C2.68 3.33 1.36 3.66 0 4 C0 2.68 0 1.36 0 0 Z " fill="#3852CA" transform="translate(12,8)"/>
<path d="M0 0 C5.28 0 10.56 0 16 0 C16 3.96 16 7.92 16 12 C15.67 12 15.34 12 15 12 C14.7525 11.0925 14.505 10.185 14.25 9.25 C12.88118077 5.69107 12.12750908 4.16519859 9 2 C6.00675528 1.38480808 3.05004295 1.13034372 0 1 C0 0.67 0 0.34 0 0 Z " fill="#FEFEFE" transform="translate(16,0)"/>
<path d="M0 0 C0.33 0 0.66 0 1 0 C1 3.96 1 7.92 1 12 C-1.64 12 -4.28 12 -7 12 C-6.57847656 11.55269531 -6.15695313 11.10539062 -5.72265625 10.64453125 C-1.4622021 6.01600234 -1.4622021 6.01600234 0 0 Z " fill="#FDFEFE" transform="translate(31,20)"/>
<path d="M0 0 C0.33 0 0.66 0 1 0 C1 4.62 1 9.24 1 14 C0.01 13.34 -0.98 12.68 -2 12 C-2.36328125 9.6875 -2.36328125 9.6875 -2.3125 7 C-2.30863281 6.113125 -2.30476562 5.22625 -2.30078125 4.3125 C-2 2 -2 2 0 0 Z " fill="#1939C2" transform="translate(11,9)"/>
<path d="M0 0 C1.98 0.99 1.98 0.99 4 2 C4 4.31 4 6.62 4 9 C2.68 9 1.36 9 0 9 C0 6.03 0 3.06 0 0 Z " fill="#059CF3" transform="translate(2,7)"/>
<path d="M0 0 C1.98 0 3.96 0 6 0 C6.66 1.32 7.32 2.64 8 4 C5.36 4 2.72 4 0 4 C0 2.68 0 1.36 0 0 Z " fill="#0773EE" transform="translate(17,27)"/>
<path d="M0 0 C2.64 0 5.28 0 8 0 C7.34 1.32 6.68 2.64 6 4 C4.02 4 2.04 4 0 4 C0 2.68 0 1.36 0 0 Z " fill="#0CB7F7" transform="translate(17,1)"/>
<path d="M0 0 C2.64 0 5.28 0 8 0 C7.34 1.32 6.68 2.64 6 4 C3.69 3.67 1.38 3.34 -1 3 C-0.67 2.01 -0.34 1.02 0 0 Z " fill="#2F4AC8" transform="translate(16,19)"/>
<path d="M0 0 C0.99 0.33 1.98 0.66 3 1 C2.01 2.32 1.02 3.64 0 5 C-1.32 4.67 -2.64 4.34 -4 4 C-2.68 2.68 -1.36 1.36 0 0 Z " fill="#053FD7" transform="translate(7,4)"/>
</svg>

After

Width:  |  Height:  |  Size: 7.6 KiB