Skip to content

Commit 1efd701

Browse files
skeleton placeholder for hero section
1 parent 33b9228 commit 1efd701

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/components/skeleton/SkeletonFeed.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,15 @@ const SkeletonFeed = () => {
1515
const skeletonArray = Array.from({ length: 20 }, (_, i) => i)
1616
return (
1717
<>
18+
<div className="w-full lg:w-4/5 m-auto pt-4">
19+
<div
20+
className="bg-zinc-50 rounded-full h-6 animate-pulse my-2"
21+
style={{ width: 'clamp(25vw, 300px, 75vw)' }}
22+
></div>
23+
<div className="bg-zinc-50 w-full h-80 my-8 rounded-lg animate-pulse"></div>
24+
</div>
1825
<div
19-
className="bg-zinc-50 rounded-full h-4 animate-pulse mt-4 mb-2 mx-4"
26+
className="bg-zinc-50 rounded-full h-5 animate-pulse mt-4 mb-2 mx-4"
2027
style={{ width: 'clamp(25vw, 300px, 75vw)' }}
2128
></div>
2229
<article

0 commit comments

Comments
 (0)