fix: 小程序中增加 github copilot #547

This commit is contained in:
kangfenmao 2024-12-27 12:10:41 +08:00
parent 8812daeeee
commit 5e6aaabb23
5 changed files with 15 additions and 10 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

View File

@ -58,8 +58,8 @@ const PopoverContent = styled(Scrollbar)``
const AppsContainer = styled.div` const AppsContainer = styled.div`
display: grid; display: grid;
grid-template-columns: repeat(6, 1fr); grid-template-columns: repeat(6, minmax(90px, 1fr));
gap: 25px 35px; gap: 25px;
` `
export default AppStorePopover export default AppStorePopover

View File

@ -6,6 +6,7 @@ import DoubaoAppLogo from '@renderer/assets/images/apps/doubao.png'
import DuckDuckGoAppLogo from '@renderer/assets/images/apps/duckduckgo.webp' import DuckDuckGoAppLogo from '@renderer/assets/images/apps/duckduckgo.webp'
import FeloAppLogo from '@renderer/assets/images/apps/felo.png' import FeloAppLogo from '@renderer/assets/images/apps/felo.png'
import GeminiAppLogo from '@renderer/assets/images/apps/gemini.png' import GeminiAppLogo from '@renderer/assets/images/apps/gemini.png'
import GithubCopilotLogo from '@renderer/assets/images/apps/github-copilot.webp'
import HuggingChatLogo from '@renderer/assets/images/apps/huggingchat.svg' import HuggingChatLogo from '@renderer/assets/images/apps/huggingchat.svg'
import KimiAppLogo from '@renderer/assets/images/apps/kimi.jpg' import KimiAppLogo from '@renderer/assets/images/apps/kimi.jpg'
import MetasoAppLogo from '@renderer/assets/images/apps/metaso.webp' import MetasoAppLogo from '@renderer/assets/images/apps/metaso.webp'
@ -223,6 +224,12 @@ const _apps: MinAppType[] = [
logo: ThinkAnyLogo, logo: ThinkAnyLogo,
url: 'https://thinkany.ai/', url: 'https://thinkany.ai/',
bodered: true bodered: true
},
{
id: 'github-copilot',
name: 'GitHub Copilot',
logo: GithubCopilotLogo,
url: 'https://github.com/copilot'
} }
] ]

View File

@ -36,8 +36,6 @@ const Container = styled.div`
justify-content: center; justify-content: center;
align-items: center; align-items: center;
cursor: pointer; cursor: pointer;
max-width: 80px;
width: 72px;
overflow: hidden; overflow: hidden;
` `

View File

@ -74,12 +74,12 @@ const ContentContainer = styled.div`
const AppsContainer = styled.div` const AppsContainer = styled.div`
display: flex; display: flex;
min-width: 950px; min-width: 930px;
max-width: 950px; max-width: 930px;
flex-direction: row; max-height: 500px;
flex-wrap: wrap; display: grid;
align-content: flex-start; grid-template-columns: repeat(8, minmax(90px, 1fr));
gap: 50px; gap: 25px 25px;
` `
export default AppsPage export default AppsPage