+
{
loading ? (
- skeleton({ width: 'w-48', height: 'h-4' })
+ skeleton({ width: 'w-48', height: 'h-8' })
+ ) : {profile.name}
+ }
+
+
+ {
+ loading ? (
+ skeleton({ width: 'w-48', height: 'h-5', className: 'mt-4' })
) : profile.bio
}
diff --git a/src/components/Blog.js b/src/components/Blog.js
index 0e8973d..d9dfcc5 100644
--- a/src/components/Blog.js
+++ b/src/components/Blog.js
@@ -38,7 +38,7 @@ const Blog = () => {
-
+
-
diff --git a/src/components/Project.js b/src/components/Project.js
index c6ecdf6..fdd44f8 100644
--- a/src/components/Project.js
+++ b/src/components/Project.js
@@ -1,7 +1,8 @@
import { Fragment } from "react";
import { useSelector } from "react-redux";
import { languageColor, skeleton } from "../helpers/utils";
-import { AiFillStar, AiOutlineFork } from 'react-icons/ai';
+import { AiFillStar } from 'react-icons/ai';
+import { VscSourceControl } from 'react-icons/vsc';
const LIMIT = 8;
@@ -75,7 +76,7 @@ const Project = () => {
{item.stargazers_count}
-
+
{item.forks_count}
@@ -96,7 +97,7 @@ const Project = () => {
-
+
-
diff --git a/src/components/ThemeChanger.js b/src/components/ThemeChanger.js
index e5c4827..6a04016 100644
--- a/src/components/ThemeChanger.js
+++ b/src/components/ThemeChanger.js
@@ -3,6 +3,7 @@ import { setTheme } from '../store/slices/themeSlice';
import config from '../config';
import { skeleton } from '../helpers/utils';
import { memo } from 'react';
+import { AiOutlineControl } from 'react-icons/ai';
const ThemeChanger = () => {
const dispatch = useDispatch();
@@ -16,21 +17,25 @@ const ThemeChanger = () => {
return (
-
+
-
-
- {loading ? skeleton({ width: 'w-20', height: 'h-8' }) : 'Theme'}
-
-
-
{loading ? skeleton({ width: 'w-16', height: 'h-4' }) : (theme === config.themeConfig.default ? 'Default' : theme)}
+
+ {
+ loading ? skeleton({ width: 'w-20', height: 'h-8' }) : (
+ Theme
+ )
+ }
+
+
+ {loading ? skeleton({ width: 'w-16', height: 'h-5' }) : (theme === config.themeConfig.default ? 'Default' : theme)}
+
{
- loading ? skeleton({ width: 'w-14 md:w-28', height: 'h-10' }) : (
+ loading ? skeleton({ width: 'w-14 md:w-28', height: 'h-10', className: 'mr-6' }) : (
-
+
Change Theme
@@ -39,7 +44,7 @@ const ThemeChanger = () => {
-
+
{
config.themeConfig.themes.map((item, index) => (
-
@@ -48,8 +53,7 @@ const ThemeChanger = () => {
onClick={(e) => changeTheme(e, item)}
className={`${theme === item ? 'active' : ''}`}
>
-
-
+
{item === config.themeConfig.default ? 'Default' : item}