Files
DefectingCat.github.io/app/g/loading.tsx
xfy 7e2fb03efd fix: markdown styles
threejs animations
2025-05-19 16:08:26 +08:00

57 lines
1.3 KiB
TypeScript

import clsx from 'clsx';
import GistsCodeSkeleton from 'components/pages/gists/gists-code-skeleton';
const loading = () => {
return (
<>
<div className="flex items-center py-1 ">
<div
className={clsx(
'w-8 h-8 rounded-full',
'bg-gray-200 animate-pulse dark:bg-rua-gray-600',
)}
></div>
<h1
className={clsx(
'ml-2 overflow-hidden text-xl',
'whitespace-nowrap text-ellipsis',
'flex items-center',
)}
>
<div
className={clsx(
'w-32 h-5 bg-gray-200',
'animate-pulse rounded-lg',
'dark:bg-rua-gray-600',
)}
></div>
<span className="mx-1">/</span>
<div
className={clsx(
'w-32 h-5 bg-gray-200',
'animate-pulse rounded-lg',
'dark:bg-rua-gray-600',
)}
></div>
</h1>
</div>
<p className="text-gray-400 pl-11 ">
<div
className={clsx(
'w-32 h-4 bg-gray-200',
'animate-pulse rounded-lg',
'dark:bg-rua-gray-600',
)}
></div>
</p>
<div className="py-4">
<GistsCodeSkeleton />
</div>
</>
);
};
export default loading;