-
Notifications
You must be signed in to change notification settings - Fork 13
/
Contact.jsx
151 lines (140 loc) · 4.86 KB
/
Contact.jsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
import React, { Component } from "react"
import PageHelmet from "../component/common/Helmet"
import { FiMail, FiMapPin, FiChevronUp } from "react-icons/fi"
import GoogleMapReact from "google-map-react"
import ContactTwo from "./contact/ContactTwo"
// import BrandTwo from "./BrandTwo";
import ScrollToTop from "react-scroll-up"
import Header from "../component/header/Header"
const AnyReactComponent = ({ text }) => <div>{text}</div>
class Contact extends Component {
static defaultProps = {
center: {
lat: -34.397,
lng: 150.644,
},
zoom: 8,
}
render() {
return (
<React.Fragment>
<PageHelmet pageTitle="Contact us" />
<Header
headertransparent="header--transparent"
colorblack="color--black"
logoname="logo.png"
/>
{/* Start Breadcrump Area */}
<div
className="rn-page-title-area pt--120 pb--190"
data-black-overlay="6"
>
<div className="container">
<div className="row">
<div className="col-lg-12">
<div className="rn-page-title text-center pt--100">
<h2 className="title theme-gradient">Contact Us</h2>
</div>
</div>
</div>
</div>
</div>
{/* End Breadcrump Area */}
{/* Start Contact Top Area */}
<div className="rn-contact-page ptb--120 bg_color--1">
<ContactTwo />
</div>
{/* End Contact Page Area */}
<div className="rn-contact-top-area ptb--120 bg_color--5">
<div className="container">
<div className="row">
{/* Start Single Address */}
{/* <div className="col-lg-4 col-md-6 col-sm-6 col-12">
<div className="rn-address">
<div className="icon">
<FiHeadphones />
</div>
<div className="inner">
<h4 className="title text-dark">
Contact With Phone Number
</h4>
<p>
<a href="tel:+057 254 365 456">+057 254 365 456</a>
</p>
<p>
<a href="tel:+856 325 652 984">+856 325 652 984</a>
</p>
</div>
</div>
</div> */}
{/* End Single Address */}
{/* Start Single Address */}
<div className="col-lg-4 col-md-6 col-sm-6 col-12 mt_md--50 mt_sm--50">
<div className="rn-address">
<div className="icon">
<FiMail />
</div>
<div className="inner">
<h4 className="title text-dark">Email Address</h4>
<p>
<a href="mailto:info@code.sydney">info@code.sydney</a>
</p>
</div>
</div>
</div>
{/* End Single Address */}
{/* Start Single Address */}
<div className="col-lg-4 col-md-6 col-sm-6 col-12 mt_md--50 mt_sm--50">
<div className="rn-address">
<div className="icon">
<FiMapPin />
</div>
<div className="inner">
<h4 className="title text-dark">Location</h4>
<p>
Sydney, <br /> Australia
</p>
</div>
</div>
</div>
{/* End Single Address */}
</div>
</div>
</div>
{/* End Contact Top Area */}
{/* Start Contact Page Area */}
{/* Start Contact Map */}
<div className="rn-contact-map-area position-relative">
<div style={{ height: "650px", width: "100%" }}>
<GoogleMapReact
defaultCenter={this.props.center}
defaultZoom={this.props.zoom}
>
<AnyReactComponent lat={-34.397} lng={150.644} text="My Marker" />
</GoogleMapReact>
</div>
</div>
{/* End Contact Map */}
{/* Start Brand Area */}
{/* <div className="rn-brand-area brand-separation bg_color--5 ptb--120">
<div className="container">
<div className="row">
<div className="col-lg-12">
<BrandTwo />
</div>
</div>
</div>
</div> */}
{/* End Brand Area */}
{/* Start Back To Top */}
<div className="backto-top">
<ScrollToTop showUnder={160}>
<FiChevronUp />
</ScrollToTop>
</div>
{/* End Back To Top */}
</React.Fragment>
)
}
}
export default Contact