diff --git a/pages/links/[id].tsx b/pages/links/[id].tsx
index fef38e49..54d7d876 100644
--- a/pages/links/[id].tsx
+++ b/pages/links/[id].tsx
@@ -11,7 +11,7 @@ import unescapeString from "@/lib/client/unescapeString";
import isValidUrl from "@/lib/client/isValidUrl";
import DOMPurify from "dompurify";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
-import { faBoxesStacked } from "@fortawesome/free-solid-svg-icons";
+import { faBoxesStacked, faFolder } from "@fortawesome/free-solid-svg-icons";
import useModalStore from "@/store/modals";
import { useSession } from "next-auth/react";
@@ -142,42 +142,39 @@ export default function Index() {
>
-
- {!imageError && link?.url && (
-
{
- try {
- const color = colorThief.getPalette(
- e.target as HTMLImageElement,
- 4
- );
+
+
+ {!imageError && link?.url && (
+
{
+ try {
+ const color = colorThief.getPalette(
+ e.target as HTMLImageElement,
+ 4
+ );
- setColorPalette(color);
- } catch (err) {
- console.log(err);
- }
- }}
- onError={(e) => {
- setImageError(true);
- }}
- />
- )}
+ setColorPalette(color);
+ } catch (err) {
+ console.log(err);
+ }
+ }}
+ onError={(e) => {
+ setImageError(true);
+ }}
+ />
+ )}
-
-
- {unescapeString(link?.name || link?.description || "")}
-
{link?.createdAt
@@ -204,6 +201,41 @@ export default function Index() {
) : undefined}
+
+
+
+ {unescapeString(link?.name || link?.description || "")}
+
+
+
+
+
+
+ {link?.collection.name}
+
+
+ {link?.tags.map((e, i) => (
+
+
+ {e.name}
+
+
+ ))}
+
+