File tree 3 files changed +91
-0
lines changed
src/components/molecules/Geolocation
3 files changed +91
-0
lines changed Original file line number Diff line number Diff line change
1
+ @import ' src/scss/mixins' ;
2
+
3
+ .title-block {
4
+ @include mobile {
5
+ @include flex-center ;
6
+ }
7
+ }
8
+
9
+ .title-text {
10
+ @include mobile {
11
+ font-family : $font-inter ;
12
+ font-size : 28px ;
13
+ font-style : normal ;
14
+ font-weight : 700 ;
15
+ line-height : 58px ;
16
+ letter-spacing : 0 ;
17
+ text-align : center ;
18
+ }
19
+ }
20
+
21
+ .geolocation {
22
+ @include flex-center ;
23
+
24
+ flex-wrap : wrap ;
25
+ height : 600px ;
26
+ width : 1170px ;
27
+ margin-top : 50px ;
28
+ margin-bottom : 150px ;
29
+
30
+ @include devices {
31
+ width : 100% ;
32
+ height : 400px ;
33
+ }
34
+
35
+ @include mobile {
36
+ margin-top : 20px ;
37
+ margin-bottom : 50px ;
38
+ }
39
+ }
40
+
41
+ .map {
42
+ margin-top : 70px ;
43
+
44
+ @include mobile {
45
+ margin-top : 10px ;
46
+ }
47
+ }
48
+
49
+ .box {
50
+ @include flex-center ;
51
+
52
+ width : 1120px ;
53
+ height : 502px ;
54
+ border-radius : 10px ;
55
+
56
+ @include tablet {
57
+ width : 700px ;
58
+ height : 300px ;
59
+ }
60
+
61
+ @include mobile {
62
+ width : 300px ;
63
+ height : 200px ;
64
+ }
65
+ }
Original file line number Diff line number Diff line change
1
+ import React from 'react'
2
+
3
+ import { TitleBlock } from 'src/components/atoms/TitleBlock'
4
+
5
+ import css from './Geolocation.styles.module.scss'
6
+
7
+ export const Geolocation = ( ) => {
8
+ return (
9
+ < div className = { css . geolocation } >
10
+ < TitleBlock
11
+ className = { css . titleBlock }
12
+ simpleClassName = { css . titleText }
13
+ highlightClassName = { css . titleText }
14
+ simpleText = "Где мы"
15
+ highlightText = "находимся"
16
+ />
17
+ < section className = { css . map } >
18
+ < iframe
19
+ className = { css . box }
20
+ src = "https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d543.1525599097694!2d40.96989692923843!3d57.006858498806714!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x414d1437a4efb02f%3A0x67dea4da8a94f68c!2z0YPQuy4g0JbQuNC00LXQu9C10LLQsCwgMSwg0JjQstCw0L3QvtCy0L4sINCY0LLQsNC90L7QstGB0LrQsNGPINC-0LHQuy4sIDE1MzAwMg!5e0!3m2!1sru!2sru!4v1648190412217!5m2!1sru!2sru"
21
+ />
22
+ </ section >
23
+ </ div >
24
+ )
25
+ }
Original file line number Diff line number Diff line change
1
+ export * from './Geolocation'
You can’t perform that action at this time.
0 commit comments