modules/home/components/experiences/StartExp.js
last analyzed

Complexity

Total Complexity 0
Complexity/F 0

Size

Lines of Code 23
Function Count 0

Duplication

Duplicated Lines 0
Ratio 0 %

Test Coverage

Coverage 75%

Importance

Changes 0
Metric Value
wmc 0
eloc 16
mnd 0
bc 0
fnc 0
dl 0
loc 23
bpm 0
cpm 0
noi 0
c 0
b 0
f 0
ccs 3
cts 4
cp 0.75
1
import React from 'react'
2
import styled from 'styled-components/macro'
3
import { VerticalTimelineElement } from 'react-vertical-timeline-component'
4
5 1
const StartExp = () => (
6 1
  <VerticalTimelineElement
7
    iconStyle={{
8
      boxShadow: `0 0 0 3px rgb(16, 204, 82), inset 0 2px 0 rgb(16, 204, 82), 0 3px 0 4px rgb(16, 204, 82)`
9
    }}
10
    icon={<StartLogo />}
11
  />
12
)
13
14
export default StartExp
15
16 1
const StartLogo = () => (
17
  <Logo src={'/images/companies/start.webp'} alt={'Start'} />
18
)
19
20
const Logo = styled.img`
21
  width: 100%;
22
`
23