From de13a109c6099e5f566fe080624a0d23c1f64419 Mon Sep 17 00:00:00 2001 From: Yee Jia Wei Date: Sun, 17 Dec 2023 17:08:20 +0800 Subject: [PATCH] update readable view icons --- components/ReadableView.tsx | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/components/ReadableView.tsx b/components/ReadableView.tsx index 57a7c02..4828b75 100644 --- a/components/ReadableView.tsx +++ b/components/ReadableView.tsx @@ -6,8 +6,6 @@ import { ArchivedFormat, LinkIncludingShortenedCollectionAndTags, } from "@/types/global"; -import { faFolder, faLink } from "@fortawesome/free-solid-svg-icons"; -import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import ColorThief, { RGBColor } from "colorthief"; import DOMPurify from "dompurify"; import Image from "next/image"; @@ -174,7 +172,9 @@ export default function ReadableView({ link }: Props) { target="_blank" className="hover:opacity-60 duration-100 break-all text-sm flex items-center gap-1 text-neutral w-fit" > - + {isValidUrl(link?.url || "") ? new URL(link?.url as string).host @@ -189,11 +189,10 @@ export default function ReadableView({ link }: Props) { href={`/collections/${link?.collection.id}`} className="flex items-center gap-1 cursor-pointer hover:opacity-60 duration-100 mr-2 z-10" > - + >