Total Complexity | 0 |
Complexity/F | 0 |
Lines of Code | 36 |
Function Count | 0 |
Duplicated Lines | 0 |
Ratio | 0 % |
Coverage | 100% |
Changes | 0 |
1 | import React from 'react' |
||
2 | import { EXPERIENCES } from '~/modules/home/consts/pages' |
||
3 | import { getCompanies } from '~/modules/home/consts/experiences' |
||
4 | import Header from '~/modules/home/components/common/section/Header' |
||
5 | import SectionContainer from '~/modules/home/components/common/section/Container' |
||
6 | import List from '~/modules/home/components/experiences/List' |
||
7 | import Container from 'react-bootstrap/Container' |
||
8 | import Row from 'react-bootstrap/Row' |
||
9 | import Anchor from '~/modules/home/components/common/Anchor' |
||
10 | import { Translate } from 'react-localize-redux' |
||
11 | |||
12 | 1 | const companyRows = getCompanies() |
|
13 | |||
14 | 1 | const Experiences = () => ( |
|
15 | 1 | <SectionContainer> |
|
16 | <Anchor id={EXPERIENCES} top={-40} /> |
||
17 | <Container> |
||
18 | <Header> |
||
19 | <h2> |
||
20 | <Translate id="Exp: Title" /> |
||
21 | </h2> |
||
22 | <h4> |
||
23 | <Translate id="Exp: SubTitle" /> |
||
24 | </h4> |
||
25 | </Header> |
||
26 | {companyRows.map((companies, index) => ( |
||
27 | 2 | <Row key={index}> |
|
28 | <List companies={companies} /> |
||
29 | </Row> |
||
30 | ))} |
||
31 | </Container> |
||
32 | </SectionContainer> |
||
33 | ) |
||
34 | |||
35 | export default Experiences |
||
36 |