diff --git a/src/components/Layout/Content.js b/src/components/Layout/Content.js index 3f24ca7..6b3dc42 100644 --- a/src/components/Layout/Content.js +++ b/src/components/Layout/Content.js @@ -1,15 +1,6 @@ import React from "react"; import { Route, Switch, Redirect } from "react-router-dom"; import classnames from "classnames"; -import { Box, IconButton, Link } from "@material-ui/core"; -import Icon from "@mdi/react"; - -//icons -import { - mdiFacebook as FacebookIcon, - mdiTwitter as TwitterIcon, - mdiGithub as GithubIcon -} from "@mdi/js"; // pages import Dashboard from "../../pages/dashboard/Dashboard"; @@ -19,6 +10,7 @@ import Maps from "../../pages/maps/Maps"; import Tables from "../../pages/tables/Tables"; import Icons from "../../pages/icons/Icons"; import Charts from "../../pages/charts/Charts"; +import ContentFooter from "./ContentFooter"; // context import { useLayoutState } from "../../context/LayoutContext"; @@ -52,57 +44,7 @@ const Content = () => { - -
- - Flatlogic - - - About Us - - - Blog - -
-
- - - - - - - - - - - - - - - -
-
+ ); }; diff --git a/src/components/Layout/ContentFooter.js b/src/components/Layout/ContentFooter.js new file mode 100644 index 0000000..b3424aa --- /dev/null +++ b/src/components/Layout/ContentFooter.js @@ -0,0 +1,73 @@ +import React from "react"; +import { Box, IconButton, Link } from "@material-ui/core"; +import Icon from "@mdi/react"; + +//icons +import { + mdiFacebook as FacebookIcon, + mdiTwitter as TwitterIcon, + mdiGithub as GithubIcon +} from "@mdi/js"; + +// styles +import useStyles from "./styles"; + +const ContentFooter = () => { + var classes = useStyles(); + + return ( + +
+ + Flatlogic + + + About Us + + + Blog + +
+
+ + + + + + + + + + + + + + + +
+
+ ); +}; + +export default ContentFooter;