diff --git a/src/components/AvatarCard.js b/src/components/AvatarCard.js index b01eae4..fc60016 100644 --- a/src/components/AvatarCard.js +++ b/src/components/AvatarCard.js @@ -10,52 +10,49 @@ const AvatarCard = () => { return (
-
- { - loading ? ( - skeleton({ - width: 'w-full', - shape: '', - style: { - height: imageHeight - } - }) - ) : ( - - ) - } -
-
-
-
-
- { - loading ? ( - skeleton({width: 'w-3/6', height: 'h-8'}) - ) : profile.name - } -
-
- +
+
+
{ loading ? ( - skeleton({width: 'w-48', height: 'h-4'}) + skeleton({ + width: 'w-full', + height: 'h-full', + shape: '', + }) + ) : ( + + ) + } +
+
+
+
+ { + loading ? ( + skeleton({ width: 'w-48', height: 'h-8' }) + ) : profile.name + } +
+
+ { + loading ? ( + skeleton({ width: 'w-48', height: 'h-4' }) ) : profile.bio } - +
diff --git a/src/components/Blog.js b/src/components/Blog.js index 4866107..8554cc4 100644 --- a/src/components/Blog.js +++ b/src/components/Blog.js @@ -7,7 +7,7 @@ const Blog = () => { const loading = useSelector(state => state.loading); return ( -
+
diff --git a/src/components/Details.js b/src/components/Details.js index de9b6d5..986178c 100644 --- a/src/components/Details.js +++ b/src/components/Details.js @@ -29,7 +29,7 @@ const Details = () => { } return ( -
+