mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-25 07:00:48 +09:00
feat(icons): add github-copilot icon
This commit is contained in:
@@ -24,7 +24,6 @@ import {
|
||||
Wechatoa,
|
||||
Wecom,
|
||||
Matrix,
|
||||
Misskey,
|
||||
} from '@memohai/icon'
|
||||
|
||||
const channelIcons: Record<string, Component> = {
|
||||
@@ -38,7 +37,7 @@ const channelIcons: Record<string, Component> = {
|
||||
wechatoa: Wechatoa,
|
||||
wecom: Wecom,
|
||||
matrix: Matrix,
|
||||
misskey: Misskey,
|
||||
// misskey: Misskey,
|
||||
dingtalk: Dingtalk,
|
||||
}
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@ import {
|
||||
FireworksColor,
|
||||
Gemini,
|
||||
GeminiColor,
|
||||
GithubCopilot,
|
||||
Google,
|
||||
GoogleBrandColor,
|
||||
GoogleColor,
|
||||
@@ -74,6 +75,7 @@ import {
|
||||
export const iconMap: Record<string, Component> = {
|
||||
'openai': Openai,
|
||||
'anthropic': Anthropic,
|
||||
'github-copilot': GithubCopilot,
|
||||
'google': Google,
|
||||
'google-color': GoogleColor,
|
||||
'google-brand-color': GoogleBrandColor,
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
name: GitHub Copilot
|
||||
client_type: github-copilot
|
||||
icons: github-copilot
|
||||
|
||||
models:
|
||||
- model_id: claude-opus-4.6-1m
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<svg fill="currentColor" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><title>GithubCopilot</title><path d="M19.245 5.364c1.322 1.36 1.877 3.216 2.11 5.817.622 0 1.2.135 1.592.654l.73.964c.21.278.323.61.323.955v2.62c0 .339-.173.669-.453.868C20.239 19.602 16.157 21.5 12 21.5c-4.6 0-9.205-2.583-11.547-4.258-.28-.2-.452-.53-.453-.868v-2.62c0-.345.113-.679.321-.956l.73-.963c.392-.517.974-.654 1.593-.654l.029-.297c.25-2.446.81-4.213 2.082-5.52 2.461-2.54 5.71-2.851 7.146-2.864h.198c1.436.013 4.685.323 7.146 2.864zm-7.244 4.328c-.284 0-.613.016-.962.05-.123.447-.305.85-.57 1.108-1.05 1.023-2.316 1.18-2.994 1.18-.638 0-1.306-.13-1.851-.464-.516.165-1.012.403-1.044.996a65.882 65.882 0 00-.063 2.884l-.002.48c-.002.563-.005 1.126-.013 1.69.002.326.204.63.51.765 2.482 1.102 4.83 1.657 6.99 1.657 2.156 0 4.504-.555 6.985-1.657a.854.854 0 00.51-.766c.03-1.682.006-3.372-.076-5.053-.031-.596-.528-.83-1.046-.996-.546.333-1.212.464-1.85.464-.677 0-1.942-.157-2.993-1.18-.266-.258-.447-.661-.57-1.108-.32-.032-.64-.049-.96-.05zm-2.525 4.013c.539 0 .976.426.976.95v1.753c0 .525-.437.95-.976.95a.964.964 0 01-.976-.95v-1.752c0-.525.437-.951.976-.951zm5 0c.539 0 .976.426.976.95v1.753c0 .525-.437.95-.976.95a.964.964 0 01-.976-.95v-1.752c0-.525.437-.951.976-.951zM7.635 5.087c-1.05.102-1.935.438-2.385.906-.975 1.037-.765 3.668-.21 4.224.405.394 1.17.657 1.995.657h.09c.649-.013 1.785-.176 2.73-1.11.435-.41.705-1.433.675-2.47-.03-.834-.27-1.52-.63-1.813-.39-.336-1.275-.482-2.265-.394zm6.465.394c-.36.292-.6.98-.63 1.813-.03 1.037.24 2.06.675 2.47.968.957 2.136 1.104 2.776 1.11h.044c.825 0 1.59-.263 1.995-.657.555-.556.765-3.187-.21-4.224-.45-.468-1.335-.804-2.385-.906-.99-.088-1.875.058-2.265.394zM12 7.615c-.24 0-.525.015-.84.044.03.16.045.336.06.526l-.001.159a2.94 2.94 0 01-.014.25c.225-.022.425-.027.612-.028h.366c.187 0 .387.006.612.028-.015-.146-.015-.277-.015-.409.015-.19.03-.365.06-.526a9.29 9.29 0 00-.84-.044z"></path></svg>
|
||||
|
After Width: | Height: | Size: 2.0 KiB |
@@ -50,6 +50,7 @@ const llmProviders: string[] = [
|
||||
...withVariants('siliconcloud', ['color']),
|
||||
...withVariants('volcengine', ['color']),
|
||||
...withVariants('newapi', ['color']),
|
||||
...withVariants('github-copilot', []),
|
||||
]
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
<template>
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
:width="size"
|
||||
:height="size"
|
||||
viewBox="0 0 24 24"
|
||||
fill="currentColor"
|
||||
v-bind="$attrs"
|
||||
><path d="M19.245 5.364c1.322 1.36 1.877 3.216 2.11 5.817.622 0 1.2.135 1.592.654l.73.964c.21.278.323.61.323.955v2.62c0 .339-.173.669-.453.868C20.239 19.602 16.157 21.5 12 21.5c-4.6 0-9.205-2.583-11.547-4.258-.28-.2-.452-.53-.453-.868v-2.62c0-.345.113-.679.321-.956l.73-.963c.392-.517.974-.654 1.593-.654l.029-.297c.25-2.446.81-4.213 2.082-5.52 2.461-2.54 5.71-2.851 7.146-2.864h.198c1.436.013 4.685.323 7.146 2.864zm-7.244 4.328c-.284 0-.613.016-.962.05-.123.447-.305.85-.57 1.108-1.05 1.023-2.316 1.18-2.994 1.18-.638 0-1.306-.13-1.851-.464-.516.165-1.012.403-1.044.996a65.882 65.882 0 00-.063 2.884l-.002.48c-.002.563-.005 1.126-.013 1.69.002.326.204.63.51.765 2.482 1.102 4.83 1.657 6.99 1.657 2.156 0 4.504-.555 6.985-1.657a.854.854 0 00.51-.766c.03-1.682.006-3.372-.076-5.053-.031-.596-.528-.83-1.046-.996-.546.333-1.212.464-1.85.464-.677 0-1.942-.157-2.993-1.18-.266-.258-.447-.661-.57-1.108-.32-.032-.64-.049-.96-.05zm-2.525 4.013c.539 0 .976.426.976.95v1.753c0 .525-.437.95-.976.95a.964.964 0 01-.976-.95v-1.752c0-.525.437-.951.976-.951zm5 0c.539 0 .976.426.976.95v1.753c0 .525-.437.95-.976.95a.964.964 0 01-.976-.95v-1.752c0-.525.437-.951.976-.951zM7.635 5.087c-1.05.102-1.935.438-2.385.906-.975 1.037-.765 3.668-.21 4.224.405.394 1.17.657 1.995.657h.09c.649-.013 1.785-.176 2.73-1.11.435-.41.705-1.433.675-2.47-.03-.834-.27-1.52-.63-1.813-.39-.336-1.275-.482-2.265-.394zm6.465.394c-.36.292-.6.98-.63 1.813-.03 1.037.24 2.06.675 2.47.968.957 2.136 1.104 2.776 1.11h.044c.825 0 1.59-.263 1.995-.657.555-.556.765-3.187-.21-4.224-.45-.468-1.335-.804-2.385-.906-.99-.088-1.875.058-2.265.394zM12 7.615c-.24 0-.525.015-.84.044.03.16.045.336.06.526l-.001.159a2.94 2.94 0 01-.014.25c.225-.022.425-.027.612-.028h.366c.187 0 .387.006.612.028-.015-.146-.015-.277-.015-.409.015-.19.03-.365.06-.526a9.29 9.29 0 00-.84-.044z" /></svg>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
withDefaults(defineProps<{ size?: string | number }>(), { size: '1em' })
|
||||
defineOptions({ inheritAttrs: false })
|
||||
</script>
|
||||
@@ -8,16 +8,19 @@
|
||||
><path
|
||||
d="M250.368 549.888c-2.56-3.072 4.096-21.504 5.12-24.576 5.632-22.016 12.8-43.52 22.016-64 29.696-67.584 76.8-126.976 135.68-172.032C537.6 193.536 706.048 169.984 851.456 230.4c-3.072-1.024-7.68-13.824-9.216-16.384-9.216-14.848-18.944-28.672-30.208-41.984-34.816-42.496-77.824-78.848-126.464-104.448-119.808-61.952-263.68-53.76-374.272 24.064-67.072 47.104-119.808 121.856-134.656 202.752-11.776 65.024 3.584 134.144 33.28 192.512 11.264 22.528 25.088 43.52 40.448 62.976z"
|
||||
fill="#00CC7D"
|
||||
p-id="7927"
|
||||
/><path
|
||||
d="M559.616 305.664c12.288-5.12 51.2 15.36 61.44 19.968 48.64 20.992 92.16 52.736 127.488 91.648 102.4 112.128 134.656 278.016 72.192 417.792-9.216 20.48-20.48 40.448-33.28 58.88-7.168 10.24-14.336 19.968-22.528 29.184-4.608 5.632-17.92 25.6-24.576 26.624 68.096-11.776 135.168-55.296 181.248-104.96 117.76-125.44 140.288-321.024 27.136-457.216-4.608-5.12-9.216-10.752-13.824-15.36-95.744-100.352-249.856-120.32-375.296-66.56z"
|
||||
fill="#00CC7D"
|
||||
p-id="7928"
|
||||
/><path
|
||||
d="M92.16 363.52s-10.24 210.432 223.232 366.08c0 0 22.528 5.12 16.384 31.232l-13.824 72.704s-7.68 33.792 25.088 16.384l81.408-53.76s16.384-17.408 50.176-10.24c0 0 176.64 30.208 293.376-72.704-2.048 1.536-2.048 13.312-2.56 15.872-3.072 14.336-6.656 28.16-11.264 41.984-14.848 43.52-36.864 84.48-67.584 118.784-107.52 122.368-291.84 126.464-437.76 82.944-103.424-31.232-195.584-103.424-230.4-207.872C-5.12 694.784-5.12 618.496 15.36 547.328c8.704-30.72 16.896-60.928 28.672-90.624 6.656-16.384 13.824-32.768 22.016-48.64 4.608-10.24 26.112-34.816 26.112-44.544z"
|
||||
fill="#00CC7D"
|
||||
p-id="7929"
|
||||
/></svg>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
withDefaults(defineProps<{ size?: string | number }>(), { size: '1em' })
|
||||
defineOptions({ inheritAttrs: false })
|
||||
</script>
|
||||
</script>
|
||||
|
||||
@@ -29,6 +29,7 @@ export { default as Fireworks } from './icons/Fireworks.vue'
|
||||
export { default as FireworksColor } from './icons/FireworksColor.vue'
|
||||
export { default as Gemini } from './icons/Gemini.vue'
|
||||
export { default as GeminiColor } from './icons/GeminiColor.vue'
|
||||
export { default as GithubCopilot } from './icons/GithubCopilot.vue'
|
||||
export { default as Google } from './icons/Google.vue'
|
||||
export { default as GoogleBrandColor } from './icons/GoogleBrandColor.vue'
|
||||
export { default as GoogleColor } from './icons/GoogleColor.vue'
|
||||
@@ -48,7 +49,6 @@ export { default as Microsoft } from './icons/Microsoft.vue'
|
||||
export { default as MicrosoftColor } from './icons/MicrosoftColor.vue'
|
||||
export { default as Minimax } from './icons/Minimax.vue'
|
||||
export { default as MinimaxColor } from './icons/MinimaxColor.vue'
|
||||
export { default as Misskey } from './icons/Misskey.vue'
|
||||
export { default as Mistral } from './icons/Mistral.vue'
|
||||
export { default as MistralColor } from './icons/MistralColor.vue'
|
||||
export { default as Moonshot } from './icons/Moonshot.vue'
|
||||
|
||||
Reference in New Issue
Block a user