From 154d1ebf99987e8554aa0caef3698b595e33e839 Mon Sep 17 00:00:00 2001 From: "MD. Ariful Alam" Date: Tue, 24 Aug 2021 00:56:35 +0600 Subject: [PATCH] Update style --- src/components/AvatarCard.js | 81 ++++++++++++++++------------------ src/components/Blog.js | 2 +- src/components/Details.js | 2 +- src/components/Education.js | 2 +- src/components/Experience.js | 2 +- src/components/Project.js | 10 ++--- src/components/Skill.js | 2 +- src/components/ThemeChanger.js | 16 ++++--- src/config.js | 2 +- 9 files changed, 59 insertions(+), 60 deletions(-) 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 ( -
+