// @mui material components import Link from "@mui/material/Link" import Icon from "@mui/material/Icon" // ThreeD Garden components import MDBox from "~/components/mui/MDBox" import MDTypography from "~/components/mui/MDTypography" // ThreeD Garden Base Styles import typography from "~/themes/theme-light/base/typography" // Declaring props types for Footer interface Props { company?: { href: string name: string } links?: { href: string name: string }[] [key: string]: any } function FooterBlank({ company, links }: Props): JSX.Element { return (
) } function Footer({ company, links }: Props): JSX.Element { const { href, name } = company const { size } = typography const renderLinks = () => links.map((link) => ( {link.name} )) return ( copyright {new Date().getFullYear()}  {name}  ({ display: "flex", flexWrap: "wrap", alignItems: "center", justifyContent: "center", listStyle: "none", mt: 3, mb: 0, p: 0, [breakpoints.up("lg")]: { mt: 0, }, })}> {renderLinks()} ) } // Declaring default props for Footer Footer.defaultProps = { company: { href: "https://companyjuice.com/", name: "Company Juice" }, links: [ { href: "https://companyjuice.com/", name: "Company Juice" }, { href: "https://companyjuice.com/presentation", name: "About Us" }, { href: "https://companyjuice.com/blog", name: "Blog" }, { href: "https://companyjuice.com/license", name: "License" }, ], } export default FooterBlank