import { FaAtlassian, FaFileAlt, FaFileCode, FaFileImage, FaFilePdf, FaGithubSquare, FaGlobe, FaGoogleDrive, } from "react-icons/fa"; import Link, { LinkType } from "../models/link"; export default function LinkIcon(props: { className?: string; linkType: LinkType; }) { // github // atlassian // drive // onedrive // dropbox // image // pdf // https://www.codepile.net/ for code snippets const { className, linkType, ...rest } = props; switch (linkType) { case LinkType.default: return ; case LinkType.atlassian: return ; case LinkType.codePile: return ; case LinkType.github: return ( ); case LinkType.googleDrive: return ( ); case LinkType.image: return ( ); case LinkType.pdf: ; default: return ( ); } }