Skip to content

Commit 2f8ff45

Browse files
committed
chore: remove unused for generate template
1 parent 36640dc commit 2f8ff45

22 files changed

+17
-2026
lines changed

pages/fixed/about.mdx

Lines changed: 5 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,12 @@
11
import Layout from 'lib/components/layout'
2-
import { Button, Row, Spacer, Dot, Link, useModal, Modal, Image } from '@geist-ui/react'
3-
import NextLink from 'next/link'
2+
import { Button } from '@geist-ui/react'
43

54
export const meta = {
6-
title: '关于我',
7-
date: '2019-01-09T10:20:10.027Z',
8-
description: 'description',
5+
title: 'About me',
6+
date: '',
7+
description: '',
98
}
109

11-
export const Btc = () => {
12-
const address = '1KE89oa6aMNaVEPUeQPxLTmQGmXL6W1mGi'
13-
const { setVisible, bindings } = useModal()
14-
return (
15-
<>
16-
<Button auto size="mini" onClick={() => setVisible(true)}>
17-
Show address of BTC
18-
</Button>
19-
<Modal {...bindings}>
20-
<Modal.Title>BTC</Modal.Title>
21-
<Modal.Subtitle>This is Witt's BTC address</Modal.Subtitle>
22-
<Modal.Content>
23-
<p>{address}</p>
24-
</Modal.Content>
25-
<Modal.Action onClick={({ close }) => close()}>OK</Modal.Action>
26-
</Modal>
27-
</>
28-
)
29-
}
30-
31-
export const Alipay = () => {
32-
const { setVisible, bindings } = useModal()
33-
return (
34-
<>
35-
<Button auto size="mini" onClick={() => setVisible(true)}>
36-
Show Alipay
37-
</Button>
38-
<Modal {...bindings}>
39-
<Modal.Title>Alipay</Modal.Title>
40-
<Modal.Subtitle>Scan code with Alipay</Modal.Subtitle>
41-
<Modal.Content>
42-
<Image width={150} height={150} src="/assets/alipay.png" />
43-
</Modal.Content>
44-
<Modal.Action onClick={({ close }) => close()}>OK</Modal.Action>
45-
</Modal>
46-
</>
47-
)
48-
}
49-
50-
你好,我是维特,一个自由主义者,<del>JavaScript 全栈?</del> 工程师。对 Serverless 与 DX (Developer experience) 很感兴趣。
51-
喜欢 `CoffeeScript``Ruby`,但一直在写 `TypeScript`。主要贡献是创造一些应用和类库来帮助提高开发者体验。
52-
53-
我很少写博客,_Hello World_ 文章实在讨人厌,不想成为智障。但水平不够写不出好东西,所以不写。如果你发现博文更新,那就是我的工作不饱和了。
54-
此外这里也提供 **Review** 服务,你可以在 <Link color rel="nofollow" target="_blank" href="https://review.unix.bio">Review It</Link> 中提交自己的 `Pull Request` 链接,
55-
我会在收到通知后立刻帮你分析代码,并尽可能多的提出对提高你编程能力有显著帮助的建议。
56-
57-
我非常乐意倾听来自你的想法,你可以通过 <Link rel="nofollow" color target="_blank" href="mailto:unix.bio@gmail.com">邮件</Link> 与我取得联系。
58-
现在你所见的站点来自我的开源项目 <Link rel="nofollow" href="https://github.com/unix/unix.bio">unix/unix.bio (MIT)</Link> ,
59-
你可以无偿的使用它构建属于自己的博客。
60-
61-
由于缺乏时间维护开源项目,我当前已经不再接受赞助。非常感谢 <NextLink href="/others/sponsors"><Link color>所有的赞助者</Link></NextLink>。
10+
About me.
6211

6312
export default ({ children }) => <Layout meta={meta}>{children}</Layout>

pages/fixed/projects.mdx

Lines changed: 0 additions & 127 deletions
This file was deleted.

pages/others/sponsors.mdx

Lines changed: 0 additions & 43 deletions
This file was deleted.

pages/posts/about.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import Layout from 'lib/components/layout'
2+
import { Button } from '@geist-ui/react'
3+
4+
export const meta = {
5+
title: 'Hello World',
6+
date: '2019-06-03T11:38:04.563Z',
7+
description: '',
8+
}
9+
10+
Welcome to `unix.bio`, run `npm run post` to create your first post.
11+
12+
export default ({ children }) => <Layout meta={meta}>{children}</Layout>

0 commit comments

Comments
 (0)