feat: add inbox ui

This commit is contained in:
Steven
2023-10-28 02:43:46 +08:00
parent 79bb3253b6
commit 3c36cc2953
11 changed files with 226 additions and 7 deletions

View File

@ -15,6 +15,7 @@ const EmbedMemo = lazy(() => import("@/pages/EmbedMemo"));
const Archived = lazy(() => import("@/pages/Archived"));
const DailyReview = lazy(() => import("@/pages/DailyReview"));
const Resources = lazy(() => import("@/pages/Resources"));
const Inboxes = lazy(() => import("@/pages/Inboxes"));
const Setting = lazy(() => import("@/pages/Setting"));
const NotFound = lazy(() => import("@/pages/NotFound"));
@ -83,6 +84,11 @@ const router = createBrowserRouter([
element: <Resources />,
loader: () => initialUserStateLoader(),
},
{
path: "inbox",
element: <Inboxes />,
loader: () => initialUserStateLoader(),
},
{
path: "archived",
element: <Archived />,