updated home page image

This commit was merged in pull request #784.
This commit is contained in:
victorAnumudu
2024-09-21 12:15:10 +01:00
parent 72d4af20aa
commit f48b72b149
@@ -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">