refactor(layout): 重构布局组件并添加视频播放功能

-重写 Header 组件,使用新的 OptionLayoutContext 替代 HistoryContext
- 新增 VideoPlayer 组件,用于播放视频
- 更新 Playground 组件,集成新的侧边栏和视频播放功能
- 重构 Layout 组件,支持新的选项布局
- 更新相关路由和导出导入逻辑,以支持上述更改
This commit is contained in:
zhaoweijie
2025-08-25 19:40:02 +08:00
parent 6f386709e2
commit 635e792e22
13 changed files with 580 additions and 128 deletions

View File

@@ -1,10 +1,11 @@
import OptionLayout from "~/components/Layouts/Layout"
import IodVideo from "@/components/Option/VideoPlayer/index.tsx"
import { Playground } from "~/components/Option/Playground/Playground"
const OptionIndex = () => {
return (
<OptionLayout>
<Playground />
<Playground />
</OptionLayout>
)
}