diff --git a/components/core/Navbar/Navbar.tsx b/components/core/Navbar/Navbar.tsx index 5b1172754..39e22eb17 100644 --- a/components/core/Navbar/Navbar.tsx +++ b/components/core/Navbar/Navbar.tsx @@ -20,7 +20,7 @@ const Navbar: FC = ({ className }) => { - ) } diff --git a/components/product/ProductCard/ProductCard.module.css b/components/product/ProductCard/ProductCard.module.css index 7846da50e..d0ea6d80c 100644 --- a/components/product/ProductCard/ProductCard.module.css +++ b/components/product/ProductCard/ProductCard.module.css @@ -65,23 +65,40 @@ @apply transform absolute inset-0 z-0 bg-secondary; } -.squareBg.gray { - @apply bg-gray-300 !important; +.simple { + & .squareBg { + @apply bg-gray-300 !important; + } + + & .productTitle { + width: 18vw; + margin-top: -7px; + font-size: 1rem; + } + + & .productPrice { + @apply text-sm; + } } .productTitle { - line-height: 40px; - width: 18vw; + @apply pt-4 leading-8; + width: 400px; + font-size: 2rem; + letter-spacing: 0.4px; & span { - @apply inline text-2xl leading-6 p-4 bg-primary text-primary font-bold; + @apply inline p-4 bg-primary text-primary font-bold; + font-size: inherit; + letter-spacing: inherit; box-decoration-break: clone; -webkit-box-decoration-break: clone; } } .productPrice { - @apply px-3 py-1 pb-2 bg-primary text-base font-semibold inline-block text-sm leading-6; + @apply py-4 px-4 bg-primary text-base font-semibold inline-block text-sm leading-6; + letter-spacing: 0.4px; } .wishlistButton { diff --git a/components/product/ProductCard/ProductCard.tsx b/components/product/ProductCard/ProductCard.tsx index cae070fbd..dc04715c2 100644 --- a/components/product/ProductCard/ProductCard.tsx +++ b/components/product/ProductCard/ProductCard.tsx @@ -31,19 +31,21 @@ const ProductCard: FC = ({ className, product: p, variant }) => { return ( - +
-
+
-
-

+

+

{p.name} -

+

${p.prices?.price.value}
diff --git a/components/product/ProductView/ProductView.module.css b/components/product/ProductView/ProductView.module.css index e86769c44..99346db11 100644 --- a/components/product/ProductView/ProductView.module.css +++ b/components/product/ProductView/ProductView.module.css @@ -37,7 +37,9 @@ @apply absolute top-6 left-0 z-50; & .name { - @apply px-6 py-2 bg-primary text-primary font-bold text-3xl; + @apply px-6 py-2 bg-primary text-primary font-bold; + font-size: 2rem; + letter-spacing: 0.4px; } & .price { diff --git a/components/ui/Container/Container.tsx b/components/ui/Container/Container.tsx index fa3c725f0..b8e07ee07 100644 --- a/components/ui/Container/Container.tsx +++ b/components/ui/Container/Container.tsx @@ -8,7 +8,7 @@ interface Props { } const Container: FC = ({ children, className, el = 'div' }) => { - const rootClassName = cn('mx-auto max-w-7xl px-6 md:px-12', className) + const rootClassName = cn('mx-auto max-w-7xl px-3 md:px-6', className) let Component: React.ComponentType * { min-height: 325px; diff --git a/pages/search.tsx b/pages/search.tsx index be2b28ee2..15f1b1ba0 100644 --- a/pages/search.tsx +++ b/pages/search.tsx @@ -59,7 +59,7 @@ export default function Search({ return ( -
+
  • @@ -143,6 +143,7 @@ export default function Search({ {data.products.map(({ node }) => (