Skip to content

Commit

Permalink
add title
Browse files Browse the repository at this point in the history
  • Loading branch information
Xutaotaotao committed Apr 29, 2024
1 parent ab8503a commit 4812750
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
1 change: 1 addition & 0 deletions .umirc.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { defineConfig } from 'umi';

export default defineConfig({
title: 'XTools',
base: '/XTools/',
publicPath: '/XTools/',
});
2 changes: 0 additions & 2 deletions src/.umi/core/pluginConfigJoi.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@
// Created by Umi Plugin

export interface IConfigFromPluginsJoi {
ghPages?: {

}
}
14 changes: 9 additions & 5 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,22 @@ export default function AppPage() {
history.push('/home')
}

const goGithub = () => {
window.open('https://github.com/xutaotaotao/XTools')
}

return (
<div className="home-container">
<Row style={{width: '100%',padding:"0 200px"}}>
<Col span={12} style={{ display: 'flex', justifyContent: 'center',flexDirection: 'column' }}>
<Title style={{ margin: '8px 0' }}>专注工具,助力高效</Title>
<Title heading={6} style={{ margin: '8px 0' }} >完全本地化工具,无需云端,轻松实现跨平台工作效率</Title>
<Space>
<Title >专注工具助力高效</Title>
<Title heading={5} style={{ marginTop: 20 }} >完全本地化工具,无需云端,轻松实现跨平台工作效率</Title>
<Space style={{ marginTop: 20 }}>
<Button onClick={goHome} type="primary" size="large" style={{ margin: '8px 0' }}>开始使用</Button>
<Button onClick={goHome} size="large" style={{ margin: '8px 0' }}>Github</Button>
<Button onClick={goGithub} size="large" style={{ margin: '8px 0' }}>Github</Button>
</Space>
</Col>
<Col span={12} style={{textAlign: 'center'}}>
<Col span={12} style={{textAlign: 'center' }}>
<img style={{ width: '90%' }} src={bigLogo} alt="logo" />
</Col>
</Row>
Expand Down

0 comments on commit 4812750

Please sign in to comment.