feat: add Login and fix res error

This commit is contained in:
2024-09-29 01:40:51 +08:00
parent 77485b34c0
commit 029710f31c
18 changed files with 178 additions and 118 deletions

View File

@@ -31,8 +31,8 @@ const ServerPath = () => {
const navigate = useNavigate();
return (
<div className='p-2 w-full h-full bg-gray-200'>
<h1 className='p-4 w-1/2 m-auto h1'>Map</h1>
<div className='flex flex-col w-1/2 m-auto bg-white p-4 border rounded-md shadow-md'>
<h1 className='p-4 w-1/2 m-auto h1'>Site Map</h1>
<div className='flex flex-col w-1/2 m-auto bg-white p-4 border rounded-md shadow-md min-w-[600px]'>
{serverPath.map((item) => {
const links = item.links.map((link) => {
const hasId = link.includes(':id');