Skip to content

Commit bea82bc

Browse files
committed
pdf done
1 parent e73f0c1 commit bea82bc

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

src/components/interactive/PrintableReport.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,12 @@ const PrintableReport = React.forwardRef<HTMLDivElement, PrintableReportProps>(
128128
<div className="rounded-lg bg-gray-50 p-3 text-center">
129129
<h2 className="font-semibold mb-1" style={{ fontSize: '14px' }}>Role Fit Index</h2>
130130
<p className="font-bold text-black" style={{ fontSize: '20px' }}>{report.index}/100</p>
131+
<p className="text-gray-600 mt-1" style={{ fontSize: '9px' }}>40% Technical + 30% Domain + 20% Career + 10% Cultural</p>
131132
</div>
132133
<div className="rounded-lg bg-gray-50 p-3 text-center">
133134
<h2 className="font-semibold mb-1" style={{ fontSize: '14px' }}>Weighted Role Fit Index</h2>
134135
<p className="font-bold text-black" style={{ fontSize: '20px' }}>{report.weighted_index}/100</p>
136+
<p className="text-gray-600 mt-0.5" style={{ fontSize: '9px' }}>40% Technical + 30% Domain + 20% Career + 10% Cultural<br />(each score × confidence)</p>
135137
</div>
136138
</div>
137139

@@ -257,7 +259,7 @@ const PrintableReport = React.forwardRef<HTMLDivElement, PrintableReportProps>(
257259
<div className="mb-3 no-break">
258260
<h2 className="font-semibold mb-2" style={{ fontSize: '16px' }}>Candidate Advice</h2>
259261
<div className="bg-gray-50 rounded-lg px-5 py-3">
260-
<ul className="space-y-1">
262+
<ul className="space-y-0.5">
261263
{candidate_advices.length ? (
262264
candidate_advices.map((c, i) => (
263265
<li key={i} className="flex items-start gap-3">

src/components/interactive/ReportCard.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,10 +281,12 @@ export default function ReportCard() {
281281
<div className="rounded-lg bg-gray-50 p-5 text-center">
282282
<h2 className="text-lg font-semibold">Role Fit Index</h2>
283283
<p className="text-3xl font-bold">{report.index}/100</p>
284+
<p className="text-xs text-gray-600 mt-2">40% Technical + 30% Domain + 20% Career + 10% Cultural</p>
284285
</div>
285286
<div className="rounded-lg bg-gray-50 p-5 text-center">
286287
<h2 className="text-lg font-semibold">Weighted Role Fit Index</h2>
287288
<p className="text-3xl font-bold">{report.weighted_index}/100</p>
289+
<p className="text-xs text-gray-600 mt-0.5">40% Technical + 30% Domain + 20% Career + 10% Cultural<br />(each score × confidence)</p>
288290
</div>
289291
</div>
290292

src/pages/role-fit-index/report.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import ReportCard from "@/components/interactive/ReportCard";
88
<Layout title="Role Fit Index Report - Bounteer">
99
<Header />
1010
<main class="py-16 bg-gray-50">
11-
<div class="container-custom max-w-4xl mx-auto px-4 pb-8">
11+
<div class="container-custom max-w-8xl mx-auto px-4 pb-8">
1212
<ReportCard client:only="react" />
1313
<div class="text-center mt-8 space-x-6">
1414
<a

0 commit comments

Comments
 (0)