Files
tonesc-red-packet/tonesc-red-packet/app/page.tsx
2026-01-07 23:22:15 +08:00

52 lines
1.7 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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>
)
}