mirror of
https://github.com/PlayEdu/backend
synced 2025-06-20 22:44:16 +08:00
44 lines
990 B
TypeScript
44 lines
990 B
TypeScript
import React from "react";
|
|
import { Layout } from "antd";
|
|
import { Link } from "react-router-dom";
|
|
|
|
interface PropInterface {
|
|
type?: string;
|
|
}
|
|
|
|
export const Footer: React.FC<PropInterface> = ({ type }) => {
|
|
return (
|
|
<Layout.Footer
|
|
style={{
|
|
width: "100%",
|
|
background: type === "none" ? "none" : "#F6F6F6",
|
|
height: 166,
|
|
paddingTop: 80,
|
|
textAlign: "center",
|
|
}}
|
|
>
|
|
<Link
|
|
to="https://playedu.xyz/"
|
|
style={{
|
|
display: "flex",
|
|
alignItems: "center",
|
|
justifyContent: "center",
|
|
}}
|
|
target="blank"
|
|
>
|
|
<i
|
|
style={{ fontSize: 30, color: "#cccccc" }}
|
|
className="iconfont icon-waterprint footer-icon"
|
|
onClick={() => {}}
|
|
></i>
|
|
<span
|
|
className="ml-5"
|
|
style={{ color: "#D7D7D7", fontSize: 12, marginTop: -5 }}
|
|
>
|
|
Version 1.6
|
|
</span>
|
|
</Link>
|
|
</Layout.Footer>
|
|
);
|
|
};
|