import React, { Component } from "react"; import { Link } from "react-router-dom"; import location from "../../../assets/icons/location.png"; import home from "../../../assets/icons/home.png"; import contact from "../../../assets/icons/contact.png"; import "./index.scss"; export default class Footer extends Component { render() { const { fastAccess } = this.props; return ( <> {window.innerWidth > 1000 ? ( ) : null} {window.innerWidth < 1000 ? ( ) : null} ); } } Footer.defaultProps = { fastAccess: [ { name: window.t("صفحه اصلی"), link: "/" }, { name: window.t("فروشگاه"), link: "/shop" }, { name: window.t("سوالات متداول"), link: "/faq" }, { name: window.t("درباره ما"), link: "/about" }, { name: window.t("تماس با ما"), link: "/call" }, ], };