Passed
Push — master ( 569a9a...fc64ad )
by Huu-Phat
26:45 queued 22:41
created

modules/home/components/SideProjects.js

Complexity

Total Complexity 0
Complexity/F 0

Size

Lines of Code 33
Function Count 0

Duplication

Duplicated Lines 0
Ratio 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 0
eloc 30
mnd 0
bc 0
fnc 0
dl 0
loc 33
ccs 4
cts 4
cp 1
bpm 0
cpm 0
noi 0
c 0
b 0
f 0
1
import React from 'react'
2
import { getCompanies } from '~/modules/home/consts/sideProject'
3
import Header from '~/modules/home/components/common/section/Header'
4
import SectionContainer from '~/modules/home/components/common/section/Container'
5
import List from '~/modules/home/components/experiences/List'
6
import Container from 'react-bootstrap/Container'
7
import Row from 'react-bootstrap/Row'
8
import { Translate } from 'react-localize-redux'
9
10 1
const companyRows = getCompanies()
11
12 1
const SideProjects = () => (
13 1
  <SectionContainer>
14
    <Container>
15
      <Header>
16
        <h2>
17
          <Translate id="SideProjects: Title" />
18
        </h2>
19
        <h4>
20
          <Translate id="SideProjects: SubTitle" />
21
        </h4>
22
      </Header>
23
      {companyRows.map((companies, index) => (
24 2
        <Row key={index}>
25
          <List companies={companies} />
26
        </Row>
27
      ))}
28
    </Container>
29
  </SectionContainer>
30
)
31
32
export default SideProjects
33