Job application tracker and AI-powered job search assistant. Helps job seekers manage their search journey with AI resume review, job matching, task logging, and application analytics, all while keeping your data private.
TypeScript ai-agentai-resume-analyzerapplication-trackerapplication-tracking-systematscareerjob-applicationjob-automationjob-huntingjob-searchjob-seeker-toolsjob-trackerjob-trackingjobsearchjobseekersmcpollamaresumeresume-reviewself-hosted
import { Pencil } from "lucide-react";
import { Button } from "../ui/button";
import { Card, CardContent, CardHeader, CardTitle } from "../ui/card";
import { ResumeSection } from "@/models/profile.model";
import { TipTapContentViewer } from "../TipTapContentViewer";
interface SummarySectionCardProps {
summarySection: ResumeSection | undefined;
openDialogForEdit: () => void;
}
function SummarySectionCard({
summarySection,
openDialogForEdit,
}: SummarySectionCardProps) {
const { sectionTitle, summary } = summarySection!;
return (
<>
<CardTitle className="pl-6 py-3">{sectionTitle}</CardTitle>
<Card>
<CardHeader className="p-2 pb-0 flex-row justify-end items-center">
<Button
title="Edit"
variant="ghost"
size="icon"
className="h-8 w-8"
onClick={openDialogForEdit}
>
<Pencil className="h-3.5 w-3.5" />
<span className="sr-only">Edit</span>
</Button>
</CardHeader>
<CardContent>
<TipTapContentViewer content={summary?.content!} />
</CardContent>
</Card>
</>
);
}
export default SummarySectionCard;