Skip to content

Commit

Permalink
fix order max-min (#2435)
Browse files Browse the repository at this point in the history
  • Loading branch information
ildyria authored May 14, 2024
1 parent 62d91ff commit 831b5c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/views/components/gallery/album/hero.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<div class="h-full pl-7 pt-7 relative text-shadow-sm w-full bg-gradient-to-b from-black/20 via-80%">
<h1 class="font-bold text-4xl text-text-main-0">{{ $this->title }}</h1>
@if($this->AlbumFormatted->min_taken_at !== null)
<span class="text-text-main-200 text-sm">{{ $this->AlbumFormatted->min_taken_at }}
<span class="text-text-main-200 text-sm">{{ $this->AlbumFormatted->max_taken_at }}
@if($this->AlbumFormatted->max_taken_at !== $this->AlbumFormatted->min_taken_at)
- {{ $this->AlbumFormatted->max_taken_at }}
- {{ $this->AlbumFormatted->min_taken_at }}
@endif
</span>
@endif
Expand Down

0 comments on commit 831b5c8

Please sign in to comment.