diff --git a/app/routes/seller.$sellerId._index.tsx b/app/routes/seller.$sellerId._index.tsx index 0acf149..99c6b47 100644 --- a/app/routes/seller.$sellerId._index.tsx +++ b/app/routes/seller.$sellerId._index.tsx @@ -19,8 +19,9 @@ import { UserMinus, Shirt, BadgeCheck, + ArrowRight, + MessageCircle, } from "lucide-react"; -import HeaderWithSupport from "../components/HeaderWithSupport"; import { useState, useEffect } from "react"; import { DrawerContent, Drawer } from "../components/ui/drawer"; import { Button } from "../components/ui/button"; @@ -283,96 +284,115 @@ export default function Seller() {
- {/* Mobile header */} -
- -
- + {/* Mobile brand header (cover + overlapping logo + stats + actions) */} +
+ {/* Cover */} +
+
+ +
+ {/* Head */} +
+
+ {seller?.storeLogo ? ( + {seller?.storeName + ) : null} +
+

+ {seller?.storeName} + {seller?.isVerified ? ( + + ) : null} +

+ {seller?.username ? ( +

+ @{seller.username} +

+ ) : null} + {/* Stats */} +
+
+ + {seller?.productCount ?? 0} + + محصول +
+
+ + {seller?.followerCount ?? 0} + + دنبال‌کننده +
+
+ + {seller?.productReviewsCount ? seller?.reviewAverage : "—"} + {seller?.productReviewsCount ? ( + + ) : null} + + امتیاز +
+
+ {/* Description */} + {seller?.storeDescription ? ( +
+ +
+ ) : null} + {/* Actions */} +
+ + +
-
-
-
-

{seller?.followerCount}

-

دنبال کننده

-
-
- {seller?.productReviewsCount ? ( - <> -
-

{seller?.reviewAverage}

-

- (از {seller?.productReviewsCount} نظر) -

-
-
- {Array.from({ length: 5 }).map((_, index) => ( - - ))} -
- - ) : ( -

بدون امتیاز

- )} -
-
-

{seller?.productCount}

-

تعداد محصولات

-
-
-
-
- -
-
- - -
{/* Search Bar (mobile) */}