fix: use new mobile vector for hero
Add hero-vector-mobile.php that renders mobile-hero-vector.svg alongside the existing desktop hero partial. The homepage-hero.css hides the desktop SVG and shows the mobile <img> below 768px while preserving every other mobile rule.
This commit is contained in:
@@ -80,6 +80,7 @@ $wrapper = blockWrapperAttributes( $classes, $is_preview );
|
||||
<div class="heroVector absolute inset-0 z-10">
|
||||
<div class="vector absolute bottom-8 w-full">
|
||||
<?php get_template_part( 'views/partials/hero-vector' ); ?>
|
||||
<?php get_template_part( 'views/partials/hero-vector-mobile' ); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user