creating and retrieving links successfully

This commit is contained in:
Arjun Patel
2022-02-13 11:25:12 -08:00
parent bfc539671f
commit 244bdba9e1
7 changed files with 276 additions and 67 deletions
@@ -12,6 +12,11 @@ import Link, { LinkType } from "@nirvana/common/models/conversation";
import { SiGooglemeet, SiZoom } from "react-icons/si";
const faviconGrabberAPI = "https://api.statvoo.com/favicon/?url=";
export function getFavicon(url: string): string {
return faviconGrabberAPI + url;
}
export default function LinkIcon(props: {
className?: string;
linkType: LinkType;