Skip to content

Commit

Permalink
fix: add classes for each section of the two colum hero.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Thulin committed Oct 14, 2024
1 parent 83d4bcb commit 0a8d11c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions source/php/Component/Hero/views/twoColumn.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@
'wrap' => 'wrap',
'classList' => [$baseClass . '__content', 'o-grid', 'u-flex-direction--row--reverse']
])
<div class="{{$baseClass}}__group">
<div class="{{$baseClass}}__group {{$baseClass}}__image-container">
@image([
'src' => $image,
'classList' => ['u-margin__bottom--0', $baseClass . '__group-image']
'classList' => ['u-margin__bottom--0', $baseClass . '__group-image'],
'cover' => true
])
@endimage
</div>
<div class="{{$baseClass}}__group">
<div class="{{$baseClass}}__group {{$baseClass}}__content-container">
@group([
'justifyContent' => 'center',
'direction' => 'vertical',
Expand Down

0 comments on commit 0a8d11c

Please sign in to comment.