⚡️⚡️⚡️ 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
revert clickable dashboard stats
daniel31x130c512345b119
diff --git a/apps/mobile/components/DashboardItem.tsx b/apps/mobile/components/DashboardItem.tsxindex e33986f7..dbbe57e3 100644--- a/apps/mobile/components/DashboardItem.tsx+++ b/apps/mobile/components/DashboardItem.tsx@@ -1,24 +1,18 @@-import { Href, router } from "expo-router";-import { Text, TouchableOpacity, View } from "react-native";+import { Text, View } from "react-native";export default function DashboardItem({name,value,icon,color,- to,}: {name: string;value: number;icon: React.ReactNode;color: string;- to: Href;}) {return (- <TouchableOpacity- className="flex-1 flex-col gap-2 rounded-xl bg-base-200 p-3"- onPress={() => router.navigate(to as Href)}- >+ <View className="flex-1 flex-col gap-2 rounded-xl bg-base-200 p-3"><View className="flex-row justify-between"><ViewclassName="flex-col gap-2 rounded-full aspect-square flex justify-center items-center"@@ -36,6 +30,6 @@ export default function DashboardItem({</Text></View><Text className="font-semibold text-neutral">{name}</Text>- </TouchableOpacity>+ </View>);}diff --git a/apps/mobile/components/DashboardSection.tsx b/apps/mobile/components/DashboardSection.tsxindex ee932709..445d304a 100644--- a/apps/mobile/components/DashboardSection.tsx+++ b/apps/mobile/components/DashboardSection.tsx@@ -60,14 +60,12 @@ const DashboardSection: React.FC<DashboardSectionProps> = ({value={numberOfLinks}icon={<Link size={23} color="white" />}color="#9c00cc"- to="/(tabs)/links"/><DashboardItemname={collectionsLength === 1 ? "Collection" : "Collections"}value={collectionsLength}icon={<Folder size={23} color="white" fill="white" />}color="#0096cc"- to="/(tabs)/collections"/></View><View className="flex-row gap-4">@@ -76,14 +74,12 @@ const DashboardSection: React.FC<DashboardSectionProps> = ({value={tagsLength}icon={<Hash size={23} color="white" />}color="#00cc99"- to="/(tabs)/tags"/><DashboardItemname={"Pinned Links"}value={numberOfPinnedLinks}icon={<Pin size={23} color="white" fill="white" />}color="#cc6d00"- to="/dashboard/pinned-links"/></View></View>