feat: add playground

This commit is contained in:
Gabe
2025-10-02 21:59:31 +08:00
parent 389f0b6f82
commit 65e8fabe7d
14 changed files with 468 additions and 282 deletions

View File

@@ -14,7 +14,7 @@ import ApiIcon from "@mui/icons-material/Api";
import InputIcon from "@mui/icons-material/Input";
import SelectAllIcon from "@mui/icons-material/SelectAll";
import EventNoteIcon from "@mui/icons-material/EventNote";
import MouseIcon from '@mui/icons-material/Mouse';
import MouseIcon from "@mui/icons-material/Mouse";
function LinkItem({ label, url, icon }) {
const match = useMatch(url);
@@ -77,6 +77,12 @@ export default function Navigator(props) {
url: "/words",
icon: <EventNoteIcon />,
},
{
id: "playground",
label: "Playground",
url: "/playground",
icon: <EventNoteIcon />,
},
{ id: "about", label: i18n("about"), url: "/about", icon: <InfoIcon /> },
];
return (