Blog data

This commit is contained in:
2023-02-11 10:40:35 -05:00
parent 53734807f0
commit b96dea34e9
3 changed files with 10 additions and 10 deletions
+3 -5
View File
@@ -29,7 +29,7 @@ export default function BlogCardStyle({
<div className="owned-by flex space-x-2 items-center">
<div className="owned w-[46px] h-[46px] rounded-full overflow-hidden">
<img
src={localImgLoad(`images/${datas.owner_img}`)}
src={`${datas.meta_value}`}
alt=""
className="w-full h-full"
/>
@@ -48,9 +48,7 @@ export default function BlogCardStyle({
<div
className="w-full h-[236px] p-6 rounded-xl overflow-hidden"
style={{
background: `url(${localImgLoad(
`images/${datas.thumbnil}`
)}) 0% 0% / cover no-repeat`,
background: `url(${datas.meta_value}) 0% 0% / cover no-repeat`,
}}
>
<div className="product-two-options flex justify-between mb-5 relative">
@@ -183,7 +181,7 @@ export default function BlogCardStyle({
{/* title */}
<Link to="/shop-details" className="mb-2.5">
<h1 className="font-bold text-xl tracking-wide line-clamp-1 text-dark-gray dark:text-white capitalize">
{datas.title}
{datas.post_title}
</h1>
</Link>
<div className="flex justify-between">