Files
artemis prime 17640c167a rebuilt hero as per previous version;
cleaned up use of stitches themes;
removed creation of explicit dark theme;
remove theme switcher widget from nav;
2023-01-21 21:00:55 -05:00

77 lines
1.7 KiB
TypeScript

import { keyframes } from 'stitches.config'
import { Box, Flex } from 'components/primitives'
const pulse = keyframes({
'0%': { backgroundColor: '$gray6' },
'50%': { backgroundColor: '$gray8' },
'100%': { backgroundColor: '$gray6' },
})
const LoadingCard = () => {
return (
<Flex
direction="column"
justify="end"
css={{
borderRadius: 8,
overflow: 'hidden',
background: '$gray6',
height: '100%',
minHeight: 400,
}}
>
<Flex
css={{ background: '$gray4', p: '$4', height: 132 }}
direction="column"
>
<Flex
css={{ mb: '$4', height: '100%' }}
align="center"
justify="between"
>
<Box
css={{
height: 20,
width: 120,
background: '$gray6',
animation: `${pulse} 2s ease-in infinite`,
}}
></Box>
<Box
css={{
height: 20,
width: 40,
background: '$gray6',
animation: `${pulse} 2s ease-in infinite`,
}}
></Box>
</Flex>
<Flex
css={{ mb: '$4', height: '100%' }}
align="center"
justify="between"
>
<Box
css={{
height: 20,
width: 60,
background: '$gray6',
animation: `${pulse} 2s ease-in infinite`,
}}
></Box>
<Box
css={{
height: 20,
width: 20,
background: '$gray6',
animation: `${pulse} 2s ease-in infinite`,
}}
></Box>
</Flex>
</Flex>
</Flex>
)
}
export default LoadingCard