-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
57 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
body { | ||
margin: 0; | ||
padding: 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import React from "react"; | ||
import {Layout} from "antd"; | ||
|
||
|
||
const Footer: React.FC = () => { | ||
return ( | ||
<Layout.Footer style={{textAlign: 'center'}}> | ||
Ant Design ©{new Date().getFullYear()} Created by Ant UED | ||
</Layout.Footer> | ||
); | ||
} | ||
|
||
export default Footer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
import '@/assets/less/Home.less' | ||
import React from "react"; | ||
import {Layout} from 'antd'; | ||
import Header from '@/layout/Header' | ||
import Content from '@/layout/Content' | ||
import Footer from '@/layout/Footer' | ||
|
||
const Home: React.FC<any> = (props: any) => { | ||
const Home: React.FC = () => { | ||
return ( | ||
<Layout> | ||
<Header/> | ||
<Layout className={"container"}> | ||
<Content/> | ||
</Layout> | ||
</Layout> | ||
<Layout> | ||
<Header/> | ||
<Content/> | ||
<Footer/> | ||
</Layout> | ||
); | ||
} | ||
export default Home |