first commit
This commit is contained in:
commit
44995cb5db
60 changed files with 5472 additions and 0 deletions
14
src/components/Cabs/VehicleCard/VehicleImage.jsx
Normal file
14
src/components/Cabs/VehicleCard/VehicleImage.jsx
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
const VehicleImage = ({ src, alt }) => {
|
||||
return (
|
||||
<div className="w-full h-52 overflow-hidden rounded-t-xl bg-gray-100">
|
||||
<img
|
||||
src={src}
|
||||
alt={alt}
|
||||
className="w-full h-full object-cover transition-transform duration-500 ease-out group-hover:scale-110"
|
||||
loading="lazy"
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default VehicleImage;
|
||||
Loading…
Add table
Add a link
Reference in a new issue