wealth/apps/bear/src/app/(flow)/terms/subscription/loading.tsx

20 lines
589 B
TypeScript

import { Skeleton, SkeletonRegion } from '@lumina/island/atoms/skeleton';
import { i18n } from '../../../../i18n';
/** The terms before they arrive: a few paragraphs' worth of lines. */
export default function Loading() {
return (
<SkeletonRegion
delayed
label={i18n.t('terms:meta-title')}
className="mx-auto w-full max-w-content p-4"
>
<Skeleton width="40%" height="1.25rem" className="mb-3" />
<Skeleton lines={4} />
<Skeleton width="35%" height="1.25rem" className="mt-6 mb-3" />
<Skeleton lines={5} />
</SkeletonRegion>
);
}