sw-jobs-frontend/src/app/_jobcard/JobCardIcon.tsx
christian 54a669eb11
All checks were successful
Vercel Production Deployment / Deploy-Production (push) Successful in 1m34s
more mobile css
2024-06-10 01:33:29 +02:00

17 lines
377 B
TypeScript

import Image from "next/image";
export default function JobCardIcon(props: { src: string }) {
const { src } = props;
return (
<div className="flex justify-center items-center h-auto w-6 sm:min-w-14">
<Image
className="h-auto w-6 sm:min-w-12"
src={src}
alt={`${src} icon`}
width={50}
height={50}
/>
</div>
);
}