浏览代码

test <AIChatComponent />

visuddhinanda 9 月之前
父节点
当前提交
2ab23a7ee6
共有 1 个文件被更改,包括 4 次插入34 次删除
  1. 4 34
      dashboard-v4/dashboard/src/components/nut/Home.tsx

+ 4 - 34
dashboard-v4/dashboard/src/components/nut/Home.tsx

@@ -1,41 +1,11 @@
-import ReactMarkdown from "react-markdown";
-import code_png from "../../assets/nut/code.png";
-
-import MarkdownForm from "./MarkdownForm";
-import MarkdownShow from "./MarkdownShow";
-import FontBox from "./FontBox";
-import TreeTest from "./TreeTest";
-
-import { Layout, Typography } from "antd";
-import CaseFormula from "../template/Wbw/CaseFormula";
-import EditableLabel from "../general/EditableLabel";
-import Tree from "./test/Tree";
-const { Paragraph } = Typography;
+import AIChatComponent from "../chat/AiChat";
 
 const Widget = () => {
   return (
-    <Layout>
+    <div>
       <h1>Home</h1>
-      <Paragraph style={{ width: 200 }}>
-        <EditableLabel value="测试意思" />
-      </Paragraph>
-      <CaseFormula />
-      <h2>TreeTest</h2>
-      <Tree />
-
-      <br />
-      <FontBox />
-      <br />
-      <MarkdownShow body="- Hello, **《mint》**!" />
-      <br />
-      <h3>Form</h3>
-      <MarkdownForm />
-      <br />
-      <img alt="code" src={code_png} />
-      <div>
-        <ReactMarkdown>*This* is text with `quote`</ReactMarkdown>
-      </div>
-    </Layout>
+      <AIChatComponent />
+    </div>
   );
 };