mirror of
https://github.com/neynarxyz/create-farcaster-mini-app.git
synced 2025-11-16 16:18:55 -05:00
27 lines
723 B
TypeScript
27 lines
723 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>
|
|
);
|
|
}
|