From 3a312af12b83df11928aa8f54670c400e069068d Mon Sep 17 00:00:00 2001 From: Shagun Sharma <108183568+shagunsharma6677@users.noreply.github.com> Date: Mon, 29 Jan 2024 18:17:35 +0530 Subject: [PATCH 1/3] add: Shagun Sharma (#847) --- public/data/shagunsharma6677.json | 28 ++++++++++++++++++++++++++++ src/ProfilesList.json | 1 + 2 files changed, 29 insertions(+) create mode 100644 public/data/shagunsharma6677.json diff --git a/public/data/shagunsharma6677.json b/public/data/shagunsharma6677.json new file mode 100644 index 00000000..b331f24e --- /dev/null +++ b/public/data/shagunsharma6677.json @@ -0,0 +1,28 @@ +{ + "name": "Shagun Sharma", + "location": "Uttrakhand, India", + "bio": "A passionate Full Stack Web Developer with strong problem-solving abilities, proficient in React Js, Mongo DB, Express Js Next Js, Typescript and Chakra Ui, keen to learn new technologies and frameworks.", + "avatar": "https://github.com/shagunsharma6677.png", + "portfolio": "https://shagunsharma6677.github.io/", + "skills": [ + "Docker 🐳", + "MERN Stack Dev 🔥", + "Alum @Masai", + "React/Next.js 🌐", + "MongoDB", + "TypeScript/JavaScript ✨", + "Express.js/Node.js", + "Mongoose", + "React Redux", + "Tailwind Css ☀️", + "Material UI", + "Jest", + "Git" + ] + , + "social": { + "GitHub": "https://github.com/shagunsharma6677", + "Twitter": "https://twitter.com/i_nicck", + "LinkedIn": "https://www.linkedin.com/in/shagun-s67/" + } + } \ No newline at end of file diff --git a/src/ProfilesList.json b/src/ProfilesList.json index f8a0129f..e22b7d36 100644 --- a/src/ProfilesList.json +++ b/src/ProfilesList.json @@ -4,6 +4,7 @@ "utkarsh-1602.json", "rasel9t6.json", "eunit99.json", + "shagunsharma6677.json", "steveAzo.json", "abdullah_javaid.json", "apenasgabs.json", From e5d96d3ebfe6b923cf67d8899d384128a3583c21 Mon Sep 17 00:00:00 2001 From: Akshay Pratap Singh <99736940+AkshayPratapSingh09@users.noreply.github.com> Date: Mon, 29 Jan 2024 18:19:58 +0530 Subject: [PATCH 2/3] add: AkshayPratapSingh09 (#848) * Added AkshayPratapSingh09 * Update ProfilesList.json * Added AkshayPratapSingh09 * Update ProfilesList.json --------- Co-authored-by: Shyam Tawli <104145978+shyamtawli@users.noreply.github.com> --- public/data/AkshayPratapSingh09.json | 13 +++++++++++++ src/ProfilesList.json | 1 + 2 files changed, 14 insertions(+) create mode 100644 public/data/AkshayPratapSingh09.json diff --git a/public/data/AkshayPratapSingh09.json b/public/data/AkshayPratapSingh09.json new file mode 100644 index 00000000..2a421752 --- /dev/null +++ b/public/data/AkshayPratapSingh09.json @@ -0,0 +1,13 @@ +{ + "name": "Akshay Pratap Singh", + "location": "NCR, India", + "bio": "MERN Full Stack Developer And AI Enthusiast", + "avatar": "https://github.com/AkshayPratapSingh09.png", + "portfolio": "https://akshay09.pages.dev/", + "skills": ["ReactJs", "MongoDb", "ExpressJs","NodeJs", "Javascript", "Python", "C", "GraphQL", "Django", "Flask", "FastApi", "Mysql"], + "social": { + "GitHub": "https://github.com/AkshayPratapSingh09", + "Twitter": "https://twitter.com/AkshayPSingh09", + "LinkedIn": "https://www.linkedin.com/in/akshaypratap09/" + } +} diff --git a/src/ProfilesList.json b/src/ProfilesList.json index e22b7d36..18798612 100644 --- a/src/ProfilesList.json +++ b/src/ProfilesList.json @@ -1,4 +1,5 @@ [ + "AkshayPratapSingh09.json", "akhtarhssn.json", "jeremyrayjewell.json", "utkarsh-1602.json", From 7fc5a7e790c2b896adeb8ee37d267c21629cb2ca Mon Sep 17 00:00:00 2001 From: Jay Mehta <40739838+jaymehta002@users.noreply.github.com> Date: Tue, 30 Jan 2024 19:18:16 +0530 Subject: [PATCH 3/3] FIX: Default Avatar (#831) * corrected profile pic issue * fixed profile issue * packagel.lock.json removed * fixed directory --------- Co-authored-by: Shyam Tawli <104145978+shyamtawli@users.noreply.github.com> --- package.json | 1 + public/default.png | Bin 0 -> 1382 bytes src/components/Profile/Profile.jsx | 11 +++++++++-- src/components/Sidebar/Sidebar.jsx | 3 ++- 4 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 public/default.png diff --git a/package.json b/package.json index 41a0025f..75c08720 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "pnpm": "^8.10.2", "react": "^18.2.0", "react-dom": "^18.2.0", + "react-router-dom": "^6.21.1", "react-scripts": "5.0.1", "web-vitals": "^3.5.0" }, diff --git a/public/default.png b/public/default.png new file mode 100644 index 0000000000000000000000000000000000000000..bb934c246fb7269a314884c0716ac4372c431a73 GIT binary patch literal 1382 zcmZ`!X;2b)9R1?~cp-v#AYMo+Y2>vYsS$yslqrW<*rB)@UX+85Vsl}ouwtClmB$vU&U^=aRyH}Cg*@6A(>swV-GK@Xw>2n1;C z)z}Mw`gcGDa3~Z8)rP}hFdZGZuD-E>zMh`GISOrPY>BnDvc%$WHUyG`4c^%fhja8I zI=i@fcz9Sl`1pIf`H|c`+|(UF4-UFO7X)Gi)SUna*5frH>m^?Sg==cVG$2~)aRC2E ze>eH{_>GVa^>cfCt5g8^4a0S|O4l+0@&VtJ#0MaY-6Xrx1fbX`%!Y8X3xHHNB0py5 zDl!4A$9(+{o&i^$S}3HcmH|L`ahq}yoW=l9j-cDD7A7b_+xuMRZjv{M<132{rB{vv z{D&^k+>-gN`#%O*U*LlT5DhI2C=?FW{6~jqXliLgjQ|W~YU|33LT}@o6^V^8HZBxa zax>fn&pXU^pTEMS9 ze6_y=s#-2M^TMB0b&K+5wKBgV<0YG%cdx9dH^_NgVujh&ov-}55ocDdyct`H+O0iD#oVH9N*-`>Sbs0I+hV0&JHO2XNu6KG=mzfO2 z5Ken^g^X4u5bG`lFZBf@=Y-d(0VU|gfem(Dh@Y;9>RpXFK4p-_8A5%?)smoRGZGvk zO*ePH-GbBJn5ui~X_hE(Ny--H#Jgce4-c3;lQ?oiRq7`tbPMA2ez9@19q_50_kW7L({Sow;nMKqovRUK z#XQ?blhvc3UMcZ%%2wRun7qXmdm@&Fdx}NOCDF54mnpbnMmR1Flkb=r5!K#2K!bEv zL_ZgAKEmLwZlRp7cQOsqN``*f)6!F(F67s3b+}c4e{-JKee_E@^MgF7s)RO@AmCt2 zsFvqyu!4y4!uPJ$%)Yuyn5V%tJmVAZ3nd>9S-O`!3VgUYO9uFxVwyS z42HTdHc4B&OI^Z+t#oqOi_IijXREX-nY%Mtet_W@v?AtJWnB>1o6ojB8ySlDyTgTfyuhMjN(KVecDwtGT9K9i7)k!gT+qo=x;xx1{r4_nm2Pc zN*bdp8Qo%APLx=_!mk~zTuxE7R7%1&A8c!t>PF#3w$<7ze95TQOmxB8O5?Rp<%JbJ zlos(6jvJyH98)F|1L8L_@7urrTq_Y%f;??rTEUFZ_rLHsUCj#~UbRbLei`>Y{q9`~ zifK(2+ZWgKP%>F*2eQPGU_Goeo)*o-C?j(g1D{ko^|c#JUoN19-^j9%+hOw>eYL!V z^zV!g{s2E>oF9*GokuE&X2St#qqeOqSBY@BiF&g3|Lo=`91Dv=i|=!Kb!hwDWAqpt PW7r%a3D>ads~-CsWV|?2 literal 0 HcmV?d00001 diff --git a/src/components/Profile/Profile.jsx b/src/components/Profile/Profile.jsx index c5cf1cce..2090b9fc 100644 --- a/src/components/Profile/Profile.jsx +++ b/src/components/Profile/Profile.jsx @@ -6,6 +6,7 @@ import { faXTwitter } from '@fortawesome/free-brands-svg-icons'; import { faGithub } from '@fortawesome/free-brands-svg-icons'; import { faLinkedinIn } from '@fortawesome/free-brands-svg-icons'; + function Profile({ data }) { return (
@@ -15,7 +16,8 @@ function Profile({ data }) { function Card({ data }) { const cardRef = React.useRef(); - const handleWheel = (event) => { + const [avatarSrc, setAvatarSrc] = React.useState(data.avatar); + const handleWheel = (event) => { event.stopPropagation(); event.preventDefault(); let container = event.target; @@ -33,11 +35,16 @@ function Profile({ data }) { cardRef.current.addEventListener('wheel', handleWheel, { passive: false }); }, []); + return (
- User logo + User logo setAvatarSrc('default.png')} + />

diff --git a/src/components/Sidebar/Sidebar.jsx b/src/components/Sidebar/Sidebar.jsx index 0a1c6f28..72649518 100644 --- a/src/components/Sidebar/Sidebar.jsx +++ b/src/components/Sidebar/Sidebar.jsx @@ -3,6 +3,7 @@ import './Sidebar.css'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { faCode, faMoon, faSun } from '@fortawesome/free-solid-svg-icons'; import useTheme from '../../hooks/useTheme'; +// import {UserForm} from '../UserFrom/UserFrom'; function Sidebar() { const { theme, toogleTheme } = useTheme(); @@ -29,7 +30,7 @@ function Sidebar() {

Discover and Connect with Skilled Developers.
-