Skip to content

Commit f781c60

Browse files
max width, simple skeleton hero section
1 parent 1efd701 commit f781c60

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/components/skeleton/SkeletonFeed.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,14 @@ 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">
18+
<div className="w-full lg:w-4/5 max-w-6xl m-auto pt-4">
1919
<div
2020
className="bg-zinc-50 rounded-full h-6 animate-pulse my-2"
2121
style={{ width: 'clamp(25vw, 300px, 75vw)' }}
2222
></div>
23-
<div className="bg-zinc-50 w-full h-80 my-8 rounded-lg animate-pulse"></div>
23+
<div className="relative bg-zinc-700 my-8 p-4 rounded-lg h-80 animate-pulse">
24+
<div className="absolute inset-4 bg-zinc-50 animate-pulse"></div>
25+
</div>
2426
</div>
2527
<div
2628
className="bg-zinc-50 rounded-full h-5 animate-pulse mt-4 mb-2 mx-4"

0 commit comments

Comments
 (0)