- Rename all TrueCV references to RealCV across the codebase - Add new transparent RealCV logo - Switch from JetBrains Mono to Inter font for better number clarity - Update solution, project files, and namespaces 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
22 lines
501 B
C#
22 lines
501 B
C#
namespace RealCV.Application.Helpers;
|
|
|
|
public static class ScoreThresholds
|
|
{
|
|
public const int High = 70;
|
|
public const int Medium = 50;
|
|
|
|
public static string GetScoreClass(int score) => score switch
|
|
{
|
|
> High => "score-high",
|
|
>= Medium => "score-medium",
|
|
_ => "score-low"
|
|
};
|
|
|
|
public static string GetBadgeClass(int score) => score switch
|
|
{
|
|
> High => "bg-success",
|
|
>= Medium => "bg-warning text-dark",
|
|
_ => "bg-danger"
|
|
};
|
|
}
|