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: "صفحه اصلی", link: "/" }, { name: "فروشگاه", link: "/shop" }, { name: "سوالات متداول", link: "/faq" }, { name: "درباره ما", link: "/about" }, { name: "تماس با ما", link: "/call" }, ], };