Commit 072efe80 authored by Chunchi Che's avatar Chunchi Che

add MyCard Component

parent c3e890e4
Pipeline #23632 passed with stages
in 12 minutes and 44 seconds
...@@ -98,6 +98,9 @@ export const Component = () => { ...@@ -98,6 +98,9 @@ export const Component = () => {
<HeaderBtn to="/build" disabled={!logined}> <HeaderBtn to="/build" disabled={!logined}>
组卡 组卡
</HeaderBtn> </HeaderBtn>
<HeaderBtn to="/mycard" disabled={!logined}>
萌卡大厅
</HeaderBtn>
<span style={{ flexGrow: 1 }} /> <span style={{ flexGrow: 1 }} />
<span className={styles.profile}> <span className={styles.profile}>
<Dropdown <Dropdown
......
/* 萌卡大厅 */
export const Component: React.FC = () => {
return <></>;
};
...@@ -32,6 +32,10 @@ const router = createBrowserRouter([ ...@@ -32,6 +32,10 @@ const router = createBrowserRouter([
path: "/side", path: "/side",
lazy: () => import("./Side"), lazy: () => import("./Side"),
}, },
{
path: "/mycard",
lazy: () => import("./MyCard"),
},
], ],
}, },
]); ]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment