diff --git a/app/components/MyLayout.tsx b/app/components/MyLayout.tsx index 4605fee..22cfcc1 100644 --- a/app/components/MyLayout.tsx +++ b/app/components/MyLayout.tsx @@ -39,7 +39,9 @@ const MyLayout = React.memo(({ children }: { children: React.ReactNode }) => { p.startsWith("/seller/") || p === "/collections" || p.startsWith("/collection/") || - p === "/cart"; + p === "/cart" || + p.startsWith("/cart/") || + p === "/profile"; // Auth pages get a full-width desktop canvas (so they can center their own // card) but no shopping header/footer. const isAuth = p === "/login" || p === "/logout"; diff --git a/app/components/cart/CartSummary.tsx b/app/components/cart/CartSummary.tsx index 9dc4b0d..b130f09 100644 --- a/app/components/cart/CartSummary.tsx +++ b/app/components/cart/CartSummary.tsx @@ -15,7 +15,7 @@ export const CartSummary = ({ step, isLoading, }: CartSummaryProps) => ( -
+
diff --git a/app/routes/profile._index.tsx b/app/routes/profile._index.tsx index a226e66..9e066bd 100644 --- a/app/routes/profile._index.tsx +++ b/app/routes/profile._index.tsx @@ -125,7 +125,10 @@ export default function Profile() { ]; const navigate = useNavigate(); return ( -
+
+

+ حساب کاربری +

+
{items.map((item: MenuItemType, index: number) => { // Special handling for "support" item if (item.pageName === "support") { @@ -239,7 +242,7 @@ const MenuItem = ({ const MenuItemContent = ({ item }: { item: MenuItemType }) => { return (
{item.image}