Adds Lighthouse reporting

This commit is contained in:
Alicia Sykes
2023-06-18 21:01:13 +01:00
parent 920ab64410
commit f139256736
9 changed files with 28232 additions and 3 deletions

View File

@@ -0,0 +1,22 @@
import styled from 'styled-components';
import colors from 'styles/colors';
import Card from 'components/Form/Card';
import Heading from 'components/Form/Heading';
const Outer = styled(Card)`
overflow: auto;
max-height: 20rem;
`;
const ScreenshotCard = (props: { screenshot: string }): JSX.Element => {
console.log('Props:', props.screenshot);
return (
<Outer>
<Heading as="h3" size="small" align="left" color={colors.primary}>Screenshot</Heading>
<img src={props.screenshot} alt="Full page screenshot" />
</Outer>
);
}
export default ScreenshotCard;