From e40a18132119a90d9b4bf035ecf741b930342688 Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Wed, 13 Mar 2024 16:03:13 +0000
Subject: mobile: Add support for manually adding bookmarks

---
 packages/mobile/app/dashboard/(tabs)/index.tsx | 28 +++++++++++++++++++++++++-
 1 file changed, 27 insertions(+), 1 deletion(-)

(limited to 'packages/mobile/app/dashboard/(tabs)/index.tsx')

diff --git a/packages/mobile/app/dashboard/(tabs)/index.tsx b/packages/mobile/app/dashboard/(tabs)/index.tsx
index 07516f3b..b2349525 100644
--- a/packages/mobile/app/dashboard/(tabs)/index.tsx
+++ b/packages/mobile/app/dashboard/(tabs)/index.tsx
@@ -1,5 +1,31 @@
+import { Link, Stack } from "expo-router";
+import { SquarePen, Link as LinkIcon } from "lucide-react-native";
+import { View } from "react-native";
+
 import BookmarkList from "@/components/bookmarks/BookmarkList";
 
+function HeaderRight() {
+  return (
+    <View className="flex flex-row">
+      <Link href="dashboard/add-link" className="mt-2 px-2">
+        <LinkIcon />
+      </Link>
+      <Link href="dashboard/add-note" className="mt-2 px-2">
+        <SquarePen />
+      </Link>
+    </View>
+  );
+}
+
 export default function Home() {
-  return <BookmarkList archived={false} />;
+  return (
+    <>
+      <Stack.Screen
+        options={{
+          headerRight: () => <HeaderRight />,
+        }}
+      />
+      <BookmarkList archived={false} />
+    </>
+  );
 }
-- 
cgit v1.3-1-g0d28

