Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

feat: add priority attribute to Image components in Sidebar

daniel31x13ff5ba2097d8f
diff --git a/apps/web/components/Sidebar.tsx b/apps/web/components/Sidebar.tsx
index ff5e85c5..865c2f3c 100644
--- a/apps/web/components/Sidebar.tsx
+++ b/apps/web/components/Sidebar.tsx
@@ -90,6 +90,7 @@ export default function Sidebar({
alt="Linkwarden Icon"
className="h-8 w-auto cursor-pointer"
onClick={() => router.push("/dashboard")}
+ priority
/>
) : user?.theme === "light" ? (
<Image
@@ -99,6 +100,7 @@ export default function Sidebar({
alt="Linkwarden"
className="h-9 w-auto cursor-pointer"
onClick={() => router.push("/dashboard")}
+ priority
/>
) : (
<Image
@@ -108,6 +110,7 @@ export default function Sidebar({
alt="Linkwarden"
className="h-9 w-auto cursor-pointer"
onClick={() => router.push("/dashboard")}
+ priority
/>
)}