Writes get robots, refactors row to be reusable, adds loading progress logic

This commit is contained in:
Alicia Sykes
2023-06-22 15:24:14 +01:00
parent 2a7a5fa0f9
commit 6062473efc
14 changed files with 335 additions and 136 deletions

View File

@@ -17,10 +17,14 @@ const StyledHeading = styled.h1<HeadingProps>`
display: flex;
gap: 1rem;
align-items: center;
img {
img { // Some titles have an icon
width: 2rem;
border-radius: 4px;
}
a { // If a title is a link, keep title styles
color: inherit;
text-decoration: none;
}
${props => {
switch (props.size) {
case 'xSmall': return `font-size: ${TextSizes.small};`;