parent
8a98e53e4d
commit
0b973829ec
9 changed files with 163 additions and 3 deletions
After Width: | Height: | Size: 966 B |
After Width: | Height: | Size: 562 B |
@ -0,0 +1,14 @@ |
|||||||
|
import React from "react"; |
||||||
|
|
||||||
|
export default function Code({}) { |
||||||
|
return ( |
||||||
|
<form className="flex w-full flex-row border border-blueC0 border-solid rounded-md mt-3 overflow-hidden"> |
||||||
|
<input |
||||||
|
type="text" |
||||||
|
className="border-0 flex-1 text-right pr-3 font-medium text-xs dark:bg-gray2077 placeholder:text-blue5F" |
||||||
|
placeholder={"کد تخفیف دارید ؟"} |
||||||
|
/> |
||||||
|
<button className={"py-3 px-4 text-xs bg-blueC0 text-white border border-blueC0 border-solid"}>ثبت کد</button> |
||||||
|
</form> |
||||||
|
); |
||||||
|
} |
@ -0,0 +1,43 @@ |
|||||||
|
import React from "react"; |
||||||
|
|
||||||
|
// assets
|
||||||
|
import bookImage from "../../../assets/images/zist-11.svg"; |
||||||
|
import exitIcon from "../../../assets/icons/exit.svg"; |
||||||
|
|
||||||
|
export default function Product({ product }) { |
||||||
|
return ( |
||||||
|
<div className="flex flex-row justify-between py-5 border-b border-solid border-grayDB dark:border-gray45"> |
||||||
|
<div className="flex flex-row"> |
||||||
|
<img src={bookImage} className="rounded-md w-20" /> |
||||||
|
<div className="flex flex-col pr-2"> |
||||||
|
<strong className="text-sm text-blue5F mb-1 dark:text-white"> |
||||||
|
علوم اجتماعی |
||||||
|
</strong> |
||||||
|
<span className="text-gray70 text-xs mb-1 dark:text-greenBA"> |
||||||
|
پایه دوم |
||||||
|
</span> |
||||||
|
<span className="text-gray70 text-xs mb-1 dark:text-greenBA"> |
||||||
|
نسخه فیزیکی |
||||||
|
</span> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<div className={"flex flex-col justify-between items-end"}> |
||||||
|
<img src={exitIcon} className="w-4" alt="" /> |
||||||
|
<div className="flex flex-col items-center"> |
||||||
|
<div className="flex flex-row items-center mb-3"> |
||||||
|
<button className="rounded-md pt-2 pb-1.5 px-3 border border-solid border-blueC0 text-blueC0"> |
||||||
|
+ |
||||||
|
</button> |
||||||
|
<span className="mx-2.5 font-semibold text-md text-blueC0">1</span> |
||||||
|
<button className="rounded-md pt-2 pb-1.5 px-3 border border-solid border-grayDB text-grayDB dark:border-blueC0 dark:text-blueC0"> |
||||||
|
- |
||||||
|
</button> |
||||||
|
</div> |
||||||
|
<strong className="font-bold text-md text-blue5F dark:text-white"> |
||||||
|
145.000 |
||||||
|
</strong> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
); |
||||||
|
} |
Loading…
Reference in new issue