Compare commits

...

3 Commits

Author SHA1 Message Date
mahdi f825f564dc update 3 years ago
mahdi 78cbdc1475 update 3 years ago
mahdi d60b5324d6 update 3 years ago
  1. 24
      src/components/bookDesign/BookDesign.js
  2. 1
      src/index.scss

@ -4,22 +4,28 @@ import bookPage from "../../assets/images/Path2.svg";
const BookDesign = () => { const BookDesign = () => {
return ( return (
<section>
<section className="my-24 mx-24 flex"> <section className="my-24 mx-24 flex">
<div className="flex relative bg-rose-400"> <div className="flex relative ">
<img <img
src={book} src={book}
alt="" alt=""
className="rounded-md z-40 transform -translate-x-2" className="rounded-md z-40 transform -translate-x-3 w-72 h-full"
/> />
<img src={bookPage} alt="" className="z-30" /> <img src={bookPage} alt="" className="z-30 h-full" />
<div className="bg-greenBookBg w-4 rounded-l-md transform translate-x-3 z-10"></div> <div className="bg-greenBookBg w-7 rounded-l-md transform translate-x-4 z-10"></div>
{/* <div className="bg-greenBookBg rounded-l-md w-20 transform translate-x-4 z-10"></div> */} <div className="w-10/12 absolute left-0 -bottom-0 h-12 shadow-2xl shadow-black"></div>
<div
className="absolute left-0 -bottom-0 h-8 rounded-full z-50 shadow-lg bg-slate-700"
style={{ width: 216 }}
></div>
</div> </div>
</section> </section>
{/* <section className="m-52">
<div className="relative flex justify-center w-1/6 text-center rounded-md">
<img src={book} alt="" className=" rounded-sm z-20" />
<img src={bookPage} alt="" className="z-10" />
<div className="w-full bg-greenBookBg rounded-l-md transform translate-x-6"></div>
</div>
</section> */}
</section>
); );
}; };

@ -10,4 +10,5 @@
body { body {
font-family: iransans-medium; font-family: iransans-medium;
direction: rtl; direction: rtl;
// background-color: tan;
} }

Loading…
Cancel
Save