From d86b07ae4adc67bf6774de289673d04da4b866a6 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Thu, 25 Mar 2021 21:47:22 +0800 Subject: [PATCH] page --- src/mulan/HOC/Footer.jsx | 2 +- src/mulan/HOC/Header.jsx | 8 +- src/mulan/HOC/HomeHeader.jsx | 11 +++ src/mulan/HOC/HomeHoc.jsx | 17 ++++ src/mulan/HOC/Index.jsx | 2 +- src/mulan/HOC/Index.scss | 42 ++++++---- src/mulan/HOC/Nav.jsx | 14 ++++ src/mulan/Index.jsx | 20 +---- src/mulan/license/FAQ.jsx | 107 ++++++++++++++++++++++++ src/mulan/license/Index.jsx | 57 ++++++++++--- src/mulan/license/Index.scss | 43 +++++++++- src/mulan/license/PSL.jsx | 148 ++++++++++++++++++++++++++++++++++ src/mulan/license/Preface.jsx | 17 +++- src/mulan/license/Public.jsx | 122 ++++++++++++++++++++++++++++ 14 files changed, 555 insertions(+), 55 deletions(-) create mode 100644 src/mulan/HOC/HomeHeader.jsx create mode 100644 src/mulan/HOC/HomeHoc.jsx create mode 100644 src/mulan/HOC/Nav.jsx create mode 100644 src/mulan/license/FAQ.jsx create mode 100644 src/mulan/license/PSL.jsx create mode 100644 src/mulan/license/Public.jsx diff --git a/src/mulan/HOC/Footer.jsx b/src/mulan/HOC/Footer.jsx index 8f981b176..7cc5e07cb 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 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( -
+