# FE-01 — Homepage — Sections Completeness & CMS Integration

**Category:** frontend_ux  
**Status:** ok (with notes)

---

## Verified Controller (`HomeController.php`)
- Categories from DB ✓
- FeaturedProducts with eager loading (category, primaryImage, specs) ✓
- Services from DB ✓
- Brands from DB ✓
- Stats from DB ✓
- Testimonials from DB ✓
- FAQs from DB ✓
- Latest posts (3 published, ordered by created_at desc) ✓

## [LOW] Missing `heroSlides` and `industries`
Controller doesn't pass `$heroSlides` (from `setting('hero_slides')`) or `$industries` (from `setting('homepage_industries')`). If these sections exist in the view, they'd be reading settings directly via `setting()` helper which works but is less clean.

## [MEDIUM] Blog Post Query — Use `published_at` Not `created_at`
`HomeController.php:53` — `->orderBy('created_at', 'desc')` should use `published_at` to match `scopePublished()` logic:
```php
->where('status', 'published')
->where('published_at', '<=', now())
->orderBy('published_at', 'desc')
```

## Verified View — Sections Present (from earlier read)
- Topbar ✓ | Navbar ✓ | Hero ✓ | Stats ✓ | Categories ✓ | Featured Products ✓ | Why Choose Us ✓ | Industries ✓ | Brands ✓ | Testimonials ✓ | Blog ✓ | CTA ✓ | Footer ✓ | WhatsApp Float ✓
