Passed
Push — master ( f87507...569a9a )
by Huu-Phat
23:11 queued 18:48
created

modules/home/components/Project.js

Complexity

Total Complexity 0
Complexity/F 0

Size

Lines of Code 54
Function Count 0

Duplication

Duplicated Lines 0
Ratio 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 0
eloc 48
mnd 0
bc 0
fnc 0
dl 0
loc 54
ccs 2
cts 2
cp 1
bpm 0
cpm 0
noi 0
c 0
b 0
f 0
1
import React from 'react'
2
import { Translate } from 'react-localize-redux'
3
import Container from '~/modules/home/components/common/section/Container'
4
import Header from '~/modules/home/components/common/section/Header'
5
import Content from '~/modules/home/components/project/Content'
6
import Item from '~/modules/home/components/project/Item'
7
import { PROJECTS } from '~/modules/home/consts/pages'
8
import Anchor from '~/modules/home/components/common/Anchor'
9
10 1
const Project = () => (
11 1
  <Container>
12
    <Anchor id={PROJECTS} top={-40} />
13
    <Header>
14
      <h2>
15
        <Translate id="Project: Title" />
16
      </h2>
17
      <h4>
18
        <Translate id="Project: SubTitle" />
19
      </h4>
20
    </Header>
21
    <Content>
22
      <Item
23
        imgSrc="/images/projects/brand360.webp"
24
        imgAlt="Brand 360"
25
        linkToWeb="http://brand360.vn/"
26
        hoverTitle="Brand360 project"
27
      />
28
29
      <Item
30
        imgSrc="/images/projects/anco.webp"
31
        imgAlt="Report application for Masan"
32
        linkToWeb=""
33
        hoverTitle="Masan Report"
34
      />
35
36
      <Item
37
        imgSrc="/images/projects/taman.webp"
38
        imgAlt="Tam An Web"
39
        linkToWeb="https://github.com/DeKal/Tam-An-Food-Store-Manager"
40
        hoverTitle="Tam An Web"
41
      />
42
43
      <Item
44
        imgSrc="/images/projects/2048.webp"
45
        imgAlt="2048 Fun Games"
46
        linkToWeb="https://github.com/DeKal/2048"
47
        hoverTitle="2048 Fun Games"
48
      />
49
    </Content>
50
  </Container>
51
)
52
53
export default Project
54