refactor: remove dead code — orphaned files, unused types and functions

Delete 3 orphaned files (SubNav, TopBar, problems.ts), remove 4 unused
type definitions from pmr.ts (ViewId, NavItem, ReferralFormData, Problem),
trim types/index.ts to only Phase, and remove unused utility functions
(calculateSkillOffset, formatBootLine, getProfileContent, DotColorName).
This commit is contained in:
2026-02-17 02:24:40 +00:00
parent 1b19087782
commit 5eb46b02d8
8 changed files with 1 additions and 516 deletions
-9
View File
@@ -1,12 +1,3 @@
export function calculateSkillOffset(level: number, radius: number): number {
const circumference = 2 * Math.PI * radius
return circumference * (1 - level / 100)
}
export function formatBootLine(text: string): string {
return text
}
export function hexToRgba(hex: string, opacity: number): string {
const r = parseInt(hex.slice(1, 3), 16)
const g = parseInt(hex.slice(3, 5), 16)