diff --git a/src/App.js b/src/App.js index 8a999e6..88d35e8 100644 --- a/src/App.js +++ b/src/App.js @@ -38,6 +38,9 @@ function App() { avatar: data.avatar_url, name: data.name, bio: data.bio, + location: data.location, + company: data.company, + twitter: data.twitter_username, } dispatch(setProfile(profileData)); @@ -70,7 +73,7 @@ function App() { return (
-
+
{ error ? ( ) : ( -
diff --git a/src/components/Details.js b/src/components/Details.js index 1864891..1941daf 100644 --- a/src/components/Details.js +++ b/src/components/Details.js @@ -1,37 +1,148 @@ +import { GoLocation } from 'react-icons/go'; +import { AiFillGithub } from 'react-icons/ai'; +import { SiTwitter } from 'react-icons/si'; +import { BiBuilding } from 'react-icons/bi'; +import { GrLinkedinOption, GrMail } from 'react-icons/gr'; +import { ImDribbble } from 'react-icons/im'; +import { useSelector } from 'react-redux'; +import config from '../config'; + const Details = () => { + const profile = useSelector(state => state.profile); + const loading = useSelector(state => state.loading); + return (
diff --git a/src/config.js b/src/config.js index 162207d..87424ae 100644 --- a/src/config.js +++ b/src/config.js @@ -1,5 +1,8 @@ module.exports = { - githubUsername: 'arifszn', + githubUsername: 'arifszn', // required + email: 'contact@arifszn.com', // optional + linkedinUsername: 'ariful-alam', // optional + dribbbleUsername: '', // optional themeConfig: { default: 'light', diff --git a/src/index.scss b/src/index.scss index 84de713..c682985 100644 --- a/src/index.scss +++ b/src/index.scss @@ -1,9 +1,5 @@ @use "sass:meta"; -@tailwind base; -@tailwind components; -@tailwind utilities; - ::-webkit-scrollbar-track { box-shadow: inset 0 0 6px rgba(0,0,0,0.3); -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); @@ -41,6 +37,8 @@ html:not([data-theme="dark"]), html:not([data-theme="halloween"]), html:not([data-theme="forest"]), html:not([data-theme="black"]), +html:not([data-theme="synthwave"]), +html:not([data-theme="aqua"]), html:not([data-theme="luxury"]), html:not([data-theme="dracula"]) { @include meta.load-css("node_modules/antd/dist/antd.css", $with: null); @@ -53,7 +51,9 @@ html:not([data-theme="dracula"]) { html[data-theme="dark"], html[data-theme="halloween"], html[data-theme="forest"], -html[data-theme="black"], +html[data-theme="black"], +html[data-theme="synthwave"], +html[data-theme="aqua"], html[data-theme="luxury"], html[data-theme="dracula"] { @include meta.load-css("node_modules/antd/dist/antd.dark.css", $with: null); @@ -63,6 +63,14 @@ html[data-theme="dracula"] { } } +@tailwind base; +@tailwind components; +@tailwind utilities; + +.text-base-content-important { + color: hsla(var(--bc) / var(--tw-text-opacity)) !important; +} + svg { vertical-align: unset }