# Story 9.3: Logo Integration ## Epic Reference **Epic 9:** Design & Branding Implementation ## User Story As a **visitor**, I want **to see the Libra scales logo prominently displayed**, So that **I recognize the firm's branding**. ## Dependencies - **Story 9.1:** Color System Implementation (for brand colors) - **Prerequisite:** Logo SVG/PNG assets must be provided or placeholder created - **Note:** Footer integration deferred to Story 9.7; Email templates to Epic 8 ## Acceptance Criteria ### Logo Placement - [ ] Navigation: Top left (desktop), centered (mobile) - [ ] Footer: Smaller version (integrated when footer created in Story 9.7) - [ ] Email templates: Header (integrated when email templates created in Epic 8) - [ ] PDF exports: Header (integrated when PDF exports created) ### Logo Specifications - [ ] Minimum size: 120px width (desktop), 80px width (mobile) - [ ] Clear space: 20px padding minimum around logo ### Format Support - [ ] SVG primary (scalable, preferred) - [ ] PNG fallback (for email clients that don't support SVG) ### Color Variations - [ ] **Full color:** Gold (#D4AF37) logo on Navy (#0A1F44) background - [ ] **Reversed:** Navy (#0A1F44) logo on light/cream (#F9F7F4) background - [ ] **Monochrome:** Single-color gold (#D4AF37) version ### Features - [ ] Responsive sizing based on viewport - [ ] Accessible alt text: "Libra Law Firm" (translatable) ## Technical Notes ### Existing Component An `app-logo.blade.php` component already exists at `resources/views/components/app-logo.blade.php`. This story will **replace** it with a more robust implementation supporting variants and sizes. **Files to modify:** - `resources/views/components/app-logo.blade.php` - Replace with new implementation - `resources/views/components/app-logo-icon.blade.php` - Update or remove - `resources/views/components/layouts/app/header.blade.php` - Update logo usage (lines 11, 96) **Files to create:** - `public/images/logo.svg` - Full color logo - `public/images/logo-reversed.svg` - Reversed color logo - `public/images/logo-mono.svg` - Monochrome logo - `public/images/logo.png` - PNG fallback ### Logo Component Implementation ```blade @props([ 'size' => 'default', 'variant' => 'full', 'showText' => true ]) @php $sizes = [ 'small' => 'h-8 min-w-[80px]', // Mobile minimum 'default' => 'h-12 min-w-[120px]', // Desktop default 'large' => 'h-16 min-w-[160px]', // Large displays ]; $variants = [ 'full' => 'logo.svg', 'reversed' => 'logo-reversed.svg', 'mono' => 'logo-mono.svg', ]; $sizeClass = $sizes[$size] ?? $sizes['default']; $logoFile = $variants[$variant] ?? $variants['full']; @endphp