import React from 'react';
import { SBox } from '../../common/s-components/layout/s-box';
import { AnimatedGradient } from '../../common/components/animated-gradient';

export const Skeleton: React.FC = () => {
  return (
    <SBox
      position="relative"
      px={16}
      mt={6}
      pt={9}
      height={448}
      overflow="hidden"
    >
      <SBox width={192} height={16} mb={40} bg="eastBay" />
      <SBox flex={1} flexDirection="row">
        <SBox bg="eastBay" width={283} height={372} borderRadius={10} mr={16} />
        <SBox bg="eastBay" width={283} height={372} borderRadius={10} />
      </SBox>
      <SBox position="absolute" top={0} left={0} height="100%" flex={1}>
        <AnimatedGradient angle={8} gradientWidth={160} />
      </SBox>
    </SBox>
  );
};
