import React, { Component } from "react"; import { Link } from "react-router-dom"; import VideoBox from "../../QR/VideoBox/index.js"; import VoiceBox from "../../QR/VoiceBox/index.js"; import "./index.scss"; const maxDesktopSize = 1250; const fontSize = { desktop: { h1: window.innerWidth > maxDesktopSize ? 28 : window.innerWidth / 45, p: window.innerWidth > maxDesktopSize ? 14 : window.innerWidth / 85, a: window.innerWidth > maxDesktopSize ? 16 : window.innerWidth / 70, content: { h1: window.innerWidth > maxDesktopSize ? 18 : window.innerWidth / 75, p: window.innerWidth > maxDesktopSize ? 14 : window.innerWidth / 90, h2: window.innerWidth > maxDesktopSize ? 14 : window.innerWidth / 90, }, }, }; export default class SingleBlog extends Component { render() { const { height, data } = this.props; return (
{data.text}
ادامه مطلب