diff --git a/components/LinkList.tsx b/components/LinkList.tsx
index 26874539..8147cc14 100644
--- a/components/LinkList.tsx
+++ b/components/LinkList.tsx
@@ -2,13 +2,14 @@ import { ExtendedLink } from "@/types/global";
import {
faFolder,
faArrowUpRightFromSquare,
- faCaretRight,
faEllipsis,
- faFileImage,
- faFilePdf,
+ faHeart,
} from "@fortawesome/free-solid-svg-icons";
+import { faFileImage, faFilePdf } from "@fortawesome/free-regular-svg-icons";
+
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { useState } from "react";
+import Image from "next/image";
export default function ({
link,
@@ -27,16 +28,27 @@ export default function ({
});
return (
-
-
+
+
+
{count + 1}.
{link.name}
+ {link.isFavorites ? (
+
+ ) : null}
{link.title}
-
+
@@ -44,25 +56,21 @@ export default function ({
{link.tags.map((e, i) => (
# {e.name}
))}
-
+
{formattedDate}
-
-
+
@@ -87,36 +95,34 @@ export default function ({
link.screenshotPath
)}`}
onMouseEnter={() => setArchiveLabel("Screenshot")}
+ target="_blank"
>
setArchiveLabel("PDF")}
>
setArchiveLabel("Web.archive.org")}
/>
- {/*
-
-
-
{JSON.stringify(link)}
*/}
);
}
diff --git a/components/Navbar.tsx b/components/Navbar.tsx
index 10e0ec27..46194271 100644
--- a/components/Navbar.tsx
+++ b/components/Navbar.tsx
@@ -91,7 +91,7 @@ export default function () {
{linkModal ? (
-
+
-
+
diff --git a/components/Sidebar/index.tsx b/components/Sidebar/index.tsx
index 73b4263c..c70f3f1f 100644
--- a/components/Sidebar/index.tsx
+++ b/components/Sidebar/index.tsx
@@ -43,7 +43,7 @@ export default function () {
};
return (
-
+
@@ -53,14 +53,14 @@ export default function () {
-
+
-
+
diff --git a/next.config.js b/next.config.js
index 91ef62f0..db40b805 100644
--- a/next.config.js
+++ b/next.config.js
@@ -1,6 +1,9 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
+ images: {
+ domains: ["icons.duckduckgo.com"],
+ },
};
module.exports = nextConfig;