Amir Hossein Moghiseh 2025-02-25 17:49:08 +03:30
parent 5694fedd92
commit f9ed5b73d2
2 changed files with 3 additions and 3 deletions

View File

@ -58,8 +58,8 @@ const ProductRelated = ({ category, brand }) => {
const fetchProducts = async () => {
const { products_connection: { nodes } } = await graphql(gql, {
categoryId: brand.documentId ? "" : category.documentId,
brandId: brand.documentId ? brand.documentId : "",
categoryId: brand?.documentId ? "" : category?.documentId,
brandId: brand?.documentId ? brand?.documentId : "",
locale: "en"
})

View File

@ -14,7 +14,7 @@ const AboutUs = () => {
</pattern>
<rect width="100%" height="100%" fill="url(#diagonalLines)" />
</svg>
<div className=" min-h-[calc(100vh-108px)] flex flex-col items-center justify-center relative lg:-mt-16 mt-8 -z-10 text-center ">
<div className="min-h-[calc(100vh-108px)] flex flex-col items-center justify-center relative mt-8 -z-10 text-center ">
<div className="max-w-screen-xl mx-auto">