feat: 首页改为脚本市场,创建页移至 /create

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-29 14:16:40 +08:00
parent e6e4357a28
commit 58a80cb196
3 changed files with 7 additions and 7 deletions

View File

@@ -13,16 +13,16 @@ export default function App() {
<span className="text-blue-500"></span> ScriptForge
</Link>
<nav className="flex gap-4 text-sm">
<Link to="/" className="text-gray-400 hover:text-blue-400 transition-colors"></Link>
<Link to="/market" className="text-gray-400 hover:text-blue-400 transition-colors"></Link>
<Link to="/" className="text-gray-400 hover:text-blue-400 transition-colors"></Link>
<Link to="/create" className="text-gray-400 hover:text-blue-400 transition-colors"></Link>
</nav>
</div>
</header>
<main className="flex-1 max-w-4xl mx-auto px-4 py-8 w-full">
<Routes>
<Route path="/" element={<Home />} />
<Route path="/market" element={<Market />} />
<Route path="/" element={<Market />} />
<Route path="/create" element={<Home />} />
<Route path="/s/:id" element={<ScriptDetail />} />
<Route path="/s/:id/delete" element={<DeleteScript />} />
</Routes>