Files
storybid/packages/client/src/pages/bidder/HomePage.tsx
T

28 lines
918 B
TypeScript
Raw Normal View History

2026-05-02 19:46:42 -05:00
/**
* Bidder home event welcome screen, quick nav to Live / Silent / My Bids.
* TODO: fetch event details, show upcoming lots, paddle number, QR code.
*/
export default function HomePage() {
return (
<main className="p-4 space-y-4">
<h1 className="text-2xl font-bold">Welcome to the Auction</h1>
<nav className="grid grid-cols-2 gap-3">
{[
{ label: "🎙 Live Auction", href: "/live" },
{ label: "🔇 Silent Auction", href: "/silent" },
{ label: "📋 My Bids", href: "/my-bids" },
{ label: "💳 Checkout", href: "/checkout" },
].map(({ label, href }) => (
<a
key={href}
href={href}
className="block rounded-xl border border-gray-200 p-5 text-center font-semibold text-brand-700 hover:bg-brand-50"
>
{label}
</a>
))}
</nav>
</main>
);
}