import { Card, Row, Col } from "../shared/layout"; import { TangledLogo } from "../shared/logo"; import { CardHeader } from "../shared/card-header"; import { FooterStats } from "../shared/footer-stats"; import { CardFooter } from "../shared/card-footer"; import { COLORS, TYPOGRAPHY } from "../shared/constants"; import { pluralize } from "../../lib/pluralize"; import type { CommitCardData } from "../../validation"; const BAR_HEIGHT = 28; interface DiffBarProps { additions: number; deletions: number; filesChanged: number; shortHash: string; } function DiffBar({ additions, deletions, filesChanged, shortHash }: DiffBarProps) { const share = additions / (additions + deletions); return (