⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.
TypeScript bookmarkbookmark-managercollaborationnextjsreact-nativeread-it-laterself-hostedtypescript
small improvements
Daniel24eeb9504e18
diff --git a/components/LinkList.tsx b/components/LinkList.tsxindex fa89ef90..916a5680 100644--- a/components/LinkList.tsx+++ b/components/LinkList.tsx@@ -107,10 +107,10 @@ export default function ({ link, count }: Props) {<div className="flex items-center gap-1 cursor-pointer hover:opacity-60 duration-100"><FontAwesomeIconicon={faFolder}- className="w-4 h-4 mt-1"- style={{ color: collection.color }}+ className="w-4 h-4 mt-1 drop-shadow"+ style={{ color: collection?.color }}/>- <p className="text-sky-900">{collection.name}</p>+ <p className="text-sky-900">{collection?.name}</p></div></Link>diff --git a/components/Modal/LinkModal.tsx b/components/Modal/LinkModal.tsxindex 8776580f..cbe3b9f2 100644--- a/components/Modal/LinkModal.tsx+++ b/components/Modal/LinkModal.tsx@@ -1,7 +1,6 @@import React, { useEffect, useState } from "react";import CollectionSelection from "@/components/InputSelect/CollectionSelection";import TagSelection from "@/components/InputSelect/TagSelection";-import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";import { LinkIncludingCollectionAndTags } from "@/types/global";import { faPenToSquare } from "@fortawesome/free-regular-svg-icons";import useLinkStore from "@/store/links";diff --git a/components/Navbar.tsx b/components/Navbar.tsxindex 7db360af..23f3652d 100644--- a/components/Navbar.tsx+++ b/components/Navbar.tsx@@ -80,20 +80,30 @@ export default function () {src={account.profilePic}className="h-10 w-10 shadow pointer-events-none rounded-full border-[3px] border-sky-500 group-hover:border-sky-400 duration-100"alt=""+ id="profile-dropdown"/>) : (<FontAwesomeIconicon={faCircleUser}+ id="profile-dropdown"className="h-10 w-10 pointer-events-none text-sky-500 group-hover:text-sky-400 duration-100"/>)}- <div className="pointer-events-none hidden sm:block text-sky-500 group-hover:text-sky-400 duration-100">- <div className="flex item-center gap-1">- <p className="font-bold leading-3 hidden sm:block">- {account.name}- </p>- <FontAwesomeIcon icon={faChevronDown} className="h-3 w-3" />- </div>+ <div+ id="profile-dropdown"+ className="text-sky-500 group-hover:text-sky-400 duration-100 hidden sm:flex item-center gap-1 max-w-[8rem]"+ >+ <p+ id="profile-dropdown"+ className="font-bold leading-3 hidden sm:block select-none truncate"+ >+ {account.name}+ </p>+ <FontAwesomeIcon+ id="profile-dropdown"+ icon={faChevronDown}+ className="h-3 w-3"+ /></div></div>{profileDropdown ? (diff --git a/pages/collections/index.tsx b/pages/collections/index.tsxindex 0f5044b5..70d7fec5 100644--- a/pages/collections/index.tsx+++ b/pages/collections/index.tsx@@ -84,7 +84,7 @@ export default function () {<div className="flex gap-2"><FontAwesomeIconicon={faBox}- className="sm:w-8 sm:h-8 w-6 h-6 mt-2 text-sky-500"+ className="sm:w-8 sm:h-8 w-6 h-6 mt-2 text-sky-500 drop-shadow"/><p className="sm:text-4xl text-3xl capitalize bg-gradient-to-tr from-sky-500 to-slate-400 bg-clip-text text-transparent font-bold">All Collectionsdiff --git a/pages/dashboard.tsx b/pages/dashboard.tsxindex ba9ffcac..3df12359 100644--- a/pages/dashboard.tsx+++ b/pages/dashboard.tsx@@ -39,7 +39,7 @@ export default function () {<div className="flex gap-2"><FontAwesomeIconicon={faChartSimple}- className="sm:w-8 sm:h-8 w-6 h-6 mt-2 text-sky-500"+ className="sm:w-8 sm:h-8 w-6 h-6 mt-2 text-sky-500 drop-shadow"/><p className="sm:text-4xl text-3xl capitalize bg-gradient-to-tr from-sky-500 to-slate-400 bg-clip-text text-transparent font-bold">Dashboarddiff --git a/pages/links.tsx b/pages/links.tsxindex 0af609ce..c7fa67ff 100644--- a/pages/links.tsx+++ b/pages/links.tsx@@ -55,7 +55,7 @@ export default function Links() {<div className="flex gap-2"><FontAwesomeIconicon={faBookmark}- className="sm:w-8 sm:h-8 w-6 h-6 mt-2 text-sky-500"+ className="sm:w-8 sm:h-8 w-6 h-6 mt-2 text-sky-500 drop-shadow"/><p className="sm:text-4xl text-3xl capitalize bg-gradient-to-tr from-sky-500 to-slate-400 bg-clip-text text-transparent font-bold">All Linksdiff --git a/pages/search/[query].tsx b/pages/search/[query].tsxindex 9277b63a..30a33c14 100644--- a/pages/search/[query].tsx+++ b/pages/search/[query].tsx@@ -74,7 +74,7 @@ export default function Links() {<div className="flex gap-2"><FontAwesomeIconicon={faSearch}- className="sm:w-8 sm:h-8 w-6 h-6 mt-2 text-sky-500"+ className="sm:w-8 sm:h-8 w-6 h-6 mt-2 text-sky-500 drop-shadow"/><p className="sm:text-4xl text-3xl capitalize bg-gradient-to-tr from-sky-500 to-slate-400 bg-clip-text text-transparent font-bold">Search Resultsdiff --git a/pages/search/index.tsx b/pages/search/index.tsxindex 9277b63a..30a33c14 100644--- a/pages/search/index.tsx+++ b/pages/search/index.tsx@@ -74,7 +74,7 @@ export default function Links() {<div className="flex gap-2"><FontAwesomeIconicon={faSearch}- className="sm:w-8 sm:h-8 w-6 h-6 mt-2 text-sky-500"+ className="sm:w-8 sm:h-8 w-6 h-6 mt-2 text-sky-500 drop-shadow"/><p className="sm:text-4xl text-3xl capitalize bg-gradient-to-tr from-sky-500 to-slate-400 bg-clip-text text-transparent font-bold">Search Results