|
|
@ -109,7 +109,7 @@ if (!isMobile){ |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<div |
|
|
|
<div |
|
|
|
className="flex items-start justify-between" |
|
|
|
className="flex items-start justify-between" |
|
|
|
style={{ width: "93.5%", direction: "rtl" }} |
|
|
|
style={{ width: "93.5%", direction: "rtl", height: '100vh' }} |
|
|
|
> |
|
|
|
> |
|
|
|
{popup ? ( |
|
|
|
{popup ? ( |
|
|
|
<ServicePopUp |
|
|
|
<ServicePopUp |
|
|
@ -119,10 +119,10 @@ if (!isMobile){ |
|
|
|
) : null} |
|
|
|
) : null} |
|
|
|
<div |
|
|
|
<div |
|
|
|
className="w-3/4 flex flex-col justify-center " |
|
|
|
className="w-3/4 flex flex-col justify-center " |
|
|
|
style={{ marginTop: "5.5%" }} |
|
|
|
style={{ paddingTop:'5.5%', height: '100vh' }} |
|
|
|
> |
|
|
|
> |
|
|
|
<div |
|
|
|
<div |
|
|
|
className="relative h-48 w-full border-b border-red82OP my-4 px-10" |
|
|
|
className="h-48 w-full border-b border-red82OP my-4 px-10" |
|
|
|
style={{ direction: "ltr" }} |
|
|
|
style={{ direction: "ltr" }} |
|
|
|
> |
|
|
|
> |
|
|
|
{/* { |
|
|
|
{/* { |
|
|
@ -224,8 +224,7 @@ if (!isMobile){ |
|
|
|
<div |
|
|
|
<div |
|
|
|
className={`flex w-32 border-2 p-2 mx-2 justify-center items-center rounded-md cursor-pointer
|
|
|
|
className={`flex w-32 border-2 p-2 mx-2 justify-center items-center rounded-md cursor-pointer
|
|
|
|
hover:border-red52 hover:text-red52 hover:bg-pinkF5
|
|
|
|
hover:border-red52 hover:text-red52 hover:bg-pinkF5
|
|
|
|
${ |
|
|
|
${filterCheck[0] |
|
|
|
filterCheck[0] |
|
|
|
|
|
|
|
? "border-red52 text-red52 bg-pinkF5" |
|
|
|
? "border-red52 text-red52 bg-pinkF5" |
|
|
|
: "border-gray200 text-gray-400" |
|
|
|
: "border-gray200 text-gray-400" |
|
|
|
}`}
|
|
|
|
}`}
|
|
|
@ -264,8 +263,7 @@ if (!isMobile){ |
|
|
|
<div |
|
|
|
<div |
|
|
|
className={`flex w-32 border-2 p-2 mx-2 justify-center items-center rounded-md cursor-pointer
|
|
|
|
className={`flex w-32 border-2 p-2 mx-2 justify-center items-center rounded-md cursor-pointer
|
|
|
|
hover:border-red52 hover:text-red52 hover:bg-pinkF5
|
|
|
|
hover:border-red52 hover:text-red52 hover:bg-pinkF5
|
|
|
|
${ |
|
|
|
${filterCheck[0] |
|
|
|
filterCheck[0] |
|
|
|
|
|
|
|
? "border-red52 text-red52 bg-pinkF5" |
|
|
|
? "border-red52 text-red52 bg-pinkF5" |
|
|
|
: "border-gray200 text-gray-400" |
|
|
|
: "border-gray200 text-gray-400" |
|
|
|
}`}
|
|
|
|
}`}
|
|
|
@ -314,9 +312,8 @@ if (!isMobile){ |
|
|
|
</div>} |
|
|
|
</div>} |
|
|
|
|
|
|
|
|
|
|
|
<div |
|
|
|
<div |
|
|
|
className={`flex ${ |
|
|
|
className={`flex
|
|
|
|
gameId == 2 && "flex-col" |
|
|
|
} items-center w-full justify-center overflow-x-hidden overflow-scroll flex-wrap h-full `}
|
|
|
|
} items-center w-full justify-center flex-wrap `}
|
|
|
|
|
|
|
|
> |
|
|
|
> |
|
|
|
{books?.map((product, index) => ( |
|
|
|
{books?.map((product, index) => ( |
|
|
|
<div |
|
|
|
<div |
|
|
@ -423,11 +420,12 @@ if (!isMobile){ |
|
|
|
} |
|
|
|
} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{!isMobile && <div className="w-1/4 fixed left-0" style={{ height: "100vh" }}> |
|
|
|
{!isMobile && <div className="w-1/4 left-0" style={{ height: "100vh" }}> |
|
|
|
<ShoppingCart /> |
|
|
|
<ShoppingCart /> |
|
|
|
</div>} |
|
|
|
</div>} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
);} |
|
|
|
); |
|
|
|
|
|
|
|
} |
|
|
|
// Mobile Version
|
|
|
|
// Mobile Version
|
|
|
|
else { |
|
|
|
else { |
|
|
|
return ( |
|
|
|
return ( |
|
|
@ -501,8 +499,7 @@ if (!isMobile){ |
|
|
|
<div |
|
|
|
<div |
|
|
|
className={`flex w-32 border-2 p-2 mx-2 justify-center items-center rounded-md cursor-pointer
|
|
|
|
className={`flex w-32 border-2 p-2 mx-2 justify-center items-center rounded-md cursor-pointer
|
|
|
|
hover:border-red52 hover:text-red52 hover:bg-pinkF5
|
|
|
|
hover:border-red52 hover:text-red52 hover:bg-pinkF5
|
|
|
|
${ |
|
|
|
${filterCheck[0] |
|
|
|
filterCheck[0] |
|
|
|
|
|
|
|
? "border-red52 text-red52 bg-pinkF5" |
|
|
|
? "border-red52 text-red52 bg-pinkF5" |
|
|
|
: "border-gray200 text-gray-400" |
|
|
|
: "border-gray200 text-gray-400" |
|
|
|
}`}
|
|
|
|
}`}
|
|
|
@ -541,8 +538,7 @@ if (!isMobile){ |
|
|
|
<div |
|
|
|
<div |
|
|
|
className={`flex w-32 border-2 p-2 mx-2 justify-center items-center rounded-md cursor-pointer
|
|
|
|
className={`flex w-32 border-2 p-2 mx-2 justify-center items-center rounded-md cursor-pointer
|
|
|
|
hover:border-red52 hover:text-red52 hover:bg-pinkF5
|
|
|
|
hover:border-red52 hover:text-red52 hover:bg-pinkF5
|
|
|
|
${ |
|
|
|
${filterCheck[1] |
|
|
|
filterCheck[1] |
|
|
|
|
|
|
|
? "border-red52 text-red52 bg-pinkF5" |
|
|
|
? "border-red52 text-red52 bg-pinkF5" |
|
|
|
: "border-gray200 text-gray-400" |
|
|
|
: "border-gray200 text-gray-400" |
|
|
|
}`}
|
|
|
|
}`}
|
|
|
|