左侧栏初步

This commit is contained in:
禺狨
2023-03-02 11:39:06 +08:00
parent 3dff7f139d
commit 37c5756866
17 changed files with 452 additions and 44 deletions

16
src/router/routes.tsx Normal file
View File

@@ -0,0 +1,16 @@
import React from "react";
import { RouteObject } from "react-router-dom";
import { Login, HomePage } from "../pages";
const routes: RouteObject[] = [
{
path: "/",
element: <HomePage />,
},
{
path: "/login",
element: <Login />,
},
];
export default routes;