forked from crowetic/commerce
changes
This commit is contained in:
parent
1ee30a8a7d
commit
40b5f52622
@ -26,6 +26,7 @@
|
|||||||
|
|
||||||
.positionIndicatorsContainer {
|
.positionIndicatorsContainer {
|
||||||
@apply hidden;
|
@apply hidden;
|
||||||
|
|
||||||
@screen sm {
|
@screen sm {
|
||||||
@apply block absolute bottom-6 left-1/2 -translate-x-1/2 transform;
|
@apply block absolute bottom-6 left-1/2 -translate-x-1/2 transform;
|
||||||
}
|
}
|
||||||
@ -33,14 +34,6 @@
|
|||||||
|
|
||||||
.positionIndicator {
|
.positionIndicator {
|
||||||
@apply rounded-full p-2;
|
@apply rounded-full p-2;
|
||||||
|
|
||||||
/* :hover .dot {
|
|
||||||
@apply bg-hover-2;
|
|
||||||
}
|
|
||||||
|
|
||||||
:focus .dot {
|
|
||||||
@apply outline-none;
|
|
||||||
} */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.dot {
|
.dot {
|
||||||
@ -66,11 +59,3 @@
|
|||||||
.positionIndicatorActive:hover .dot {
|
.positionIndicatorActive:hover .dot {
|
||||||
@apply bg-white;
|
@apply bg-white;
|
||||||
}
|
}
|
||||||
/* sx={{
|
|
||||||
width: '10px',
|
|
||||||
height: '10px',
|
|
||||||
bg: currentSlide === idx ? 'primary' : 'gray',
|
|
||||||
borderRadius: 'full',
|
|
||||||
mx: 2,
|
|
||||||
'&:focus': { outline: 'none' },
|
|
||||||
}} */
|
|
||||||
|
@ -78,8 +78,9 @@ const ProductView: FC<Props> = ({ product, className }) => {
|
|||||||
<ProductSlider>
|
<ProductSlider>
|
||||||
{product.images.edges?.map((image, i) => (
|
{product.images.edges?.map((image, i) => (
|
||||||
<Image
|
<Image
|
||||||
key={image?.node.urlOriginal}
|
className={s.img}
|
||||||
src={image?.node.urlOriginal!}
|
key={image?.node.urlXL}
|
||||||
|
src={image?.node.urlXL!}
|
||||||
width={1050}
|
width={1050}
|
||||||
height={1050}
|
height={1050}
|
||||||
priority={i === 0}
|
priority={i === 0}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user