52 lines
1.7 KiB
TypeScript
52 lines
1.7 KiB
TypeScript
import Link from "next/link"
|
||
|
||
export const metadata = {
|
||
title: "tonesc 红包 - 私有红包应用",
|
||
description: "创建红包,分享给好友抽取。移动端优先,安全高精度金额,红包仅限收到链接的人抽取。",
|
||
keywords: "红包, 私有红包, 随机红包, 创建红包, 分享红包, tonesc",
|
||
robots: "index, follow",
|
||
openGraph: {
|
||
title: "Tonesc 红包 - 私有红包应用",
|
||
description: "创建红包,分享给好友抽取。移动端优先,安全高精度金额,红包仅限收到链接的人抽取。",
|
||
url: "https://redpacket.lab.tonesc.com/",
|
||
siteName: "tonesc 红包",
|
||
type: "website",
|
||
images: [
|
||
{
|
||
url: "https://redpacket.lab.tonesc.com/og-image.png",
|
||
width: 1200,
|
||
height: 630,
|
||
alt: "tonesc 红包"
|
||
}
|
||
]
|
||
},
|
||
}
|
||
|
||
export default function HomePage() {
|
||
return (
|
||
<main className="min-h-screen bg-red-50 flex flex-col items-center justify-center p-4">
|
||
<header className="mb-8 text-center">
|
||
<h1 className="text-4xl font-bold text-red-600">🎁 tonesc 红包</h1>
|
||
<p className="text-gray-600 mt-2">
|
||
创建红包,分享给好友抽取
|
||
</p>
|
||
</header>
|
||
|
||
<div className="w-full max-w-sm flex flex-col items-center space-y-4">
|
||
{/* 创建红包入口 */}
|
||
<Link
|
||
href="/create"
|
||
className="w-full py-4 bg-yellow-400 text-red-700 font-bold rounded-2xl shadow-md text-center text-lg active:scale-95 transition-transform"
|
||
>
|
||
创建红包
|
||
</Link>
|
||
|
||
{/* 可选的说明 */}
|
||
<p className="text-gray-500 text-sm text-center">
|
||
红包仅限收到链接的人抽取,不公开展示。
|
||
</p>
|
||
</div>
|
||
</main>
|
||
)
|
||
}
|