feat: remodelar /sobre conforme mock editorial
All checks were successful
CI / static (pull_request) Successful in 2m17s
CI / unit (pull_request) Successful in 3m18s
CI / feature (pull_request) Successful in 2m42s
CI / container (pull_request) Successful in 1m4s
CI / browser (pull_request) Successful in 4m0s

Alinha a página Sobre à composição aprovada (hero, pilares, Michele, processo, portfólio, CTA), com foto da Michele via CMS e tokens Heritage Editorial.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-12 17:25:35 -03:00
parent 26a68e1823
commit d17ab82055
25 changed files with 607 additions and 31 deletions

View File

@@ -80,6 +80,14 @@ class ImmersivePhotoHeroTest extends TestCase
->assertDontSee('data-split-hero', false)
->assertDontSee('content/heroes/home.jpg', false);
}
if ($route === route('about')) {
$response
->assertSee('data-motion="page-open"', false)
->assertSee('data-about-hero', false)
->assertDontSee('data-photo-hero', false)
->assertDontSee('min-h-[calc(100dvh-5rem)]', false);
}
}
}
@@ -99,7 +107,7 @@ class ImmersivePhotoHeroTest extends TestCase
'cover_image_alt' => 'Cerimônia ao ar livre',
]);
foreach ([route('services.index'), route('portfolio.index'), route('portfolio.show', $case->slug), route('about')] as $route) {
foreach ([route('services.index'), route('portfolio.index'), route('portfolio.show', $case->slug)] as $route) {
$this->get($route)
->assertOk()
->assertSee('data-photo-hero', false)
@@ -107,6 +115,15 @@ class ImmersivePhotoHeroTest extends TestCase
->assertSee('fetchpriority="high"', false)
->assertSee('sizes="(max-width: 1023px) 100vw, 58vw"', false);
}
$this->get(route('about'))
->assertOk()
->assertSee('data-about-hero', false)
->assertSee('content/heroes/about.jpg', false)
->assertSee('loading="eager"', false)
->assertSee('fetchpriority="high"', false)
->assertDontSee('data-photo-hero', false)
->assertDontSee('data-tonal-hero', false);
}
public function test_hero_upload_requires_alt_text_only_when_an_image_is_uploaded(): void