blob: b3e21d9b73effac91b697ce02ecaf3ecdf645bd7 (
plain)
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
|
import React from 'react';
import { Helmet } from 'react-helmet';
import brand from 'ba-api/brand';
import { SourceReader, PapperBlock } from 'ba-components';
import { SearchLocation } from './demos';
import Info from './Info';
class SearchMap extends React.Component {
render() {
const title = brand.name + ' - Map';
const description = brand.desc;
const docSrc = 'containers/Maps/demos/';
return (
<div>
<Helmet>
<title>{title}</title>
<meta name="description" content={description} />
<meta property="og:title" content={title} />
<meta property="og:description" content={description} />
<meta property="twitter:title" content={title} />
<meta property="twitter:description" content={description} />
</Helmet>
<PapperBlock overflowX title="Search Location" desc="Map with search input to find any location">
<Info />
<SearchLocation />
<SourceReader componentName={docSrc + 'SearchLocation.js'} />
</PapperBlock>
</div>
);
}
}
export default SearchMap;
|