* clean up helpers * shared in it's own top level folder * workspaces setup * build fix * disable workspaces? * run ci * rename job-flow to gradcracker * optional dependencies * formatting? * more optional modules * allow post install runs * node bump * remove post install * add optionals * add more * formatting * comments, but im unsure * run typescript DIRECTLY * better build * camoufox simplification * lint * build process doesn't exist * build fix * lockfile * type check everything, build only for client * rename steps correctly * import from package! * fix formatting * don't fetch twice * fix concern
32 lines
756 B
TypeScript
32 lines
756 B
TypeScript
import type { Job } from "@shared/types.js";
|
|
import type React from "react";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
interface TailoredSummaryProps {
|
|
job: Job;
|
|
className?: string;
|
|
}
|
|
|
|
export const TailoredSummary: React.FC<TailoredSummaryProps> = ({
|
|
job,
|
|
className,
|
|
}) => {
|
|
if (!job.tailoredSummary) return null;
|
|
|
|
return (
|
|
<div
|
|
className={cn(
|
|
"rounded-lg border border-border/40 bg-muted/10 px-3 py-2.5",
|
|
className,
|
|
)}
|
|
>
|
|
<div className="text-[11px] font-medium uppercase tracking-wide text-muted-foreground mb-1.5">
|
|
Tailored Summary
|
|
</div>
|
|
<p className="text-xs text-foreground/80 leading-relaxed italic whitespace-pre-wrap">
|
|
"{job.tailoredSummary}"
|
|
</p>
|
|
</div>
|
|
);
|
|
};
|