You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

74 lines
2.6 KiB

3 years ago
import React from "react";
import cart from "./cart-icon.svg";
import map from "./map-icon.svg";
import setting from "./setting-icon.svg";
const AdvertisementDesign3 = ({ features }) => {
return (
<section className="mx-auto bg-white m-10 w-full sm:w-5/12 p-2">
<div
className="rounded-3xl relative"
style={{ backgroundColor: "#E3F2FF" }}
>
<div className="flex flex-col justify-center p-10 w-8/12">
<h2 className="text-lg text-productPrice">تبلیغات دانوینی</h2>
<p className="text-sm text-justify leading-6 mt-2 text-productPrice">
لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ و با
استفاده از طراحان گرافیک است.
</p>
<div className="mt-3">
{features.map((feature, i) => (
3 years ago
<div className="flex flex-row items-center mt-2">
3 years ago
<img src={feature.icon} alt="" className="w-6 h-6" />
<p className="text-sm mr-2 text-justify leading-6 text-productPrice font-light">
{feature.title}
</p>
</div>
))}
</div>
</div>
<div
style={{ backgroundColor: "#00FFFF22" }}
3 years ago
className="rounded-full w-20 h-20 sm:w-32 sm:h-32 absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2 z-20"
3 years ago
></div>
<div
style={{ backgroundColor: "#6E6EEF22" }}
3 years ago
className="rounded-full w-44 h-44 absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2"
3 years ago
></div>
<div
style={{ backgroundColor: "#06BACE22" }}
3 years ago
className="rounded-full w-44 h-44 absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2"
3 years ago
></div>
3 years ago
<div className="absolute bottom-5 left-10">
<button className="border-2 border-blue-500 text-blue-500 ml-4 rounded p-2 text-sm">
تماس با ما
</button>
<button className="bg-blue-500 border-2 border-blue-500 text-white rounded p-2 text-sm">
به سلامت
</button>
</div>
3 years ago
</div>
</section>
);
};
export default AdvertisementDesign3;
AdvertisementDesign3.defaultProps = {
features: [
{
icon: cart,
title: "قابلیت های فروشگاهی بسیار پیشرفته و ساده",
},
{
icon: map,
title: "ارسال به تمام نقاط ایران",
},
{
icon: setting,
title: "تنظیمات پیشرفته و بیش از 2000 ماژول اختصاصی",
},
],
};