Files
WooNooW/admin-spa
dwindown 7badee9ee4 feat: Enhanced Email Customization - Logo, Social, Hero Text! 🎨
## Frontend Improvements (1-3, 5)

### 1. Logo URL with WP Media Library 
- Added "Select" button next to logo URL input
- Opens WordPress Media Library
- Logo preview below input
- Easier for users to select from existing media

### 2. Footer Text with {current_year} Variable 
- Updated placeholder to show {current_year} usage
- Help text explains dynamic year variable
- Backend will replace with actual year

### 3. Social Links in Footer 
**Platforms Supported:**
- Facebook
- Twitter
- Instagram
- LinkedIn
- YouTube
- Website

**Features:**
- Add/remove social links
- Platform dropdown with icons
- URL input for each link
- Visual icons in UI
- Will render as icons in email footer

### 5. Hero Card Text Color 
- Added hero_text_color field
- Color picker + hex input
- Applied to preview
- Separate control for heading/text color
- Usually white for dark gradients

**Updated Interface:**
```typescript
interface EmailSettings {
  // ... existing
  hero_text_color: string;
  social_links: SocialLink[];
}

interface SocialLink {
  platform: string;
  url: string;
}
```

**File:**
- `routes/Settings/Notifications/EmailCustomization.tsx`

Next: Wire to backend (task 4)!
2025-11-13 13:38:51 +07:00
..
2025-11-13 10:13:17 +07:00