← back to Handbag Auth Nextjs
src/app/search/page.tsx
101 lines
'use client'
import { UnifiedSearch } from '@/components/UnifiedSearch'
export default function SearchPage() {
return (
<div className="min-h-screen bg-gradient-to-br from-purple-50 via-white to-pink-50">
<div className="container mx-auto px-4 py-8">
{/* Header */}
<div className="text-center mb-8">
<h1 className="text-4xl font-bold text-gray-900 mb-2">
🔍 Universal Search
</h1>
<p className="text-gray-600 text-lg">
Search across all luxury handbag data sources
</p>
<p className="text-sm text-gray-500 mt-2">
Listings • Auctions • Arbitrage Opportunities • Price History
</p>
</div>
{/* Search Component */}
<div className="max-w-4xl mx-auto bg-white rounded-2xl shadow-xl p-6">
<UnifiedSearch
placeholder="Search for brands, models, or specific items..."
autoFocus={true}
showFilters={true}
/>
</div>
{/* Info Cards */}
<div className="max-w-4xl mx-auto mt-8 grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4">
<div className="bg-white rounded-lg shadow p-4 border-l-4 border-blue-500">
<div className="text-2xl mb-2">🛍️</div>
<h3 className="font-semibold text-gray-900 mb-1">Listings</h3>
<p className="text-sm text-gray-600">
Current luxury handbag listings from premium marketplaces
</p>
</div>
<div className="bg-white rounded-lg shadow p-4 border-l-4 border-purple-500">
<div className="text-2xl mb-2">🔨</div>
<h3 className="font-semibold text-gray-900 mb-1">Auctions</h3>
<p className="text-sm text-gray-600">
Live and upcoming auction house listings with estimates
</p>
</div>
<div className="bg-white rounded-lg shadow p-4 border-l-4 border-green-500">
<div className="text-2xl mb-2">💰</div>
<h3 className="font-semibold text-gray-900 mb-1">Arbitrage</h3>
<p className="text-sm text-gray-600">
Cross-market profit opportunities with verified data
</p>
</div>
<div className="bg-white rounded-lg shadow p-4 border-l-4 border-orange-500">
<div className="text-2xl mb-2">📈</div>
<h3 className="font-semibold text-gray-900 mb-1">Price History</h3>
<p className="text-sm text-gray-600">
Historical price trends and market analysis
</p>
</div>
</div>
{/* Search Tips */}
<div className="max-w-4xl mx-auto mt-8 bg-purple-50 border border-purple-200 rounded-lg p-6">
<h3 className="font-semibold text-purple-900 mb-3 flex items-center gap-2">
<svg className="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
<path fillRule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z" clipRule="evenodd" />
</svg>
Search Tips
</h3>
<ul className="space-y-2 text-sm text-purple-800">
<li className="flex items-start gap-2">
<span className="text-purple-600 font-bold">•</span>
<span><strong>Brand search:</strong> Try "Hermès", "Louis Vuitton", or "Chanel"</span>
</li>
<li className="flex items-start gap-2">
<span className="text-purple-600 font-bold">•</span>
<span><strong>Model search:</strong> Try "Birkin", "Neverfull", or "Classic Flap"</span>
</li>
<li className="flex items-start gap-2">
<span className="text-purple-600 font-bold">•</span>
<span><strong>Condition search:</strong> Try "excellent", "new", or "vintage"</span>
</li>
<li className="flex items-start gap-2">
<span className="text-purple-600 font-bold">•</span>
<span><strong>Price filters:</strong> Set min/max prices to narrow results</span>
</li>
<li className="flex items-start gap-2">
<span className="text-purple-600 font-bold">•</span>
<span><strong>Source filters:</strong> Toggle data sources to focus your search</span>
</li>
</ul>
</div>
</div>
</div>
)
}