Adds card for showing response times

This commit is contained in:
Alicia Sykes
2023-06-29 23:40:51 +01:00
parent 2907e7b570
commit 0bc0c54e40
9 changed files with 59 additions and 9 deletions

View File

@@ -14,11 +14,11 @@ img {
}
`;
const ScreenshotCard = (screenshot: string): JSX.Element => {
const ScreenshotCard = (screenshot: { data: string }): JSX.Element => {
return (
<Outer>
<Heading as="h3" align="left" color={colors.primary}>Screenshot</Heading>
<img src={screenshot} alt="Full page screenshot" />
<img src={screenshot.data} alt="Full page screenshot" />
</Outer>
);
}