diff --git a/src/mulan/HOC/Footer.jsx b/src/mulan/HOC/Footer.jsx index 8f981b17..7cc5e07c 100644 --- a/src/mulan/HOC/Footer.jsx +++ b/src/mulan/HOC/Footer.jsx @@ -2,7 +2,7 @@ import React from 'react'; function Footer(props){ return( -
ddd
+
Copyright © 中国开源云联盟 京ICP备05013730号-37
) } export default Footer; \ No newline at end of file diff --git a/src/mulan/HOC/Header.jsx b/src/mulan/HOC/Header.jsx index 3a4b2b8f..d75a7b50 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 00000000..7f150967 --- /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 00000000..a1195430 --- /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 6f05a418..3e1fa074 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( -
+