Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions changelog/unreleased/provider-brand-marks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
### English

- Replaced placeholder provider icons with each product's official mark in the account picker: CodeArts (Huawei), Command Code, Devin, Kimi, Muse (Meta), QwenWork and Trae.

### 中文

- 将账号选择器中的占位图标替换为各产品的官方标识:CodeArts(华为)、Command Code、Devin、Kimi、Muse (Meta)、QwenWork 和 Trae。
Binary file added frontend/src/assets/codearts-mark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/src/assets/command-mark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/src/assets/devin-mark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/src/assets/kimi-mark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/src/assets/muse-mark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/src/assets/qwenwork-mark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/src/assets/trae-mark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions frontend/src/components/CodeArtsMark.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import codeArtsMark from '@/assets/codearts-mark.png'

type Props = {
size?: number
className?: string
}

// Huawei Cloud CodeArts (码道) brand mark: the Huawei flower emblem.
export function CodeArtsMark({ size = 16, className = '' }: Props) {
return (
<img
src={codeArtsMark}
alt=""
width={size}
height={size}
className={`block shrink-0 rounded-[22%] ${className}`.trim()}
draggable={false}
/>
)
}
18 changes: 11 additions & 7 deletions frontend/src/components/CommandMark.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
import commandMark from '@/assets/command-mark.png'

type Props = {
size?: number
className?: string
}

// Command Code brand mark: official commandcode.ai favicon.
export function CommandMark({ size = 16, className = '' }: Props) {
return (
<span
className={`inline-flex shrink-0 items-center justify-center rounded-[22%] bg-[#0a84ff] text-white ${className}`.trim()}
style={{ width: size, height: size, fontSize: Math.max(9, Math.round(size * 0.55)), fontWeight: 650, lineHeight: 1 }}
aria-hidden="true"
>
C
</span>
<img
src={commandMark}
alt=""
width={size}
height={size}
className={`block shrink-0 rounded-[22%] ${className}`.trim()}
draggable={false}
/>
)
}
18 changes: 11 additions & 7 deletions frontend/src/components/DevinMark.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
import devinMark from '@/assets/devin-mark.png'

type Props = {
size?: number
className?: string
}

// Devin brand mark: official devin.ai favicon.
export function DevinMark({ size = 16, className = '' }: Props) {
return (
<span
className={`inline-flex shrink-0 items-center justify-center rounded-[22%] bg-[#1a1a1a] text-white ${className}`.trim()}
style={{ width: size, height: size, fontSize: Math.max(9, Math.round(size * 0.55)), fontWeight: 650, lineHeight: 1 }}
aria-hidden="true"
>
D
</span>
<img
src={devinMark}
alt=""
width={size}
height={size}
className={`block shrink-0 rounded-[22%] ${className}`.trim()}
draggable={false}
/>
)
}
21 changes: 9 additions & 12 deletions frontend/src/components/KimiMark.tsx
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
import kimiMark from '@/assets/kimi-mark.png'

type Props = {
size?: number
className?: string
}

// Kimi crescent mark. Kimi's own glyph is a crescent, so the console reuses that
// silhouette instead of inventing a letterform for the provider row.
// Kimi brand mark: official kimi.com favicon.
export function KimiMark({ size = 16, className = '' }: Props) {
return (
<svg
<img
src={kimiMark}
alt=""
width={size}
height={size}
viewBox="0 0 24 24"
className={`block shrink-0 text-foreground ${className}`.trim()}
aria-hidden="true"
>
<path
fill="currentColor"
d="M21 12.79A9 9 0 1 1 11.21 3a7 7 0 0 0 9.79 9.79Z"
/>
</svg>
className={`block shrink-0 rounded-[22%] ${className}`.trim()}
draggable={false}
/>
)
}
23 changes: 9 additions & 14 deletions frontend/src/components/MuseMark.tsx
Original file line number Diff line number Diff line change
@@ -1,25 +1,20 @@
import museMark from '@/assets/muse-mark.png'

type Props = {
size?: number
className?: string
}

