28 lines
1.0 KiB
React
28 lines
1.0 KiB
React
import React from "react";
|
|
import { Link } from "react-router-dom";
|
|
import localImgLoad from "../../lib/localImgLoad";
|
|
|
|
export default function HomeBannerOffersCard(props) {
|
|
console.log("HomeBannerOffersCard->",props.itemData)
|
|
return (
|
|
<Link
|
|
to="/my-collection/collection-item"
|
|
className="item w-full block group banner-630-340"
|
|
>
|
|
<div className="flex flex-col justify-between h-full">
|
|
<div className="content flex justify-between items-center mb-5">
|
|
<div>
|
|
<h1 className="text-xl font-bold text-dark-gray dark:text-white tracking-wide">
|
|
<>{props.itemData.title}</>
|
|
</h1>
|
|
</div>
|
|
{/*<SelectBox datas={filterDatas} action={dataSetHandler} />*/}
|
|
</div>
|
|
<div className="h-[233px]">
|
|
{props.itemData.description}
|
|
</div>
|
|
</div>
|
|
</Link>
|
|
);
|
|
}
|