Skip to content

Commit

Permalink
Merge pull request #599 from FitzwilliamMuseum/staging
Browse files Browse the repository at this point in the history
remove day name from hero
  • Loading branch information
AlanJIsaacson authored Jul 28, 2023
2 parents f779eed + 5379061 commit c6de13e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions resources/views/components/home-page-hero.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
{{ $hero['hero_subtitle'] }}
</p>
@endif
{{-- @if ($hero['exhibition_link'])
@if ($hero['exhibition_link'])
<p>
{{ Carbon\Carbon::parse($hero['exhibition_link']['exhibition_start_date'])->format('l jS F Y') }}
{{ Carbon\Carbon::parse($hero['exhibition_link']['exhibition_start_date'])->format('jS F Y') }}
-
{{ Carbon\Carbon::parse($hero['exhibition_link']['exhibition_end_date'])->format('l jS F Y') }}
{{ Carbon\Carbon::parse($hero['exhibition_link']['exhibition_end_date'])->format('jS F Y') }}
</p>
@endif --}}
@endif
</div>
@if (!empty($hero['ticket_link']))
<button class="hero-cta">
Expand Down

0 comments on commit c6de13e

Please sign in to comment.