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 }) => {
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">