diff --git a/src/components/footer.tsx b/src/components/footer.tsx new file mode 100644 index 0000000..e8f7ce0 --- /dev/null +++ b/src/components/footer.tsx @@ -0,0 +1,16 @@ +import Link from "antd/es/typography/Link"; +import React from "react"; + +interface FooterProps {} + +const Feeter: React.FC = () => { + return ( + +
+ Github +
+
+ ); +}; + +export default Feeter; diff --git a/src/pages/pure-text/pure-text.less b/src/pages/pure-text/pure-text.less index 2c6c2b5..c39322f 100644 --- a/src/pages/pure-text/pure-text.less +++ b/src/pages/pure-text/pure-text.less @@ -4,12 +4,26 @@ } .contentStyle { - margin-bottom: 5%; + @media screen and (max-width: 576px) { + margin-bottom: 5%; + } + @media screen and (max-width: 768px) { + margin-bottom: 5%; + } + @media screen and (max-width: 992px) { + margin-bottom: 4%; + } + @media screen and (max-width: 1200px) { + margin-bottom: 3%; + } + @media screen and (max-width: 1600px) { + margin-bottom: 3%; + } } .footerStyle { text-align: center; - background: #7dbcea; + background: #dfedf7; } .handleBotton { diff --git a/src/pages/pure-text/pure-text.tsx b/src/pages/pure-text/pure-text.tsx index f2dfe4e..b654c33 100644 --- a/src/pages/pure-text/pure-text.tsx +++ b/src/pages/pure-text/pure-text.tsx @@ -1,11 +1,12 @@ import React, { useState } from "react"; -import type { CollapseProps } from "antd"; import { Layout, Col, Row, Button, Collapse } from "antd"; import style from "./pure-text.less"; import { In } from "@/components/input"; import { PureSetting } from "@/components/pure-setting"; import { Option } from "@/models/option"; import { typeset } from "@/utils/typeset"; +import Feeter from "@/components/footer"; +import Link from "antd/es/typography/Link"; const { Header, Footer, Content } = Layout; @@ -90,7 +91,10 @@ const PureText = () => { onChange={handleTextChange} /> - + ); };