Skip to content

Commit

Permalink
chore: remove unused for generate template
Browse files Browse the repository at this point in the history
  • Loading branch information
unix committed Mar 21, 2021
1 parent 36640dc commit 2f8ff45
Show file tree
Hide file tree
Showing 22 changed files with 17 additions and 2,026 deletions.
61 changes: 5 additions & 56 deletions pages/fixed/about.mdx
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>
127 changes: 0 additions & 127 deletions pages/fixed/projects.mdx

This file was deleted.

43 changes: 0 additions & 43 deletions pages/others/sponsors.mdx

This file was deleted.

12 changes: 12 additions & 0 deletions pages/posts/about.mdx
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>
Loading

1 comment on commit 2f8ff45

@vercel
Copy link

@vercel vercel bot commented on 2f8ff45 Mar 21, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.