Skip to content

Commit

Permalink
feat: add ama page
Browse files Browse the repository at this point in the history
  • Loading branch information
CaliCastle committed Jun 28, 2023
1 parent 6632e3b commit 1945ea2
Show file tree
Hide file tree
Showing 6 changed files with 132 additions and 0 deletions.
Binary file added app/(main)/ama/Arc [email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/(main)/ama/Arc [email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/(main)/ama/alipay-qr.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
130 changes: 130 additions & 0 deletions app/(main)/ama/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
import Image from 'next/image'
import Balancer from 'react-wrap-balancer'

import { RichLink } from '~/components/links/RichLink'
import { Container } from '~/components/ui/Container'

import AlipayQR from './alipay-qr.jpg'
import ThankYouLetterScreenshot1 from './Arc [email protected]'
import ThankYouLetterScreenshot2 from './Arc [email protected]'

const title = 'AMA 一对一咨询'
const description =
'Cali 提供一对一的咨询服务(Ask Me Anything)。我有前端开发、全栈开发、UI/UX 设计、创业经验、英语技能、美国留学与工作、内容创作等经验,可以为你解答相关的问题,我也支持纯英语沟通。'

export const metadata = {
title,
description,
openGraph: {
title,
description,
},
twitter: {
title,
description,
card: 'summary_large_image',
},
}

export default function AskMeAnythingPage() {
return (
<Container className="mt-16 sm:mt-24">
<header className="max-w-2xl">
<h1 className="text-4xl font-bold tracking-tight text-zinc-800 dark:text-zinc-100 sm:text-5xl">
Ask Me Anything / 一对一咨询
</h1>
<p className="my-6 text-base text-zinc-600 dark:text-zinc-400">
<Balancer>{description}</Balancer>
</p>
</header>

<article className="prose dark:prose-invert">
<h2>咨询内容</h2>
<p>我可以为你解答以下相关的问题:</p>
<ul>
<li>
<b>前端/全栈开发</b>
:工作难找,或是寻求职场建议?想提升自己的工程师水平?还是想锐评
React vs Vue?
</li>
<li>
<b>UI/UX 设计</b>:不知道如何开始学习设计?想提升自己的设计水平?
</li>
<li>
<b>创业经验</b>
:我是
<RichLink href="https://zolplay.com" target="_blank">
佐玩
</RichLink>
的创始人,现在带领着团队帮助游戏开发者打造协同平台。
</li>
<li>
<b>英语技能</b>:英语能力不足,想提高自己的英语水平?想跟 Cali
一样可以{' '}
<RichLink
href="https://y.qq.com/n/ryqq/songDetail/003c0O9B3firAU"
favicon={false}
target="_blank"
>
英文说唱
</RichLink>
</li>
<li>
<b>其他</b>
:我的美国留学与工作经验,内容创作,音乐制作经验等等都可以帮助你解答一些其他的问题。
</li>
</ul>
<p>
你也可以全程跟我用英语聊,我也非常乐意,因为可能我的英语比中文说的要好。。。
</p>

<h2>定价</h2>
<p>我的一对一咨询的价格为:</p>
<ul>
<li>
<strong>¥150 - 30分钟</strong>
</li>
<li>
<strong>¥300 - 60分钟</strong>
</li>
</ul>

<p className="flex justify-center md:block md:justify-start">
<span className="inline-flex flex-col items-center">
<Image src={AlipayQR} alt="" className="w-44 dark:brightness-90" />
<span className="mt-1 text-sm font-medium">支付宝二维码</span>
</span>
</p>
<p>
一旦你完成支付,通过{' '}
<RichLink
href="https://cal.com/calicastle/ask-me-anything"
target="_blank"
>
这个链接
</RichLink>
来跟我预约一个合适你的时间。
</p>

<h2>感谢信</h2>
<p>
下面两个截图摘选自两名 Twitter
朋友的私信,能够帮助到更多的人一直是我的使命:
</p>
<p className="grid items-center gap-4 lg:grid-cols-2">
<Image
src={ThankYouLetterScreenshot1}
alt=""
className="max-w-full"
/>
<Image
src={ThankYouLetterScreenshot2}
alt=""
className="max-w-full"
/>
</p>
</article>
</Container>
)
}
1 change: 1 addition & 0 deletions config/nav.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ export const navigationItems = [
{ href: '/blog', text: '博客' },
{ href: '/projects', text: '项目' },
{ href: '/guestbook', text: '留言墙' },
{ href: '/ama', text: 'AMA 咨询' },
// { href: '/about', text: '关于' },
]
1 change: 1 addition & 0 deletions middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,6 @@ export default authMiddleware({
'/about',
'/rss',
'/feed',
'/ama',
],
})

0 comments on commit 1945ea2

Please sign in to comment.