You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

loading.tsx 2.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. import React from 'react'
  2. import { SkeletonContainer, SkeletonRectangle } from '@/app/components/base/skeleton'
  3. const Loading = () => {
  4. return (
  5. <div className='flex h-full flex-col gap-y-12 bg-gradient-to-b from-components-panel-bg-transparent to-components-panel-bg px-6 py-5'>
  6. <SkeletonContainer className='w-full gap-0'>
  7. <SkeletonRectangle className='my-1.5 w-full' />
  8. <SkeletonRectangle className='my-1.5 w-full' />
  9. <SkeletonRectangle className='my-1.5 w-full' />
  10. <SkeletonRectangle className='my-1.5 w-full' />
  11. <SkeletonRectangle className='my-1.5 w-full' />
  12. <SkeletonRectangle className='my-1.5 w-full' />
  13. <SkeletonRectangle className='my-1.5 w-full' />
  14. <SkeletonRectangle className='my-1.5 w-3/5' />
  15. </SkeletonContainer>
  16. <SkeletonContainer className='w-full gap-0'>
  17. <SkeletonRectangle className='my-1.5 w-full' />
  18. <SkeletonRectangle className='my-1.5 w-full' />
  19. <SkeletonRectangle className='my-1.5 w-[70%]' />
  20. </SkeletonContainer>
  21. <SkeletonContainer className='w-full gap-0'>
  22. <SkeletonRectangle className='my-1.5 w-full' />
  23. <SkeletonRectangle className='my-1.5 w-full' />
  24. <SkeletonRectangle className='my-1.5 w-full' />
  25. <SkeletonRectangle className='my-1.5 w-full' />
  26. <SkeletonRectangle className='my-1.5 w-[56%]' />
  27. </SkeletonContainer>
  28. <SkeletonContainer className='w-full gap-0'>
  29. <SkeletonRectangle className='my-1.5 w-full' />
  30. <SkeletonRectangle className='my-1.5 w-full' />
  31. <SkeletonRectangle className='my-1.5 w-3/5' />
  32. </SkeletonContainer>
  33. <SkeletonContainer className='w-full gap-0'>
  34. <SkeletonRectangle className='my-1.5 w-full' />
  35. <SkeletonRectangle className='my-1.5 w-full' />
  36. <SkeletonRectangle className='my-1.5 w-3/5' />
  37. </SkeletonContainer>
  38. <SkeletonContainer className='w-full gap-0'>
  39. <SkeletonRectangle className='my-1.5 w-full' />
  40. <SkeletonRectangle className='my-1.5 w-full' />
  41. <SkeletonRectangle className='my-1.5 w-full' />
  42. <SkeletonRectangle className='my-1.5 w-full' />
  43. <SkeletonRectangle className='my-1.5 w-full' />
  44. <SkeletonRectangle className='my-1.5 w-full' />
  45. <SkeletonRectangle className='my-1.5 w-1/2' />
  46. </SkeletonContainer>
  47. </div>
  48. )
  49. }
  50. export default React.memo(Loading)