Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 36 additions & 0 deletions client/src/Pages/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,42 @@ const Home = () => {
<SearchBar onSearch={handleSearch} />


{/* Book Categories Section */}
<section className="container mx-auto my-8">
<h2 className="text-3xl font-bold mb-6 text-gray-800">Book Categories</h2>
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6">
<div className="bg-white rounded-lg shadow-lg p-6 slide-in hover:cursor-pointer hover:bg-gray-300 hover:duration-500 hover:scale-105 hover:opacity-90">
<h3 className="text-xl font-bold mb-2">Romance</h3>
<p className="text-gray-600">Explore our collection of romantic novels.</p>
</div>
<div className="bg-white rounded-lg shadow-lg p-6 slide-in hover:cursor-pointer hover:bg-gray-300 hover:duration-500 hover:scale-105 hover:opacity-90">
<h3 className="text-xl font-bold mb-2">Action</h3>
<p className="text-gray-600">Dive into thrilling action-packed stories.</p>
</div>
<div className="bg-white rounded-lg shadow-lg p-6 slide-in hover:cursor-pointer hover:bg-gray-300 hover:duration-500 hover:scale-105 hover:opacity-90">
<h3 className="text-xl font-bold mb-2">Thriller</h3>
<p className="text-gray-600">Get your adrenaline pumping with our thrillers.</p>
</div>
<div className="bg-white rounded-lg shadow-lg p-6 slide-in hover:cursor-pointer hover:bg-gray-300 hover:duration-500 hover:scale-105 hover:opacity-90">
<h3 className="text-xl font-bold mb-2">Fiction</h3>
<p className="text-gray-600">Discover imaginative and captivating fiction.</p>
</div>
<div className="bg-white rounded-lg shadow-lg p-6 slide-in hover:cursor-pointer hover:bg-gray-300 hover:duration-500 hover:scale-105 hover:opacity-90">
<h3 className="text-xl font-bold mb-2">Tech</h3>
<p className="text-gray-600">Stay updated with the latest in technology.</p>
</div>
<div className="bg-white rounded-lg shadow-lg p-6 slide-in hover:cursor-pointer hover:bg-gray-300 hover:duration-500 hover:scale-105 hover:opacity-90">
<h3 className="text-xl font-bold mb-2">Philosophy</h3>
<p className="text-gray-600">Dive deep into philosophical thoughts and ideas.</p>
</div>
<div className="bg-white rounded-lg shadow-lg p-6 slide-in hover:cursor-pointer hover:bg-gray-300 hover:duration-500 hover:scale-105 hover:opacity-90">
<h3 className="text-xl font-bold mb-2">Manga</h3>
<p className="text-gray-600">Explore our extensive collection of Manga.</p>
</div>
</div>
</section>


{/* Image Container */}
<header className="bg-white shadow">
<div className="container mx-auto p-6">
Expand Down