summaryrefslogtreecommitdiffstats
path: root/front/odiparpack/app/containers/Maps/MapDirection.js
blob: 97a463b0bc473dfe77bdd1ba768889de57d60dc5 (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 { Direction } from './demos';
import Info from './Info';

class MapDirection 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="Map with Direction" desc="Rendering map with default configuration">
          <Info />
          <Direction />
          <SourceReader componentName={docSrc + 'Direction.js'} />
        </PapperBlock>
      </div>
    );
  }
}

export default MapDirection;