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 }) => { const TopBanner = ({ image, title = "", desc = "", btn, link_path, key }) => {
return ( return (
<div className="flex flex-col shadow-md rounded-xl dark:border-[#5356fb29]" key={key}> <div className="flex flex-col shadow-md rounded-xl dark:border-[#5356fb29] overflow-hidden" key={key}>
<Link to={link_path} className="h-[12rem] rounded-t-xl"> <Link to={link_path} className="h-[12rem] bg-white">
<img <img
src={image} src={image}
alt="banner-img" alt="banner-img"
loading="lazy" loading="lazy"
className="w-full h-full rounded-t-xl object-cove object-fill" className="w-auto mx-auto h-full"
/> />
</Link> </Link>
<div className="rounded-b-xl bg-white dark:bg-dark-white"> <div className="rounded-b-xl bg-white dark:bg-dark-white">