We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d280677 + d0f174c commit 2e2c37bCopy full SHA for 2e2c37b
frontend/src/pages/Browse.tsx
@@ -45,7 +45,19 @@ const Browse = () => {
45
</p>
46
</div>
47
48
-
+ {/* Search Bar */}
49
+ <div className="mb-8 max-w-2xl mx-auto">
50
+ <div className="relative">
51
+ <Search className="absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400 h-5 w-5" />
52
+ <Input
53
+ type="text"
54
+ placeholder="Search for textbooks, electronics, notes..."
55
+ value={searchQuery}
56
+ onChange={(e) => setSearchQuery(e.target.value)}
57
+ className="pl-10 py-6 text-lg border-2 border-blue-200 focus:border-blue-500 rounded-lg"
58
+ />
59
+ </div>
60
61
62
{/* Products Grid */}
63
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6">
0 commit comments