mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
Merge branch 'main' into poc/react-nextjs-new-design
This commit is contained in:
@@ -50,8 +50,8 @@ export default async function CategoryPage({
|
||||
{products.length === 0 ? (
|
||||
<p className="py-3 text-lg">{`No products found in this collection`}</p>
|
||||
) : (
|
||||
<div className="mx-auto flex max-w-7xl flex-col bg-white py-6 text-black dark:bg-black dark:text-white md:flex-row">
|
||||
<div className="order-first flex-none md:w-1/6">
|
||||
<div className="mx-auto flex max-w-screen-2xl flex-col gap-8 px-4 pb-4 text-black dark:text-white md:flex-row">
|
||||
<div className="order-first w-full flex-none md:max-w-[125px]">
|
||||
<Collections collection={params.collection} />
|
||||
</div>
|
||||
<div className="order-last min-h-screen w-full md:order-none">
|
||||
@@ -66,7 +66,7 @@ export default async function CategoryPage({
|
||||
/>
|
||||
</nav>
|
||||
</div>
|
||||
<div className="order-none md:order-last md:w-1/6 md:flex-none">
|
||||
<div className="order-none flex-none md:order-last md:w-[125px]">
|
||||
<FilterList list={sorting} title="Sort by" />
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user