Files
Webserver/app/blog/[slug]/loading.tsx

24 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-05-25 09:49:40 -04:00
const lineWidths = ['w-[78%]', 'w-[92%]', 'w-[85%]', 'w-[88%]', 'w-[74%]', 'w-[96%]', 'w-[82%]', 'w-[69%]'];
2026-04-11 23:27:29 -04:00
2026-02-08 23:18:21 -05:00
export default function BlogPostLoading() {
return (
2026-04-11 23:27:29 -04:00
<div className="page-frame py-20 sm:py-24">
2026-05-25 09:49:40 -04:00
<div className="mx-auto max-w-[70rem] motion-safe:animate-pulse xl:grid xl:grid-cols-[11rem_minmax(0,44rem)] xl:gap-x-10">
2026-04-11 23:27:29 -04:00
<div className="hidden xl:block" />
<div>
<div className="mb-8 space-y-4 border-b border-line pb-8">
<div className="h-3 w-1/3 rounded-full bg-accent-soft" />
<div className="h-14 w-3/4 rounded-[1rem] bg-paper-strong" />
<div className="h-5 w-2/3 rounded-full bg-paper-strong" />
</div>
<div className="space-y-4">
{lineWidths.map((width) => (
2026-05-25 09:49:40 -04:00
<div key={width} className={`h-4 rounded-full bg-paper-strong ${width}`} />
2026-04-11 23:27:29 -04:00
))}
</div>
</div>
2026-02-08 23:18:21 -05:00
</div>
</div>
);
}