visuddhinanda 3 лет назад
Родитель
Сommit
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;