Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
1.5 KiB
Manual tests — 24-4 Home Page Sections
Automated (passed 2026-10-31, tests/Feature/Design/HomeRedesignTest.php, 8 tests): sections top, pillars band, founder,
services, mission, values, posts in order in ar and en; copy from site/home keys; one h1 and non-empty alt on every
image; the four JPEGs exist (magic bytes); hero balance + static balance render; four service rows linking #book with chips;
text-only post cards with 3 posts and the empty message with none; no "Unsplash"; all new site.* keys in both languages;
lang/*/home.php unchanged versus BASE.
UI loop (libra.test /, 390/768/1440): no horizontal scroll at any width, h1 count 1, no missing alt. At 390 it reports 1
element past the edge (probably the hero .tag card, which is positioned off the frame on purpose) — please eyeball.
Fonts in use include Cairo (existing Tailwind classes elsewhere in the shell), Markazi and IBM Plex.
/in Arabic and in English (/language/en): the seven sections read correctly and look like the approved mockup.- Hero: balance settles level; moving the mouse across the frame tips it.
- Hover a service row: fills forest, cream text. Hover a value card: lifts, medallion rotates. Hover a post card: lifts.
- Each of the 3 latest posts opens
/posts/{post}; with no published posts the "coming soon" text shows. - 390px: no sideways scroll; sections stack; the tag card does not cut off the screen.
- The "Book a consultation" buttons scroll to
#book, which only exists after 24-5.