import React from "react"; import PictureAsPdfRoundedIcon from "@material-ui/icons/PictureAsPdfRounded"; import "./index.scss"; import { Link } from "react-router-dom"; const maxDesktopSize = 1250; const maxMobileSize = 550; const fontSize = { desktop: { h2: window.innerWidth > maxDesktopSize ? 14 : window.innerWidth / 100, div: window.innerWidth > maxDesktopSize ? 14 : window.innerWidth / 100, h3: window.innerWidth > maxMobileSize ? 16 : window.innerWidth / 80, }, mobile: { h2: window.innerWidth > maxMobileSize ? 13 : window.innerWidth / 30, div: window.innerWidth > maxMobileSize ? 13 : window.innerWidth / 30, h3: window.innerWidth > maxMobileSize ? 16 : window.innerWidth / 25, }, }; export default function PDF(props) { return ( <> {window.innerWidth > 1000 ? (