mirror of
https://github.com/vercel/commerce.git
synced 2025-05-19 07:56:59 +00:00
wip: Saving work
This commit is contained in:
parent
2319ed72db
commit
0580deda76
@ -7,7 +7,7 @@ import Label from '../label';
|
|||||||
import { GridTileImage } from './tile';
|
import { GridTileImage } from './tile';
|
||||||
|
|
||||||
function ThreeItemGridItem({ item, priority }: { item: Product; priority?: boolean }) {
|
function ThreeItemGridItem({ item, priority }: { item: Product; priority?: boolean }) {
|
||||||
const size = item?.variants?.[0]?.selectedOptions?.find((option) => option.name === 'size');
|
const size = item?.variants?.[0]?.selectedOptions?.find((option) => option.name === 'Size');
|
||||||
return (
|
return (
|
||||||
<div className={clsx('col-span-1 row-span-1 md:col-span-2 md:row-span-1')}>
|
<div className={clsx('col-span-1 row-span-1 md:col-span-2 md:row-span-1')}>
|
||||||
<Link
|
<Link
|
||||||
|
@ -137,7 +137,6 @@ export function MenuModal() {
|
|||||||
className="font-serif text-4xl font-normal transition-opacity duration-150 hover:opacity-50"
|
className="font-serif text-4xl font-normal transition-opacity duration-150 hover:opacity-50"
|
||||||
>
|
>
|
||||||
{currentDictionary?.menu?.contact}
|
{currentDictionary?.menu?.contact}
|
||||||
contact
|
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -28,6 +28,9 @@ const productFragment = /* GraphQL */ `
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
variants(first: 250) {
|
variants(first: 250) {
|
||||||
|
nodes {
|
||||||
|
id
|
||||||
|
}
|
||||||
edges {
|
edges {
|
||||||
node {
|
node {
|
||||||
id
|
id
|
||||||
|
Loading…
x
Reference in New Issue
Block a user