diff --git a/frontend/src/components/ProfilePage/PersonalInfo.jsx b/frontend/src/components/ProfilePage/PersonalInfo.jsx index 8244f14..3d871ca 100644 --- a/frontend/src/components/ProfilePage/PersonalInfo.jsx +++ b/frontend/src/components/ProfilePage/PersonalInfo.jsx @@ -8,7 +8,7 @@ export const PersonalInfo = ({ user, isEditing, onChange }) => { }; return ( -
+
{/* Brutalist Tag */}
PERSONAL INFORMATION diff --git a/frontend/src/components/ProfilePage/ProfileHeader.jsx b/frontend/src/components/ProfilePage/ProfileHeader.jsx index 9a85376..9e77b2c 100644 --- a/frontend/src/components/ProfilePage/ProfileHeader.jsx +++ b/frontend/src/components/ProfilePage/ProfileHeader.jsx @@ -30,43 +30,28 @@ export const ProfileHeader = ({ const userEmail = user?.email || "No email provided"; return ( -
- {/* --- Left: Info --- */} -
-

- {userName} -

-

- {userEmail} -

- - {user?.isManager && ( - - MANAGER - - )} - - {/* Poster label */} -
- PROFILE -
+
+ {/* Poster label */} +
+ PROFILE
- {/* --- Right: Profile Image --- */} + {/* --- Profile Image --- */}
{user.profilePhoto ? ( - {userName} ) : (
- +
)} @@ -82,39 +67,55 @@ export const ProfileHeader = ({ )}
- {/* --- Buttons --- */} -
- {!isEditing ? ( - - ) : ( - <> - + {/* --- Info + Buttons --- */} +
+

+ {userName} +

+

+ {userEmail} +

+ + {user?.isManager && ( + + MANAGER + + )} + + {/* --- Buttons --- */} +
+ {!isEditing ? ( - - )} + ) : ( + <> + + + + )} +
diff --git a/frontend/src/components/ProfilePage/SocialLink.jsx b/frontend/src/components/ProfilePage/SocialLink.jsx index e055d49..9d89a30 100644 --- a/frontend/src/components/ProfilePage/SocialLink.jsx +++ b/frontend/src/components/ProfilePage/SocialLink.jsx @@ -50,7 +50,7 @@ export const SocialLinks = ({ user, isEditing, onChange }) => { return (
{/* Social Links Section */} -
+
{/* Brutalist Tag */}
SOCIAL LINKS @@ -63,7 +63,7 @@ export const SocialLinks = ({ user, isEditing, onChange }) => {
{/* Coding Platforms Section */} -
+
{/* Brutalist Tag */}
CODING PLATFORMS diff --git a/frontend/src/components/dsa/questions/QuestionView.jsx b/frontend/src/components/dsa/questions/QuestionView.jsx index a9492ea..ce284a3 100644 --- a/frontend/src/components/dsa/questions/QuestionView.jsx +++ b/frontend/src/components/dsa/questions/QuestionView.jsx @@ -48,69 +48,67 @@ export function QuestionsView({ selectedTopic, onBack }) { }; const difficulties = ["All", "Easy", "Medium", "Hard"]; - + return ( -
+
{/* ---------- HEADER ---------- */} -
+
{/* Back Button */} -
+
{/* Topic Tag */} -
+
{/* ---------- SEARCH + FILTER ---------- */} -
+
-
-

+

+

FILTER BY DIFFICULTY

-
+
{difficulties.map((diff) => (