Skip to content

Commit b22809d

Browse files
committed
style: minor UI fixes
1 parent f70a037 commit b22809d

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/components/Products/ProductCard.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ const ProductCard = forwardRef(({ product }, ref) => {
230230
onClick={(e) => handleActionClick(e, handleWishlistToggle)}
231231
className={`
232232
flex items-center justify-center px-4 py-3 rounded-l-xl border-2 transition-colors duration-150 hover:shadow-lg cursor-pointer focus:outline-none
233-
${isWishlisted ? 'bg-[#023e8a] border-[#023e8a] text-white hover:bg-[#1054ab]' : 'bg-white border-[#023e8a] text-[#023e8a] hover:text-[#1054ab]'}
233+
${isWishlisted ? 'bg-[#023e8a] border-[#023e8a] text-white hover:bg-[#1054ab] hover:border-[#1054ab]' : 'bg-white border-[#023e8a] text-[#023e8a] hover:text-[#1054ab] hover:border-[#1054ab]'}
234234
`}
235235
aria-label={isWishlisted ? 'Remove from wishlist' : 'Add to wishlist'}
236236
aria-pressed={isWishlisted}

src/components/RecentlyViewed.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ export default function RecentlyViewed() {
4242
const visibleItems = items.slice(currentIndex, currentIndex + itemsPerPage);
4343

4444
return (
45-
<section className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
45+
<section className="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
4646
{/* Header section with title and navigation arrows */}
4747
<div className="flex items-center justify-between mb-8">
48-
<h2 className="text-5xl lg:text-heading-xxl font-montserrat leading-none uppercase text-center tracking-tight py-10 text-stroke-black">
48+
<h2 className="text-5xl lg:text-heading-xxl font-montserrat text-black leading-none uppercase text-center tracking-tight py-10 text-stroke-black">
4949
RECENTLY
5050
<span className="ml-5 text-[#f7faff]">VIEWED</span>
5151
</h2>

src/pages/Products/Products.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export default function Products() {
5555
<main className="min-h-screen" style={{ backgroundColor: '#F7FAFF' }}>
5656
{/* Banner Section */}
5757
<section className="bg-gradient-to-br from-blue-900 via-blue-800 to-purple-900 text-white py-20">
58-
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
58+
<div className="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8">
5959
<div className="text-center">
6060
<h1 className="text-5xl md:text-6xl font-bold mb-6 font-montserrat bg-gradient-to-r from-white to-blue-100 bg-clip-text text-transparent">
6161
All Products
@@ -69,7 +69,7 @@ export default function Products() {
6969
</section>
7070

7171
{/* Toolbar Section */}
72-
<section className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
72+
<section className="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
7373
<div className="flex justify-between items-center">
7474
{/* Left: All Filters button (non-functional) */}
7575
<button className="flex items-center gap-2 bg-transparent text-gray-700 px-6 py-3 rounded-lg font-medium border border-gray-300 hover:border-blue-500 hover:text-blue-600 hover:bg-blue-50 transition-all duration-300">
@@ -93,7 +93,7 @@ export default function Products() {
9393
</section>
9494

9595
{/* Product Grid Section */}
96-
<section className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 pb-12">
96+
<section className="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 pb-12">
9797
<div key={productListKey} className="flex flex-col gap-8">
9898
<div className="w-full">
9999
{error && (

0 commit comments

Comments
 (0)