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

type TProps = {};

export const Skeleton: React.FC<TProps> = () => {
  return (
    <SBox position="relative" ml={16} pt={2} height={414}>
      <SBox width={192} height={16} mb={32} bg="eastBay" />
      <SRow mb={28}>
        <SBox width={108} height={32} borderRadius={16} mr={12} bg="eastBay" />
        <SBox width={108} height={32} borderRadius={16} bg="eastBay" />
      </SRow>
      <SBox flex={1} flexDirection="row">
        <SBox width={283} height={306} borderRadius={8} bg="eastBay" mr={16} />
        <SBox width={283} height={306} borderRadius={8} bg="eastBay" />
      </SBox>
      <SBox position="absolute" top={0} left={0} height="100%" flex={1}>
        <AnimatedGradient angle={8} gradientWidth={160} />
      </SBox>
    </SBox>
  );
};
