mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
feat: implement part of full-screen layout
This commit is contained in:
@ -12,7 +12,6 @@ const Explore = lazy(() => import("@/pages/Explore"));
|
||||
const Home = lazy(() => import("@/pages/Home"));
|
||||
const UserProfile = lazy(() => import("@/pages/UserProfile"));
|
||||
const MemoDetail = lazy(() => import("@/pages/MemoDetail"));
|
||||
const EmbedMemo = lazy(() => import("@/pages/EmbedMemo"));
|
||||
const Archived = lazy(() => import("@/pages/Archived"));
|
||||
const DailyReview = lazy(() => import("@/pages/DailyReview"));
|
||||
const Resources = lazy(() => import("@/pages/Resources"));
|
||||
@ -103,24 +102,20 @@ const router = createBrowserRouter([
|
||||
path: "explore",
|
||||
element: <Explore />,
|
||||
},
|
||||
{
|
||||
path: "m/:memoId",
|
||||
element: <MemoDetail />,
|
||||
},
|
||||
{
|
||||
path: "u/:username",
|
||||
element: <UserProfile />,
|
||||
},
|
||||
{
|
||||
path: "*",
|
||||
element: <NotFound />,
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: "/m/:memoId",
|
||||
element: <MemoDetail />,
|
||||
},
|
||||
{
|
||||
path: "/m/:memoId/embed",
|
||||
element: <EmbedMemo />,
|
||||
},
|
||||
{
|
||||
path: "/u/:username",
|
||||
element: <UserProfile />,
|
||||
},
|
||||
{
|
||||
path: "*",
|
||||
element: <NotFound />,
|
||||
},
|
||||
],
|
||||
},
|
||||
]);
|
||||
|
Reference in New Issue
Block a user