# Sites Module UI Standardization Plan **Goal:** Make Sites module UI consistent with IGNY8 global design standard (Planner/Writer/Dashboard) **Reference:** See `IGNY8_DESIGN_STANDARD.md` for complete design patterns **Status:** Ready for implementation **Priority:** Medium-High (improves UX, accessibility, maintainability) **Estimated Effort:** 4-6 hours --- ## Executive Summary ### Current State The Sites module uses inconsistent UI patterns: - ✅ Uses Button component correctly in many places - ✅ Uses EnhancedMetricCard for metrics - ❌ Uses ` ``` **Target (✅):** ```tsx {/* ... */} ``` **Reason:** Link provides better accessibility, keyboard navigation, and browser features (right-click open in new tab) --- #### 2. Missing ComponentCard Wrapper **Files affected:** Dashboard.tsx, List.tsx, Settings.tsx **Current (❌):** ```tsx

Quick Actions

{/* actions */}
``` **Target (✅):** ```tsx
{/* actions */}
``` **Reason:** Consistent section styling, automatic dark mode support, less boilerplate --- #### 3. Button + Navigate Anti-Pattern **Files affected:** Content.tsx (2 instances), Editor.tsx (2 instances), List.tsx (1 instance) **Current (❌):** ```tsx ``` **Target (✅):** ```tsx ``` **Reason:** Button component supports `as` prop for Link rendering while maintaining Button styles --- #### 4. Inline Tailwind Duplication **Files affected:** Settings.tsx (30+ instances), Content.tsx, List.tsx **Example:** ```tsx className="mt-1 w-full px-3 py-2 border border-gray-300 dark:border-gray-700 rounded-md dark:bg-gray-800 dark:text-white" ``` **Solution:** Extract to reusable Input component or use existing form components --- #### 5. Raw Button Elements **Files affected:** Multiple (50+ instances found) **Pattern:** Some ` ``` **After:** ```tsx
{/* ... */}
``` **Estimated Time:** 30 minutes --- ### Phase 2: Content.tsx (Medium Priority) **Lines affected:** 133, 214 (Button with navigate) **Changes:** 1. Replace ` ``` **After:** ```tsx ``` **Estimated Time:** 15 minutes --- ### Phase 3: List.tsx (Medium Priority) **Lines affected:** 670 (Button with navigate), filter/tab sections **Changes:** 1. Replace `