// Muse (Meta) mark — simple infinity/loop glyph matching the Magpie tile style
// (currentColor, no decorative brand chrome).
// Muse (Meta) brand mark: official meta.ai favicon.
export function MuseMark({ size = 16, className = '' }: Props) {
return (
<svg
<img
src={museMark}
alt=""
width={size}
height={size}
viewBox="0 0 24 24"
className={`block shrink-0 text-foreground ${className}`.trim()}
aria-hidden="true"
>
<path
fill="currentColor"
fillRule="evenodd"
d="M8 6a4 4 0 0 0 0 8c.9 0 1.7-.3 2.4-.8L14 16.8A4 4 0 1 0 16 8a3.9 3.9 0 0 0-2.4.8L10 5.2A4 4 0 0 0 8 6Zm0 2a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm8 4a2 2 0 1 1 0 4 2 2 0 0 1 0-4Z"
clipRule="evenodd"
/>
</svg>
className={`block shrink-0 rounded-[22%] ${className}`.trim()}
draggable={false}
/>
)
}
4 changes: 4 additions & 0 deletions frontend/src/components/ProviderMark.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { CommandMark } from '@/components/CommandMark'
import { CodeArtsMark } from '@/components/CodeArtsMark'
import { CodexMark } from '@/components/CodexMark'
import { DevinMark } from '@/components/DevinMark'
import { DoubaoworkMark } from '@/components/DoubaoworkMark'
Expand Down Expand Up @@ -38,6 +39,9 @@ export function ProviderMark({ provider, size = 16, className = '' }: Props) {
if (id === 'zhipu') {
return <ZhipuMark size={size} className={className} />
}
if (id === 'codearts') {
return <CodeArtsMark size={size} className={className} />
}
if (id === 'qwenwork') {
return <QwenworkMark size={size} className={className} />
}
Expand Down
31 changes: 11 additions & 20 deletions frontend/src/components/QwenworkMark.tsx
Original file line number Diff line number Diff line change
@@ -1,29 +1,20 @@
import qwenworkMark from '@/assets/qwenwork-mark.png'

type Props = {
size?: number
className?: string
}

// QwenWork mark: an ink tile, a Q glyph, and a Signal Cyan terminal dot —
// a simple geometric placeholder, deliberately not the official trademark.
// QwenWork / 千问办公 brand mark: official qwenwork favicon.
export function QwenworkMark({ size = 16, className = '' }: Props) {
const dot = Math.max(2, Math.round(size * 0.14))
return (
<span
className={`inline-flex shrink-0 items-baseline justify-center rounded-[22%] bg-[#18181B] text-white ${className}`.trim()}
style={{ width: size, height: size, fontSize: Math.max(9, Math.round(size * 0.5)), fontWeight: 650, lineHeight: 1 }}
aria-hidden="true"
>
<span style={{ alignSelf: 'center' }}>Q</span>
<span
style={{
alignSelf: 'center',
width: dot,
height: dot,
marginLeft: Math.max(0, Math.round(size * 0.03)),
borderRadius: '50%',
background: '#22D3EE',
}}
/>
</span>
<img
src={qwenworkMark}
alt=""
width={size}
height={size}
className={`block shrink-0 rounded-[22%] ${className}`.trim()}
draggable={false}
/>
)
}
18 changes: 11 additions & 7 deletions frontend/src/components/TraeMark.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
import traeMark from '@/assets/trae-mark.png'

type Props = {
size?: number
className?: string
}

// Trae brand mark: official trae.ai favicon.
export function TraeMark({ size = 16, className = '' }: Props) {
return (
<span
className={`inline-flex shrink-0 items-center justify-center rounded-[22%] bg-[#1a1a1a] text-white ${className}`.trim()}
style={{ width: size, height: size, fontSize: Math.max(9, Math.round(size * 0.55)), fontWeight: 650, lineHeight: 1 }}
aria-hidden="true"
>
T
</span>
<img
src={traeMark}
alt=""
width={size}
height={size}
className={`block shrink-0 rounded-[22%] ${className}`.trim()}
draggable={false}
/>
)
}

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions internal/webui/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
<meta name="twitter:title" content="CLI2API" />
<meta name="twitter:description" content="Qoder CLI → OpenAI-compatible API. Self-hosted gateway." />
<meta name="twitter:image" content="/og-card.svg" />
<script type="module" crossorigin src="/assets/index-B933YtI7.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-Cxv2WAIt.css">
<script type="module" crossorigin src="/assets/index-CnBhKFzp.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-C_UW7h27.css">
</head>
<body>
<div id="root"></div>
Expand Down
Loading