feat: add SD page switching

This commit is contained in:
licoy
2024-06-27 16:06:15 +08:00
parent fa6ebadc7b
commit d21481173e
7 changed files with 39 additions and 5 deletions

View File

@@ -1,5 +1,7 @@
"use client";
import { Sd } from "@/app/components/sd";
require("../polyfill");
import { useState, useEffect } from "react";
@@ -159,6 +161,7 @@ function Screen() {
<Route path={Path.NewChat} element={<NewChat />} />
<Route path={Path.Masks} element={<MaskPage />} />
<Route path={Path.Chat} element={<Chat />} />
<Route path={Path.Sd} element={<Sd />} />
<Route path={Path.Settings} element={<Settings />} />
</Routes>
</div>