소스 검색

add 问题反馈

visuddhinanda 3 년 전
부모
커밋
a73c0c9eb2
1개의 변경된 파일20개의 추가작업 그리고 16개의 파일을 삭제
  1. 20 16
      dashboard/src/components/library/FooterBar.tsx

+ 20 - 16
dashboard/src/components/library/FooterBar.tsx

@@ -1,26 +1,30 @@
 import { Link } from "react-router-dom";
 import { Layout, Row, Col } from "antd";
 import { useIntl } from "react-intl";
+import CreateFeedback from "../feedback/CreateFeedback";
 
 const { Footer } = Layout;
 
 const Widget = () => {
-	//Library foot bar
-	const intl = useIntl(); //i18n
-	// TODO
-	return (
-		<Footer>
-			<Row>
-				<Col span={8}>相关链接</Col>
-				<Col span={16}>
-					问题收集<Link to="/">{intl.formatMessage({ id: "columns.library.palicanon.title" })}</Link>
-				</Col>
-			</Row>
-			<Row>
-				<Col>Powered by PCDS</Col>
-			</Row>
-		</Footer>
-	);
+  //Library foot bar
+  const intl = useIntl(); //i18n
+  // TODO
+  return (
+    <Footer>
+      <Row>
+        <Col span={8}>相关链接</Col>
+        <Col span={16}>
+          <div>问题反馈</div>
+          <div>
+            <CreateFeedback />
+          </div>
+        </Col>
+      </Row>
+      <Row>
+        <Col>Powered by PCDS</Col>
+      </Row>
+    </Footer>
+  );
 };
 
 export default Widget;