home page image style adjusted #784

Merged
ameye merged 1 commits from home-page-image into master 2024-09-21 11:45:47 +00:00
@@ -70,13 +70,13 @@ export default AccountDashboard;
const TopBanner = ({ image, title = "", desc = "", btn, link_path, key }) => {
return (
<div className="flex flex-col shadow-md rounded-xl dark:border-[#5356fb29]" key={key}>
<Link to={link_path} className="h-[12rem] rounded-t-xl">
<div className="flex flex-col shadow-md rounded-xl dark:border-[#5356fb29] overflow-hidden" key={key}>
<Link to={link_path} className="h-[12rem] bg-white">
<img
src={image}
alt="banner-img"
loading="lazy"
className="w-full h-full rounded-t-xl object-cove object-fill"
className="w-auto mx-auto h-full"
/>
</Link>
<div className="rounded-b-xl bg-white dark:bg-dark-white">