)
}
export default Footer;
\ No newline at end of file
diff --git a/src/mulan/HOC/Header.jsx b/src/mulan/HOC/Header.jsx
index 3a4b2b8f1..d75a7b508 100644
--- a/src/mulan/HOC/Header.jsx
+++ b/src/mulan/HOC/Header.jsx
@@ -1,14 +1,10 @@
import React from 'react';
+import Nav from './Nav';
function Header(props){
return(
-
-
-
首页
-
开源许可证
-
-
+
)
}
diff --git a/src/mulan/HOC/HomeHeader.jsx b/src/mulan/HOC/HomeHeader.jsx
new file mode 100644
index 000000000..7f1509678
--- /dev/null
+++ b/src/mulan/HOC/HomeHeader.jsx
@@ -0,0 +1,11 @@
+import React from 'react';
+import Nav from './Nav';
+
+function HomeHeader(props){
+ return(
+
+
+
+ )
+}
+export default HomeHeader;
\ No newline at end of file
diff --git a/src/mulan/HOC/HomeHoc.jsx b/src/mulan/HOC/HomeHoc.jsx
new file mode 100644
index 000000000..a11954307
--- /dev/null
+++ b/src/mulan/HOC/HomeHoc.jsx
@@ -0,0 +1,17 @@
+import React, { Component } from 'react';
+import Header from './HomeHeader';
+import './Index.scss';
+
+export function HomeHoc(Sub){
+ return class II extends Component {
+ render(){
+ return(
+
+
+
+
+ )
+ }
+ }
+}
+export default HomeHoc;
\ No newline at end of file
diff --git a/src/mulan/HOC/Index.jsx b/src/mulan/HOC/Index.jsx
index 6f05a4187..3e1fa074d 100644
--- a/src/mulan/HOC/Index.jsx
+++ b/src/mulan/HOC/Index.jsx
@@ -7,7 +7,7 @@ export function HOC(Sub){
return class II extends Component {
render(){
return(
-
+ )
+}
+export default Nav;
\ No newline at end of file
diff --git a/src/mulan/Index.jsx b/src/mulan/Index.jsx
index 82aada544..36168b56e 100644
--- a/src/mulan/Index.jsx
+++ b/src/mulan/Index.jsx
@@ -1,23 +1,9 @@
import React from 'react';
-import { HOC } from './HOC/Index';
-import {Route,Switch} from 'react-router-dom';
-import Loadable from 'react-loadable';
-import Loading from '../Loading';
+import { HomeHoc } from './HOC/HomeHoc';
-const LicenseIndex = Loadable({
- loader: () => import('./license/Index'),
- loading: Loading,
-})
function Index(props){
return(
-
- (
-
- )}
- >
-
+
dsfdsdf首页
)
}
-export default HOC(Index);
\ No newline at end of file
+export default HomeHoc(Index);
\ No newline at end of file
diff --git a/src/mulan/license/FAQ.jsx b/src/mulan/license/FAQ.jsx
new file mode 100644
index 000000000..5ab732a07
--- /dev/null
+++ b/src/mulan/license/FAQ.jsx
@@ -0,0 +1,107 @@
+import React from 'react';
+import Title from '../../forge/Component/Title';
+import RenderHtml from '../../components/render-html';
+
+function FAQ(props){
+ const value = `
Copyright (c) [2019] [name of copyright holder]
+ [Software Name] is licensed under the Mulan PSL v1.
+ You can use this software according to the terms and conditions of the Mulan PSL v1.
+ You may obtain a copy of Mulan PSL v1 at:
+ http://license.coscl.org.cn/MulanPSL
+ THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
+ PURPOSE.
+ See the Mulan PSL v1 for more details.
Copyright (c) [Year] [name of copyright holder]
+ [Software Name] is licensed under Mulan PSL v2.
+ You can use this software according to the terms and conditions of the Mulan PSL v2.
+ You may obtain a copy of Mulan PSL v2 at:
+ http://license.coscl.org.cn/MulanPSL2
+ THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
+ EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
+ MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
+ See the Mulan PSL v2 for more details.
+ )
+}
+export default PSL;
\ No newline at end of file
diff --git a/src/mulan/license/Preface.jsx b/src/mulan/license/Preface.jsx
index a8f050ddd..541b9b346 100644
--- a/src/mulan/license/Preface.jsx
+++ b/src/mulan/license/Preface.jsx
@@ -1,9 +1,22 @@
import React from 'react';
-
+import Title from '../../forge/Component/Title';
function Preface(props){
return(
-
)
}
export default Preface;
\ No newline at end of file
diff --git a/src/mulan/license/Public.jsx b/src/mulan/license/Public.jsx
new file mode 100644
index 000000000..a6fccabfb
--- /dev/null
+++ b/src/mulan/license/Public.jsx
@@ -0,0 +1,122 @@
+import React, { useEffect, useState } from 'react';
+import Title from '../../forge/Component/Title';
+import RenderHtml from '../../components/render-html';
+import { Dropdown , Menu } from 'antd';
+import { Link } from 'react-router-dom';
+
+const list = {
+ 1:`
Copyright (c) [Year] [name of copyright holder]
+ [Software Name] is licensed under Mulan PubL v1.
+ You can use this software according to the terms and conditions of the Mulan PubL v1.
+ You may obtain a copy of Mulan PubL v1 at:
+ http://license.coscl.org.cn/MulanPubL-1.0
+ THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
+ EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
+ MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
+ See the Mulan PubL v1 for more details.
+