From 9755085b831b071183434ab6727c670523574095 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 27 Apr 2026 01:27:41 +0000 Subject: [PATCH] feat: apply dashboard blue styling to all onboarding pages and shared pixel components Agent-Logs-Url: https://github.com/acm-projects/Rolemap/sessions/9838b79e-b2db-453b-bb91-cd947854c2ae Co-authored-by: OhamjDung <169820292+OhamjDung@users.noreply.github.com> --- frontend/app/OnBoarding/Company/page.tsx | 16 +++---- frontend/app/OnBoarding/Generate/page.tsx | 34 +++++++-------- frontend/app/OnBoarding/Major/page.tsx | 24 +++++------ frontend/app/OnBoarding/Preferences/page.tsx | 22 +++++----- frontend/app/OnBoarding/Resume/page.tsx | 44 ++++++++++---------- frontend/app/components/PixelButton.tsx | 6 +-- frontend/app/components/PixelCard.tsx | 8 ++-- frontend/app/components/PixelInput.tsx | 14 +++---- frontend/app/components/PixelProgress.tsx | 22 +++++----- 9 files changed, 95 insertions(+), 95 deletions(-) diff --git a/frontend/app/OnBoarding/Company/page.tsx b/frontend/app/OnBoarding/Company/page.tsx index 4f91685d..2a3def27 100644 --- a/frontend/app/OnBoarding/Company/page.tsx +++ b/frontend/app/OnBoarding/Company/page.tsx @@ -56,7 +56,7 @@ export default function CompanySelection() { }, [canContinue]); return ( -
+
@@ -68,7 +68,7 @@ export default function CompanySelection() { text="Where do you want to work?" speed={30} delay={400} - className="text-5xl text-[#2d5050] mt-7 block" + className="text-5xl text-[#334155] mt-7 block" />
@@ -76,7 +76,7 @@ export default function CompanySelection() { text="Select your target companies. We'll use this to customize your personalized learning path and interview preparation roadmap." speed={10} delay={900} - className="text-2xl text-[#4e8888] mb-5 max-w-2xl block" + className="text-2xl text-[#78ADCF] mb-5 max-w-2xl block" />
@@ -100,19 +100,19 @@ export default function CompanySelection() { toggleCompany(company.id)} selected={isSelected}>
{company.logo}
{company.name} @@ -132,8 +132,8 @@ export default function CompanySelection() { return (
toggleCompany(id)} > {company.name} diff --git a/frontend/app/OnBoarding/Generate/page.tsx b/frontend/app/OnBoarding/Generate/page.tsx index 6a311a67..78a7cd74 100644 --- a/frontend/app/OnBoarding/Generate/page.tsx +++ b/frontend/app/OnBoarding/Generate/page.tsx @@ -63,7 +63,7 @@ function MapAnimation({ active, done }: { active: boolean; done: boolean }) { return ( { if (i >= visibleNodes) return null; const isLast = i === MAP_NODES.length - 1; - const fill = done && isLast ? '#3d7a7a' : done ? '#eaf4f4' : i === 0 ? '#3d7a7a' : '#ffffff'; - const stroke = done && isLast ? '#2e6666' : '#7ab3b3'; - const textColor = (done && isLast) || i === 0 ? '#ffffff' : '#4a7c7c'; + const fill = done && isLast ? '#0080cc' : done ? '#E1FAFF' : i === 0 ? '#0080cc' : '#ffffff'; + const stroke = done && isLast ? '#0060aa' : '#8ED4FF'; + const textColor = (done && isLast) || i === 0 ? '#ffffff' : '#334155'; return ( {done && !active && ( )} ); })} -
+
{done ? '▶ MAP READY' : `BUILDING MAP${'.'.repeat((visibleNodes % 3) + 1)}`}
@@ -158,21 +158,21 @@ export default function GenerateRoadmap() { }; return ( -
+
- +
@@ -183,10 +183,10 @@ export default function GenerateRoadmap() { pixel-border h-full flex flex-col items-center justify-center gap-4 p-6 transition-all duration-100 ${ done - ? "border-t-[#7ab3b3] border-l-[#7ab3b3] border-r-[#4e8888] border-b-[#4e8888] bg-[#e8f4f4]" + ? "border-t-[#8ED4FF] border-l-[#8ED4FF] border-r-[#334155] border-b-[#334155] bg-[#BEF8FF]" : generating - ? "border-t-[#d4e8e8] border-l-[#d4e8e8] border-r-[#7ab3b3] border-b-[#7ab3b3] bg-white" - : "border-t-[#d4e8e8] border-l-[#d4e8e8] border-r-[#7ab3b3] border-b-[#7ab3b3] bg-white" + ? "border-t-[#DEF2FF] border-l-[#DEF2FF] border-r-[#334155] border-b-[#334155] bg-white" + : "border-t-[#DEF2FF] border-l-[#DEF2FF] border-r-[#334155] border-b-[#334155] bg-white" } `} > @@ -194,11 +194,11 @@ export default function GenerateRoadmap() { ) : ( <> -
- +
+
- Ready to generate? - + Ready to generate? + Based on your profile, we will map out everything you need to land your dream role. @@ -209,7 +209,7 @@ export default function GenerateRoadmap() { {generating && (
-

{PROGRESS_STEPS[stepIdx]}

+

{PROGRESS_STEPS[stepIdx]}

)}
diff --git a/frontend/app/OnBoarding/Major/page.tsx b/frontend/app/OnBoarding/Major/page.tsx index 97cb998c..e629c7fc 100644 --- a/frontend/app/OnBoarding/Major/page.tsx +++ b/frontend/app/OnBoarding/Major/page.tsx @@ -117,7 +117,7 @@ export default function SpecialtyPage() { }, [selected]); return ( -
+
@@ -128,7 +128,7 @@ export default function SpecialtyPage() { text="What is your specialty?" speed={20} delay={400} - className="text-5xl text-[#2d5050] block mt-7" + className="text-5xl text-[#334155] block mt-7" />
@@ -136,7 +136,7 @@ export default function SpecialtyPage() { text="Pick your primary focus area. You can search for a specific role or choose from the categories below." speed={10} delay={800} - className="text-2xl text-[#4e8888] max-w-2xl block mb-5" + className="text-2xl text-[#78ADCF] max-w-2xl block mb-5" />
@@ -153,16 +153,16 @@ export default function SpecialtyPage() { icon={} /> {showDropdown && suggestions.length > 0 && ( -
+
{suggestions.map((s) => (
handleSelectSuggestion(s.id, s.label)} - className="flex items-center gap-3 px-4 py-2 hover:bg-[#e8f4f4] cursor-pointer border-b border-[#d4e8e8] last:border-0" + className="flex items-center gap-3 px-4 py-2 hover:bg-[#E1FAFF] cursor-pointer border-b border-[#DEF2FF] last:border-0" > - {s.icon} - {s.label} - {selected === s.id && } + {s.icon} + {s.label} + {selected === s.id && }
))}
@@ -176,19 +176,19 @@ export default function SpecialtyPage() { handleCardSelect(s.id, s.label)} selected={isSelected}>
{s.image}
{s.label} @@ -199,7 +199,7 @@ export default function SpecialtyPage() { })}
- {selectedLabel &&
Selected: {selectedLabel}
} + {selectedLabel &&
Selected: {selectedLabel}
}
router.push("/")} size="md"> diff --git a/frontend/app/OnBoarding/Preferences/page.tsx b/frontend/app/OnBoarding/Preferences/page.tsx index df641d79..b2aac550 100644 --- a/frontend/app/OnBoarding/Preferences/page.tsx +++ b/frontend/app/OnBoarding/Preferences/page.tsx @@ -43,7 +43,7 @@ export default function LearningPreferences() { }, [canContinue]); return ( -
+
@@ -54,7 +54,7 @@ export default function LearningPreferences() { text="How do you learn best?" speed={20} delay={400} - className="text-5xl text-[#2d5050] leading-relaxed block" + className="text-5xl text-[#334155] leading-relaxed block" />
@@ -62,7 +62,7 @@ export default function LearningPreferences() { text="Select the modalities that help you absorb complex technical concepts most effectively." speed={10} delay={800} - className="text-2xl text-[#4e8888] leading-relaxed max-w-2xl block" + className="text-2xl text-[#78ADCF] leading-relaxed max-w-2xl block" />
@@ -74,19 +74,19 @@ export default function LearningPreferences() { toggle(p.id)} selected={isSelected}>
{p.icon}
{p.label} @@ -106,8 +106,8 @@ export default function LearningPreferences() { return (
toggle(id)} > {pref.label} @@ -119,15 +119,15 @@ export default function LearningPreferences() { )}
- + Other Preferences -
+