/** * @license * SPDX-License-Identifier: Apache-2.0 */ import React from 'react'; import LoadingSpinner from './LoadingSpinner'; interface JobMatchDashboardProps { score: number; suggestions: string[]; isLoading: boolean; hasContent: boolean; } export default function JobMatchDashboard({ score, suggestions, isLoading, hasContent }: JobMatchDashboardProps) { const gaugeRotation = (score / 100) * 180; // 0 score = 0deg, 100 score = 180deg if (!hasContent) { return (
Your Job Match Score and AI Insights will appear here once a resume is generated.
) } return (

Live Analysis

{score}/100

AI Suggestions {isLoading && (Updating...)}

{suggestions.length > 0 ? ( ) : (

No suggestions at the moment. Looks good!

)}
); }