| Total Complexity | 0 |
| Complexity/F | 0 |
| Lines of Code | 32 |
| Function Count | 0 |
| Duplicated Lines | 0 |
| Ratio | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | import React from 'react' |
||
| 2 | import { ABOUT } from '~/modules/home/consts/pages' |
||
| 3 | import styled from 'styled-components/macro' |
||
| 4 | import Container from 'react-bootstrap/Container' |
||
| 5 | import CardHeader from '~/modules/home/components/about/CardHeader' |
||
| 6 | import CardInfo from '~/modules/home/components/about/CardInfo' |
||
| 7 | import Anchor from '~/modules/home/components/common/Anchor' |
||
| 8 | |||
| 9 | 1 | const About = () => ( |
|
| 10 | 1 | <Section> |
|
| 11 | <Anchor id={ABOUT} top={-150} /> |
||
| 12 | <Container> |
||
| 13 | <Card> |
||
| 14 | <CardHeader /> |
||
| 15 | <CardInfo /> |
||
| 16 | </Card> |
||
| 17 | </Container> |
||
| 18 | </Section> |
||
| 19 | ) |
||
| 20 | |||
| 21 | const Section = styled.section` |
||
| 22 | position: relative; |
||
| 23 | 1 | margin-top: ${props => props.theme.aboutMarginTop}; |
|
| 24 | ` |
||
| 25 | |||
| 26 | const Card = styled.div` |
||
| 27 | 1 | box-shadow: 2px 2px 4px -2px ${props => props.theme.colors.colorDark}; |
|
| 28 | z-index: 10; |
||
| 29 | position: relative; |
||
| 30 | ` |
||
| 31 | export default About |
||
| 32 |