暂存,修改navigate和添加图片

This commit is contained in:
2024-10-12 12:38:19 +08:00
parent 929aaebf20
commit 3eaa94eb46
29 changed files with 244 additions and 58 deletions

View File

@@ -1,5 +1,5 @@
import clsx from 'clsx';
import { useNavigate } from 'react-router-dom';
import { useNewNavigate } from '@/modules';
const serverList = ['container', 'panel', 'publish', 'code-editor', 'map', 'ai-chat'];
const serverPath = [
{
@@ -44,7 +44,7 @@ const serverPath = [
},
];
const ServerPath = () => {
const navigate = useNavigate();
const navigate = useNewNavigate();
return (
<div className='p-2 w-full h-full bg-gray-200'>
<h1 className='p-4 w-1/2 m-auto h1'>Site Map</h1>