refactor: add package for icons

This commit is contained in:
Andrea
2022-11-08 17:43:03 +01:00
parent e66eb1fdc8
commit 9b551513f4
12 changed files with 60 additions and 62 deletions

View File

@@ -1,13 +0,0 @@
export type SocialIconProps = {
href: string;
alt: string;
src: string;
};
export function SocialIcon({ href, alt, src }: SocialIconProps) {
return (
<a href={href} className={"p-2"}>
<img alt={alt} src={src} className={"max-h-[5vh] max-w-[5vw]"} />
</a>
);
}