-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: remove unused for generate template
- Loading branch information
Showing
22 changed files
with
17 additions
and
2,026 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,12 @@ | ||
import Layout from 'lib/components/layout' | ||
import { Button, Row, Spacer, Dot, Link, useModal, Modal, Image } from '@geist-ui/react' | ||
import NextLink from 'next/link' | ||
import { Button } from '@geist-ui/react' | ||
|
||
export const meta = { | ||
title: '关于我', | ||
date: '2019-01-09T10:20:10.027Z', | ||
description: 'description', | ||
title: 'About me', | ||
date: '', | ||
description: '', | ||
} | ||
|
||
export const Btc = () => { | ||
const address = '1KE89oa6aMNaVEPUeQPxLTmQGmXL6W1mGi' | ||
const { setVisible, bindings } = useModal() | ||
return ( | ||
<> | ||
<Button auto size="mini" onClick={() => setVisible(true)}> | ||
Show address of BTC | ||
</Button> | ||
<Modal {...bindings}> | ||
<Modal.Title>BTC</Modal.Title> | ||
<Modal.Subtitle>This is Witt's BTC address</Modal.Subtitle> | ||
<Modal.Content> | ||
<p>{address}</p> | ||
</Modal.Content> | ||
<Modal.Action onClick={({ close }) => close()}>OK</Modal.Action> | ||
</Modal> | ||
</> | ||
) | ||
} | ||
|
||
export const Alipay = () => { | ||
const { setVisible, bindings } = useModal() | ||
return ( | ||
<> | ||
<Button auto size="mini" onClick={() => setVisible(true)}> | ||
Show Alipay | ||
</Button> | ||
<Modal {...bindings}> | ||
<Modal.Title>Alipay</Modal.Title> | ||
<Modal.Subtitle>Scan code with Alipay</Modal.Subtitle> | ||
<Modal.Content> | ||
<Image width={150} height={150} src="/assets/alipay.png" /> | ||
</Modal.Content> | ||
<Modal.Action onClick={({ close }) => close()}>OK</Modal.Action> | ||
</Modal> | ||
</> | ||
) | ||
} | ||
|
||
你好,我是维特,一个自由主义者,<del>JavaScript 全栈?</del> 工程师。对 Serverless 与 DX (Developer experience) 很感兴趣。 | ||
喜欢 `CoffeeScript` 与 `Ruby`,但一直在写 `TypeScript`。主要贡献是创造一些应用和类库来帮助提高开发者体验。 | ||
|
||
我很少写博客,_Hello World_ 文章实在讨人厌,不想成为智障。但水平不够写不出好东西,所以不写。如果你发现博文更新,那就是我的工作不饱和了。 | ||
此外这里也提供 **Review** 服务,你可以在 <Link color rel="nofollow" target="_blank" href="https://review.unix.bio">Review It</Link> 中提交自己的 `Pull Request` 链接, | ||
我会在收到通知后立刻帮你分析代码,并尽可能多的提出对提高你编程能力有显著帮助的建议。 | ||
|
||
我非常乐意倾听来自你的想法,你可以通过 <Link rel="nofollow" color target="_blank" href="mailto:[email protected]">邮件</Link> 与我取得联系。 | ||
现在你所见的站点来自我的开源项目 <Link rel="nofollow" href="https://github.com/unix/unix.bio">unix/unix.bio (MIT)</Link> , | ||
你可以无偿的使用它构建属于自己的博客。 | ||
|
||
由于缺乏时间维护开源项目,我当前已经不再接受赞助。非常感谢 <NextLink href="/others/sponsors"><Link color>所有的赞助者</Link></NextLink>。 | ||
About me. | ||
|
||
export default ({ children }) => <Layout meta={meta}>{children}</Layout> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import Layout from 'lib/components/layout' | ||
import { Button } from '@geist-ui/react' | ||
|
||
export const meta = { | ||
title: 'Hello World', | ||
date: '2019-06-03T11:38:04.563Z', | ||
description: '', | ||
} | ||
|
||
Welcome to `unix.bio`, run `npm run post` to create your first post. | ||
|
||
export default ({ children }) => <Layout meta={meta}>{children}</Layout> |
Oops, something went wrong.
2f8ff45
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: