diff --git a/src/components/Advertisements/Design1/index.js b/src/components/Advertisements/Design1/index.js index 0d348f7..0565999 100644 --- a/src/components/Advertisements/Design1/index.js +++ b/src/components/Advertisements/Design1/index.js @@ -1,8 +1,9 @@ import React from "react"; +import Button from "../../Button"; const AdvertisementDesign1 = () => { return ( -
+
{ left: "20%", top: "15%", }} - className="rounded-full absolute bg-blue-200 bg-opacity-30 backdrop-filter backdrop-blur-md z-30" + className="bg-blue-200 bg-opacity-30 absolute rounded-full backdrop-filter backdrop-blur-md z-30" >
{ right: "25%", bottom: "4%", }} - className="rounded-full absolute bg-purple-200 bg-opacity-30 backdrop-filter backdrop-blur-md" + className="bg-purple-200 bg-opacity-30 absolute rounded-full backdrop-filter backdrop-blur-md" >
{ right: "3%", top: "15%", }} - className="rounded-full absolute bg-green-200 bg-opacity-40 backdrop-filter backdrop-blur-md" + className="bg-green-200 bg-opacity-40 absolute rounded-full backdrop-filter backdrop-blur-md" >
-
+

تبلیغات دانوینی

-

+

لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ و با استفاده از طراحان گرافیک است.

- +
); }; diff --git a/src/components/Advertisements/Design2/index.js b/src/components/Advertisements/Design2/index.js index b6be859..fcba3be 100644 --- a/src/components/Advertisements/Design2/index.js +++ b/src/components/Advertisements/Design2/index.js @@ -1,54 +1,42 @@ import React from "react"; +import Button from "../../Button"; const AdvertisementDesign2 = () => { return ( -
-
-
-

تبلیغات دانوینی

-

- لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ و با - استفاده از طراحان گرافیک است. -

- -
-
-
-
+
+
+

تبلیغات دانوینی

+

+ لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ و با استفاده + از طراحان گرافیک است. +

+
-
+
+
+
+
); }; diff --git a/src/components/Button/index.js b/src/components/Button/index.js index d0913c9..9a8e1d9 100644 --- a/src/components/Button/index.js +++ b/src/components/Button/index.js @@ -15,7 +15,7 @@ const Button = ({ {text} {icon && ( - + icon )} diff --git a/src/redux/data.js b/src/redux/data.js index 33b44c0..1ee1471 100644 --- a/src/redux/data.js +++ b/src/redux/data.js @@ -4,9 +4,6 @@ import Design2D from "../components/Design2D"; import AddToCartCard from "../components/AddToCart"; import Advertisements from "../components/Advertisements"; -import AdvertisementDesign1 from "../components/Advertisement/design1"; -import AdvertisementDesign2 from "../components/Advertisement/design2"; - // import ButtonDesign from "./components/buttonDesign/ButtonDesign"; // import ProductDesign from "./components/productDesign/ProductDesign"; // import ProductTags from "./components/productTags/ProductTags"; @@ -149,26 +146,6 @@ const components = [ code: null, }, }, - { - name: "Advertisement", - author: "Andalib", - props: [], - content: { - name: "Design1", - component: , - code: null, - }, - }, - { - name: "Advertisement", - author: "Andalib", - props: [], - content: { - name: "Design2", - component: , - code: null, - }, - }, ]; export default components;