diff --git a/src/components/Blog/Design7/index.js b/src/components/Blog/Design7/index.js index 924ce38..7fbe91d 100644 --- a/src/components/Blog/Design7/index.js +++ b/src/components/Blog/Design7/index.js @@ -1,13 +1,34 @@ import React from "react"; -const Design7 = ({ featuredImage, featuredImageClassname }) => { +const Design7 = ({ + cardClass, + featuredImage, + featuredImageClassname, + playImage, + title, +}) => { return ( -
- blog +
+ {/* Featured Image */} +
+ {/* play button */} + {playImage && ( +
+ play +
+ )} +
+ {/* Title */} +

+ {title} +

); }; @@ -15,14 +36,12 @@ const Design7 = ({ featuredImage, featuredImageClassname }) => { export default Design7; Design7.defaultProps = { - featuredImage: "images/offersectionalex-lvrs-HDjExSGuWUw-unsplash.svg", - featuredImageClassname: "", -}; - -// + cardClass: "w-[333px]", -// offersectionalexander-mils-nG4ZimMIO_k-unsplash.svg + featuredImage: `url("images/VodDesign1watermelon.png")`, + featuredImageClassname: "min-h-[180px]", -// offersectionkobby-mendez-w0_w3N_hG00-unsplash.svg + playImage: "images/VodDesign1white-play-button-icon.svg", -// offersectionno-revisions-Fa8lOzYsTss-unsplash.svg + title: "ایا یخ های قطبی در حال اب شدن هستند؟ زنگ خطر به صدا در امد", +}; diff --git a/src/components/MiniComponents/OfferSection/index.js b/src/components/MiniComponents/OfferSection/index.js index 1cccb87..97d9e45 100644 --- a/src/components/MiniComponents/OfferSection/index.js +++ b/src/components/MiniComponents/OfferSection/index.js @@ -11,7 +11,7 @@ const OfferSection = () => { } /> {/* divider */} -
+
{/* left Button */}