⚡️⚡️⚡️ 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
feat(dashboard): add navigation links to dashboard stats items
9helixeb31acbc3036
diff --git a/apps/web/pages/dashboard.tsx b/apps/web/pages/dashboard.tsxindex 9d4dc741..96185d3f 100644--- a/apps/web/pages/dashboard.tsx+++ b/apps/web/pages/dashboard.tsx@@ -245,29 +245,37 @@ const Section = ({case DashboardSectionType.STATS:return (<div className="xl:flex flex flex-col sm:grid grid-cols-2 gap-4 xl:flex-row xl:justify-evenly xl:w-full">- <DashboardItem- name={numberOfLinks === 1 ? t("link") : t("links")}- value={numberOfLinks}- icon={"bi-link-45deg"}- />+ <Link href="/links">+ <DashboardItem+ name={numberOfLinks === 1 ? t("link") : t("links")}+ value={numberOfLinks}+ icon={"bi-link-45deg"}+ />+ </Link>- <DashboardItem- name={collectionsLength === 1 ? t("collection") : t("collections")}- value={collectionsLength}- icon={"bi-folder"}- />+ <Link href="/collections">+ <DashboardItem+ name={collectionsLength === 1 ? t("collection") : t("collections")}+ value={collectionsLength}+ icon={"bi-folder"}+ />+ </Link>- <DashboardItem- name={tags.length === 1 ? t("tag") : t("tags")}- value={tags.length}- icon={"bi-hash"}- />+ <Link href="/tags">+ <DashboardItem+ name={tags.length === 1 ? t("tag") : t("tags")}+ value={tags.length}+ icon={"bi-hash"}+ />+ </Link>- <DashboardItem- name={t("pinned")}- value={numberOfPinnedLinks}- icon={"bi-pin-angle"}- />+ <Link href="/links/pinned">+ <DashboardItem+ name={t("pinned")}+ value={numberOfPinnedLinks}+ icon={"bi-pin-angle"}+ />+ </Link></div>);case DashboardSectionType.RECENT_LINKS: