polish: about-page logo now uses the app icon instead of an OT text mark
This commit is contained in:
1 parent
3aa8b28f89
commit
bbee1d642d
2 files changed
+4
-8
No files matched your search
@@ -2,6 +2,7 @@ import { useEffect, useState } from 'react'
|
||||
import { Button, Progress, Select, Switch, Tag } from 'antd'
|
||||
import type { AppInfo, ReleaseNote, UpdateState, UpdateStatus } from '@shared/ipc'
|
||||
import { useSettingsStore } from './store'
|
||||
import appIconUrl from '../../../../build/icon.png'
|
||||
|
||||
const STATUS_TEXT: Record<UpdateStatus, string> = {
|
||||
idle: '点击检查更新',
|
||||
@@ -34,7 +35,7 @@ export function AboutTab(): React.JSX.Element {
|
||||
return (
|
||||
<div className="about-tab">
|
||||
<div className="about-header">
|
||||
<div className="about-logo">OT</div>
|
||||
<img className="about-logo" src={appIconUrl} alt="OpenTerminal" draggable={false} />
|
||||
<div>
|
||||
<div className="about-name">OpenTerminal</div>
|
||||
<div className="about-version">
|
||||
|
||||
@@ -380,13 +380,8 @@
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border-radius: 12px;
|
||||
background: var(--chrome-hover);
|
||||
color: #3fd06a;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: 700;
|
||||
font-size: 18px;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.about-name {
|
||||
|
||||
Reference in new issue
Block a user