Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

feat: add favorites in side menu

thecodrr101e4164ba5b
diff --git a/apps/web/src/navigation/index.js b/apps/web/src/navigation/index.js
index e3a51f18c..d50e122c9 100644
--- a/apps/web/src/navigation/index.js
+++ b/apps/web/src/navigation/index.js
@@ -20,6 +20,12 @@ export const routes = {
component: Notebooks,
icon: Icon.Book
},
+ favorite: {
+ key: "favorites",
+ title: "Favorites",
+ component: undefined,
+ icon: Icon.Star
+ },
trash: {
key: "trash",
title: "Trash",
@@ -30,9 +36,11 @@ export const routes = {
key: "settings",
title: "Settings",
component: undefined,
- icon: Icon.Settings
+ icon: Icon.Settings,
+ bottom: true
}
};
+
const history = {};
export const navigationEvents = {
onWillNavigateAway: undefined