From f8334243d4a723f635675c956681b71e22b556c1 Mon Sep 17 00:00:00 2001 From: Kapil Jangid Date: Fri, 1 Nov 2024 22:49:54 +0530 Subject: [PATCH 1/3] chore(package): remove local dependency on 100xdevs-job-board --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index 2a7f56c0..e47c678e 100644 --- a/package.json +++ b/package.json @@ -102,7 +102,6 @@ "@types/react-dom": "^18", "@typescript-eslint/eslint-plugin": "^8.1.0", "@typescript-eslint/parser": "^8.1.0", - "100xdevs-job-board": "file:", "eslint": "^8", "eslint-config-next": "14.2.5", "husky": "^9.1.4", From d698bbc0e1cac7f724c7c737cb4b61edc1313f20 Mon Sep 17 00:00:00 2001 From: Kapil Jangid Date: Sun, 3 Nov 2024 12:54:14 +0530 Subject: [PATCH 2/3] feat(tailwind): add extra small radius option for styling --- tailwind.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tailwind.config.ts b/tailwind.config.ts index 9051a39c..70717ea9 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -80,6 +80,7 @@ const config = { lg: 'var(--radius)', md: 'calc(var(--radius) - 2px)', sm: 'calc(var(--radius) - 4px)', + xs: 'calc(var(--radius) - 8px)', }, keyframes: { marquee: { From 39bc5e27c8faff330cf4306e6582b8b36be51a94 Mon Sep 17 00:00:00 2001 From: Kapil Jangid Date: Sun, 3 Nov 2024 12:55:15 +0530 Subject: [PATCH 3/3] feat(profile): update UI components for better responsiveness and styling --- src/app/profile/[userId]/page.tsx | 12 +++++++----- src/components/profile/AboutMe.tsx | 4 ++-- src/components/profile/ProfileEducation.tsx | 2 +- src/components/profile/ProfileExperience.tsx | 2 +- src/components/profile/ProfileHeroSection.tsx | 4 ++-- src/components/profile/ProfileHireme.tsx | 8 ++++---- src/components/profile/ProfileProjects.tsx | 2 +- src/components/profile/ProfileResume.tsx | 2 +- src/components/profile/ProfileSkills.tsx | 2 +- src/components/profile/ProfileSocials.tsx | 10 +++++----- .../emptycontainers/ProfileEmptyContainers.tsx | 2 +- src/components/profile/sheets/SheetWrapper.tsx | 7 ++++--- 12 files changed, 30 insertions(+), 27 deletions(-) diff --git a/src/app/profile/[userId]/page.tsx b/src/app/profile/[userId]/page.tsx index 6384616f..4b2fe37a 100644 --- a/src/app/profile/[userId]/page.tsx +++ b/src/app/profile/[userId]/page.tsx @@ -50,11 +50,13 @@ const Page = async ({ params: { userId } }: { params: { userId: string } }) => { isOwner={isOwner} education={userDetails.education} /> - + {!isOwner && ( + + )} )} diff --git a/src/components/profile/AboutMe.tsx b/src/components/profile/AboutMe.tsx index 4c67013e..701ae578 100644 --- a/src/components/profile/AboutMe.tsx +++ b/src/components/profile/AboutMe.tsx @@ -35,7 +35,7 @@ const ProfileAboutMe = ({ {isOwner && ( diff --git a/src/components/profile/ProfileHireme.tsx b/src/components/profile/ProfileHireme.tsx index 7b889076..c818682f 100644 --- a/src/components/profile/ProfileHireme.tsx +++ b/src/components/profile/ProfileHireme.tsx @@ -13,7 +13,7 @@ const ProfileHireme = ({ }) => { return ( <> -
+

Hire Me, Let’s Make Magic Happen! @@ -23,10 +23,10 @@ const ProfileHireme = ({ to your goals!

-
+

Contact Me

@@ -34,7 +34,7 @@ const ProfileHireme = ({ View Resume diff --git a/src/components/profile/ProfileProjects.tsx b/src/components/profile/ProfileProjects.tsx index f913238c..5f6a1e6f 100644 --- a/src/components/profile/ProfileProjects.tsx +++ b/src/components/profile/ProfileProjects.tsx @@ -60,7 +60,7 @@ const ProfileProjects = ({ {isOwner && (
{isOwner && ( - )} diff --git a/src/components/profile/sheets/SheetWrapper.tsx b/src/components/profile/sheets/SheetWrapper.tsx index 180fa408..892cb68e 100644 --- a/src/components/profile/sheets/SheetWrapper.tsx +++ b/src/components/profile/sheets/SheetWrapper.tsx @@ -24,13 +24,14 @@ const SheetWrapper: React.FC = ({ }) => { return ( - + {title} {description} - - {children} +
+ {children} +
);