Passed
Push — master ( e3b5aa...4d3576 )
by Huu-Phat
05:47 queued 47s
created

modules/home/components/About.js

Complexity

Total Complexity 0
Complexity/F 0

Size

Lines of Code 29
Function Count 0

Duplication

Duplicated Lines 0
Ratio 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 0
eloc 22
mnd 0
bc 0
fnc 0
dl 0
loc 29
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 styled from 'styled-components/macro'
3
import Container from 'react-bootstrap/Container'
4
import CardHeader from '~/modules/home/components/about/CardHeader'
5
import CardInfo from '~/modules/home/components/about/CardInfo'
6
7 1
const About = () => (
8 1
  <Section>
9
    <Container>
10
      <Card>
11
        <CardHeader />
12
        <CardInfo />
13
      </Card>
14
    </Container>
15
  </Section>
16
)
17
18
const Section = styled.section`
19
  position: relative;
20 1
  margin-top: ${props => props.theme.aboutMarginTop};
21
`
22
23
const Card = styled.div`
24 1
  box-shadow: 2px 2px 4px -2px ${props => props.theme.colors.colorDark};
25
  z-index: 10;
26
  position: relative;
27
`
28
export default About
29