front_gestalt/components/social-item.tsx

16 lines
445 B
TypeScript
Raw Permalink Normal View History

2025-01-09 00:40:28 +03:00
import React from 'react';
import Image from "next/image";
interface Props {
icon: string;
link: string;
}
const SocialItem: React.FC<Props> = ({icon, link}) => {
return (
<a className="flex justify-center items-center w-[41px] h-[41px] bg-blue rounded-full" href="">
<Image src={`/images/${icon}.svg`} alt={icon} className="w-auto h-auto" width={1} height={1} /> </a>
);
}
export default SocialItem