diff --git a/messages/en.json b/messages/en.json index 617d54e..012d553 100644 --- a/messages/en.json +++ b/messages/en.json @@ -41,6 +41,13 @@ "message": "Message", "submit": "Submit" }, + "WaitlistPage": { + "title": "Waitlist", + "subtitle": "Join our waitlist for latest news and updates", + "formDescription": "We will send you only one email every week, and no spam", + "email": "Email", + "subscribe": "Subscribe" + }, "AuthPage": { "login": { "title": "Login", diff --git a/messages/zh.json b/messages/zh.json index cf5d9a3..c3005d2 100644 --- a/messages/zh.json +++ b/messages/zh.json @@ -38,6 +38,13 @@ "message": "消息", "submit": "提交" }, + "WaitlistPage": { + "title": "邮件列表", + "subtitle": "加入我们的邮件列表,获取最新消息和更新", + "formDescription": "我们每周只发送一封邮件,并且不会发送垃圾邮件", + "email": "邮箱", + "subscribe": "订阅" + }, "AuthPage": { "login": { "title": "登录", diff --git a/src/app/[locale]/(marketing)/(pages)/contact/page.tsx b/src/app/[locale]/(marketing)/(pages)/contact/page.tsx index 9b9fa7d..5f62f2c 100644 --- a/src/app/[locale]/(marketing)/(pages)/contact/page.tsx +++ b/src/app/[locale]/(marketing)/(pages)/contact/page.tsx @@ -14,7 +14,7 @@ export default function ContactPage() { const t = useTranslations('ContactPage'); return ( -
+
{/* Header */}

diff --git a/src/app/[locale]/(marketing)/(pages)/waitlist/page.tsx b/src/app/[locale]/(marketing)/(pages)/waitlist/page.tsx new file mode 100644 index 0000000..0b3c7db --- /dev/null +++ b/src/app/[locale]/(marketing)/(pages)/waitlist/page.tsx @@ -0,0 +1,50 @@ +"use client"; + +import { Button } from '@/components/ui/button'; +import { Card } from '@/components/ui/card'; +import { Input } from '@/components/ui/input'; +import { Label } from '@/components/ui/label'; +import { useTranslations } from 'next-intl'; + +/** + * + */ +export default function WaitlistPage() { + const t = useTranslations('WaitlistPage'); + + return ( +
+ {/* Header */} +
+

+ {t('title')} +

+

+ {t('subtitle')} +

+
+ + {/* Form */} + +
+

+ {t('formDescription')} +

+
+ +
+
+ + +
+ + +
+
+
+ ) +}