feat(navigation): 添加 Demo 页面路由和组件

- 在 Layout 组件中添加了 Demo 页面的导航链接
- 在主路由中增加了 /demo 路径的路由
- 新增了 ComponentsDemo 组件用于 Demo 页面显示
This commit is contained in:
Vixalie
2025-08-07 22:18:04 +08:00
parent 3d05c9795b
commit b7f03197c7
3 changed files with 17 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
import { Component } from 'solid-js';
const ComponentsDemo: Component = () => {
return (
<div class="workspace flex flex-col items-stretch gap-2 rounded-sm bg-swatch-neutral-20"></div>
);
};
export default ComponentsDemo;