From 72541d420aa338d58f247626041d6d7e81694ac4 Mon Sep 17 00:00:00 2001 From: Shashank Shekhar Pandey Date: Tue, 6 Oct 2026 17:19:04 +0530 Subject: [PATCH 01/11] feat(frontend): change subtitle font to Inter --- frontend/index.html | 2 +- frontend/src/App.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index de39ca3..790464e 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -11,7 +11,7 @@ diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 6c606c3..afa5d2d 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -216,7 +216,7 @@ export default function App() {
before you apply. -

+

See how your current skills line up with the roles Indian tech companies are hiring for, based on 12,872 labelled Indian tech job postings.

From 15a08b7ee524bdf7abcdf52f7cf597b496b2c8f2 Mon Sep 17 00:00:00 2001 From: Shashank Shekhar Pandey Date: Tue, 6 Oct 2026 17:25:16 +0530 Subject: [PATCH 02/11] feat(ui): comprehensive UI polish with Manrope font --- frontend/index.html | 2 +- frontend/src/App.jsx | 36 +++++++++++----------- frontend/src/components/RoleSelect.jsx | 16 +++++----- frontend/src/components/SkillInput.jsx | 6 ++-- frontend/src/components/ui/Chip.jsx | 8 ++--- frontend/src/components/ui/StepHeading.jsx | 4 +-- frontend/src/index.css | 22 ++++++------- 7 files changed, 47 insertions(+), 47 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index 790464e..d44719c 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -11,7 +11,7 @@ diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index afa5d2d..89d825d 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -16,12 +16,12 @@ const AUTO_RETRY_SECONDS = 15; const WAKING_AFTER_SECONDS = 4; const SKILL_INPUT_ID = 'skill-search'; -const container = 'mx-auto max-w-[928px] px-5 sm:px-6'; -const eyebrow = 'mb-[18px] text-xs font-bold uppercase tracking-[0.16em] text-accent-ink'; +const container = 'mx-auto max-w-[1100px] px-5 sm:px-6'; +const eyebrow = 'mb-8 text-[13px] font-bold uppercase tracking-[2px] text-accent'; const primaryBtn = - 'inline-flex min-h-[46px] items-center gap-2 bg-accent px-[18px] text-[15px] font-semibold text-white hover:bg-accent-hover disabled:opacity-[.42]'; + 'inline-flex min-h-[56px] items-center gap-2 rounded-xl bg-accent px-6 text-[16px] font-bold text-white transition-all duration-200 hover:-translate-y-[1px] hover:bg-accent-hover hover:shadow-md disabled:opacity-50 disabled:hover:translate-y-0 disabled:hover:shadow-none'; const secondaryBtn = - 'inline-flex min-h-[46px] flex-none items-center gap-2.5 whitespace-nowrap border border-line-2 bg-surface px-[18px] text-[15px] font-medium text-ink hover:border-ink-3 hover:bg-tint'; + 'inline-flex min-h-[56px] flex-none items-center gap-2.5 whitespace-nowrap rounded-xl border border-line-2 bg-surface px-6 text-[16px] font-bold text-ink transition-all duration-200 hover:-translate-y-[1px] hover:border-ink-3 hover:bg-tint hover:shadow-sm'; function disabledReason(count, role) { const need = Math.max(0, MIN_SKILLS - count); @@ -35,15 +35,15 @@ function disabledReason(count, role) { function Header() { return ( -
+
-
-
); @@ -209,14 +209,14 @@ export default function App() {
{view === 'input' && ( <> -
+

Placement prep, made honest

-

+

Know what to learn
before you apply.

-

+

See how your current skills line up with the roles Indian tech companies are hiring for, based on 12,872 labelled Indian tech job postings.

@@ -243,14 +243,14 @@ export default function App() { )}
-
+
-
-

- {reason &&

+

+ {reason &&

diff --git a/frontend/src/components/RoleSelect.jsx b/frontend/src/components/RoleSelect.jsx index 81c01ab..26f36c4 100644 --- a/frontend/src/components/RoleSelect.jsx +++ b/frontend/src/components/RoleSelect.jsx @@ -17,12 +17,12 @@ export default function RoleSelect({ roles, status, value, onChange, selectedNam return (
- + Role you're aiming for -
+
{!ready && ( <> {status === 'error' ? 'Roles could not be loaded.' : 'Loading roles…'} @@ -45,17 +45,17 @@ export default function RoleSelect({ roles, status, value, onChange, selectedNam ); diff --git a/frontend/src/components/SkillInput.jsx b/frontend/src/components/SkillInput.jsx index a589dd4..a32969c 100644 --- a/frontend/src/components/SkillInput.jsx +++ b/frontend/src/components/SkillInput.jsx @@ -185,7 +185,7 @@ export default function SkillInput({ value, onChange, inputId = 'skill-search' }
-
+ ); } diff --git a/frontend/src/animations.js b/frontend/src/animations.js new file mode 100644 index 0000000..1149f99 --- /dev/null +++ b/frontend/src/animations.js @@ -0,0 +1,22 @@ +const ease = [0.22, 1, 0.36, 1]; + +export const fadeUp = { + hidden: { opacity: 0, y: 16 }, + visible: { opacity: 1, y: 0, transition: { duration: 0.5, ease } }, +}; + +export const staggerContainer = { + hidden: {}, + visible: { transition: { staggerChildren: 0.08, delayChildren: 0.05 } }, +}; + +export const maskReveal = { + hidden: { y: '110%' }, + visible: { y: '0%', transition: { duration: 0.7, ease } }, +}; + +export const viewTransition = { + hidden: { opacity: 0 }, + visible: { opacity: 1, transition: { duration: 0.3 } }, + exit: { opacity: 0, transition: { duration: 0.2 } }, +}; diff --git a/frontend/src/components/ui/Card.jsx b/frontend/src/components/ui/Card.jsx index da2e17e..2431f96 100644 --- a/frontend/src/components/ui/Card.jsx +++ b/frontend/src/components/ui/Card.jsx @@ -1,3 +1,5 @@ +import { forwardRef } from 'react'; + const TONES = { readiness: 'border-t-4 border-t-accent bg-tint p-[clamp(20px,4.5vw,40px)]', plain: 'bg-surface p-[clamp(20px,4.5vw,36px)]', @@ -8,10 +10,14 @@ const TONES = { notice: 'border-t-[3px] border-t-ink-3 bg-tint px-[clamp(18px,4vw,28px)] py-[22px]', }; -export default function Card({ as: Tag = 'section', tone = 'plain', shadow = true, className = '', children, ...rest }) { +const Card = forwardRef(function Card({ as: Tag = 'section', tone = 'plain', shadow = true, className = '', children, ...rest }, ref) { return ( - + {children} ); -} +}); + +Card.displayName = 'Card'; + +export default Card; diff --git a/frontend/src/components/ui/Chip.jsx b/frontend/src/components/ui/Chip.jsx index 0be099d..2a19d49 100644 --- a/frontend/src/components/ui/Chip.jsx +++ b/frontend/src/components/ui/Chip.jsx @@ -4,8 +4,10 @@ import { Check, X } from 'lucide-react'; export default function Chip({ name, unrecognized = false, onRemove }) { return (