mirror of
https://github.com/neynarxyz/create-farcaster-mini-app.git
synced 2025-12-05 08:52:31 -05:00
24 lines
705 B
TypeScript
24 lines
705 B
TypeScript
"use client";
|
|
|
|
/**
|
|
* HomeTab component displays the main landing content for the mini app.
|
|
*
|
|
* This is the default tab that users see when they first open the mini app.
|
|
* It provides a simple welcome message and placeholder content that can be
|
|
* customized for specific use cases.
|
|
*
|
|
* @example
|
|
* ```tsx
|
|
* <HomeTab />
|
|
* ```
|
|
*/
|
|
export function HomeTab() {
|
|
return (
|
|
<div className="flex items-center justify-center h-[calc(100vh-200px)] px-6">
|
|
<div className="text-center w-full max-w-md mx-auto">
|
|
<p className="text-lg mb-2">Put your content here!</p>
|
|
<p className="text-sm text-gray-500 dark:text-gray-400">Powered by Neynar 🪐</p>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|