Skip to content

Commit

Permalink
Merge pull request #679 from FitzwilliamMuseum/hotfix-14367-exhibitio…
Browse files Browse the repository at this point in the history
…n-donate-btn

fix: additional exhibtion donate button
  • Loading branch information
ostafinskim committed May 2, 2024
2 parents ca96923 + 4aba8c3 commit 6af90ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/views/components/exhibition-cta.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<h2 class="cta-title exhibition-cta-title">Pay what you wish</h2>
<p class="cta-copy exhibition-cta-copy">Our exhibitions and displays remain free but you can now choose to make a
donation.</p>
@if ($exhibition['slug'] == 'rembrandt-rubens-van-dyck' || $exhibition['slug'] == 'rembrandt-rubens-van-dyck-drawings-by-dutch-and-flemish-masters')
@if ($exhibition['slug'] == 'rembrandt-rubens-van-dyck' || $exhibition['slug'] == 'rembrandt-rubens-van-dyck-drawings-by-dutch-and-flemish-masters' || $exhibition['slug'] == 'national-treasures-botticelli-in-cambridge')
<a href="{{ url('support-us/make-a-donation') }}" class="cta-btn">
Donate now
@svg('fas-chevron-right', ['width' => '16px', 'height' => '16px', 'color' => '#fff'])
Expand Down
2 changes: 1 addition & 1 deletion resources/views/components/exhibition-hero.blade.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@if (!empty($hero))
<div class="parallax home-hero exhibition-hero">
@if(!empty($hero['image']))
<div class="bg-overlay" style="background: linear-gradient( to top, rgba(0, 0, 0, 0.8) 10%, transparent ), url({{ $hero['image']['data']['url'] }})"></div>
<div class="bg-overlay" style="background: linear-gradient( to top, rgba(0, 0, 0, 0.8) 10%, transparent ), url({{ $hero['image']['data']['url'] }}) no-repeat center center / cover"></div>
@else
<div class="bg-overlay"></div>
@endif
Expand Down

0 comments on commit 6af90ed

Please sign in to comment.