Looking at the screenshots:
Let me fix these issues and add 50 more products.
I see the issue - the SheetContent component has a built-in close button, plus the header has a custom close button. Let me fix the header and also modify the sheet to remove the built-in close button when we're handling it ourselves. I'll also improve the style selector for mobile.
Now let me improve the mobile style selector to look better and be more prominent on mobile. I'll also hide it from the header actions on mobile and only show it in the mobile menu.
Now let me make the mobile menu personalization section more prominent and better looking.
Now let me update the StyleSelector to accept an isMobile prop for a different mobile layout.
Now let me add 50 more products to Sanity. First let me load the necessary tools.
Now let me create 50 more products in batches. I'll create diverse fashion items across all categories and segments.
Let me create more products to reach 50 total new products.
Now let me publish all the new products. Let me first query all draft documents to get their IDs.
I need to also check and publish the remaining draft products that weren't in the first batch.
All products are now published. I've completed the following updates:
Fixed Issues:
hideCloseButton prop to the Sheet component and set it to true when we have a custom close button in the menu headerAdded 50 New Products:
Now I'll update the header to replace the search icon with a personalize button on mobile. The StyleSelector will be shown directly in the header on mobile instead of requiring users to open the menu.
Now let me update the StyleSelector to have a better compact mobile view that fits nicely in the header.
I've made the following changes:
hidden sm:flex) and only shows on tablet and larger screenshidden sm:block div, so it shows in the header on all screen sizes