|
|
@ -54,7 +54,7 @@ export const Product = ({ |
|
|
|
{/* Portrait */} |
|
|
|
{/* Portrait */} |
|
|
|
{isMobile ? ( |
|
|
|
{isMobile ? ( |
|
|
|
<div className="w-full flex flex-col bg-transparent px-4 pb-24"> |
|
|
|
<div className="w-full flex flex-col bg-transparent px-4 pb-24"> |
|
|
|
{(!book) && ( |
|
|
|
{!book && ( |
|
|
|
<div className="w-full h-screen flex justify-center items-center bg-white bg-opacity-20 backdrop-filter backdrop-blur-xl fixed left-0 top-0 z-50"> |
|
|
|
<div className="w-full h-screen flex justify-center items-center bg-white bg-opacity-20 backdrop-filter backdrop-blur-xl fixed left-0 top-0 z-50"> |
|
|
|
<Loading size={4} color="bg-green-400" /> |
|
|
|
<Loading size={4} color="bg-green-400" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -128,7 +128,7 @@ export const Product = ({ |
|
|
|
/> |
|
|
|
/> |
|
|
|
<a |
|
|
|
<a |
|
|
|
href={`https://dnvn.ir/xpdf/${book?.sampleFileId}`} |
|
|
|
href={`https://dnvn.ir/xpdf/${book?.sampleFileId}`} |
|
|
|
className="flex-1 border-2 border-solid border-green-500 bg-green-50 bg-opacity-70 rounded-sm text-tiny font-bold text-green-700 text-center" |
|
|
|
className="flex-1 border-2 border-solid text-sm border-green-500 bg-green-50 bg-opacity-70 rounded-sm font-bold text-green-700 text-center" |
|
|
|
style={{ padding: "18px 0px" }} |
|
|
|
style={{ padding: "18px 0px" }} |
|
|
|
> |
|
|
|
> |
|
|
|
مشاهده نمونه |
|
|
|
مشاهده نمونه |
|
|
|