diff --git a/src/views/Contact/index.js b/src/views/Contact/index.js index 92755b8..aeddfdc 100644 --- a/src/views/Contact/index.js +++ b/src/views/Contact/index.js @@ -16,10 +16,15 @@ const maxMobileSize = 550; const fontSize = { desktop: { h1: window.innerWidth > maxDesktopSize ? 30 : window.innerWidth / 40, - p : window.innerWidth > maxDesktopSize ? 14: window.innerWidth / 80, - span : window.innerWidth > maxDesktopSize ? 16: window.innerWidth / 80, - } -} + p: window.innerWidth > maxDesktopSize ? 14 : window.innerWidth / 80, + span: window.innerWidth > maxDesktopSize ? 16 : window.innerWidth / 80, + }, + mobile: { + h1: window.innerWidth > maxMobileSize ? 25 : window.innerWidth / 16, + p: window.innerWidth > maxMobileSize ? 14 : window.innerWidth / 28, + span: window.innerWidth > maxMobileSize ? 15 : window.innerWidth / 28, + }, +}; export default class Contact extends Component { render() { return ( @@ -58,11 +63,15 @@ export default class Contact extends Component { style={{ width: "55%", justifyContent: "space-between" }} >
- 02163462405 + + 02163462405 + تماس
- Info@Danovin.ir + + Info@Danovin.ir + خانه
@@ -75,6 +84,56 @@ export default class Contact extends Component {