links to blog page added

This commit was merged in pull request #352.
This commit is contained in:
victorAnumudu
2023-07-24 20:06:25 +01:00
parent c93d3b61a6
commit 4ac799f8c9
3 changed files with 21 additions and 10 deletions
@@ -16,7 +16,8 @@ export default function HomeBannerOffersCard(props) {
return (
<Link
to={link_result}
// to={link_result}
to={link_result == '/blog-page' ? `${link_result}?blog_id=${props.itemData.blog_id}` : `${link_result}`}
className="item p-2 w-full flex items-center min-h-[340px] bg-alice-blue bg-cover bg-center"
style={{
backgroundImage: `url('${imageUrl}')`,