Skip to content

Commit dc37094

Browse files
znsoftznsoft
authored andcommitted
style(ui): update welcome page buttons to elegant theme
1 parent 33d875d commit dc37094

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

frontend/src/App.tsx

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const subscriptionUrls: {[key: string]: string} = {
2222
"DeepSeek": "https://platform.deepseek.com/api_keys"
2323
};
2424

25-
const APP_VERSION = "2.5.0.2070";
25+
const APP_VERSION = "2.5.0.2071";
2626

2727
const translations: any = {
2828
"en": {
@@ -2027,7 +2027,6 @@ function App() {
20272027
<div style={{padding: '20px 25px'}}>
20282028
<div style={{display: 'flex', flexDirection: 'column', gap: '10px', marginBottom: '20px'}}>
20292029
<button
2030-
className="btn-primary"
20312030
style={{
20322031
width: '100%',
20332032
padding: '10px',
@@ -2038,7 +2037,12 @@ function App() {
20382037
alignItems: 'center',
20392038
justifyContent: 'center',
20402039
gap: '8px',
2041-
boxShadow: '0 4px 6px -1px rgba(59, 130, 246, 0.3)'
2040+
background: 'linear-gradient(135deg, #eff6ff, #dbeafe)',
2041+
color: '#1e40af',
2042+
border: '1px solid #bfdbfe',
2043+
boxShadow: '0 2px 4px rgba(59, 130, 246, 0.1)',
2044+
cursor: 'pointer',
2045+
transition: 'all 0.2s'
20422046
}}
20432047
onClick={() => {
20442048
BrowserOpenURL("https://www.bilibili.com/video/BV1wmvoBnEF1");
@@ -2054,12 +2058,13 @@ function App() {
20542058
borderRadius: '10px',
20552059
fontSize: '0.95rem',
20562060
fontWeight: '500',
2057-
color: '#475569',
2058-
backgroundColor: '#f8fafc',
2061+
color: '#64748b',
2062+
backgroundColor: '#ffffff',
20592063
display: 'flex',
20602064
alignItems: 'center',
20612065
justifyContent: 'center',
2062-
gap: '8px'
2066+
gap: '8px',
2067+
boxShadow: '0 1px 2px rgba(0,0,0,0.05)'
20632068
}}
20642069
onClick={() => {
20652070
const manualUrl = (lang === 'zh-Hans' || lang === 'zh-Hant')

0 commit comments

Comments
 (0)