Skip to content

Commit

Permalink
fixes hero dates on all event pages
Browse files Browse the repository at this point in the history
  • Loading branch information
theClarkSell committed May 28, 2024
1 parent 77bea95 commit 2dada62
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
{:else}
<span class="text-green-500">{`${venue.city}, ${venue.state}`}</span> / {dayjs(
event.startDate
).format('MMMM Do')} - {dayjs(event.endDate).format('Do, YYYY')}
).format('MMMM Do')} - {dayjs(event.endDate).format('MMMM Do, YYYY')}
{/if}
</h2>
<h1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
{#if isOnline}
<span class="text-green-500">ONLINE</span> / {dayjs(event.startDate).format('MMMM Do')} - {dayjs(
event.endDate
).format('Do, YYYY')}
).format('MMMM Do, YYYY')}
{:else}
<span class="text-green-500">{`${venue.city}, ${venue.state}`}</span> / {dayjs(
event.startDate
).format('MMMM Do')} - {dayjs(event.endDate).format('Do, YYYY')}
).format('MMMM Do')} - {dayjs(event.endDate).format('MMMM Do, YYYY')}
{/if}
</h2>
<h1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,14 @@
<h2 class="text-2xl font-bold uppercase tracking-wider text-white antialiased">
{#if !isOnline}
<span class="text-green-500">{`${venue.city}, ${venue.state}`}</span> /
{dayjs(event.startDate).format('MMMM Do')} - {dayjs(event.endDate).format('Do, YYYY')}
{dayjs(event.startDate).format('MMMM Do')} - {dayjs(event.endDate).format(
'MMMM Do, YYYY'
)}
{:else}
<span class="text-green-500">ONLINE</span> /
{dayjs(event.startDate).format('MMMM Do')} - {dayjs(event.endDate).format('Do, YYYY')}
{dayjs(event.startDate).format('MMMM Do')} - {dayjs(event.endDate).format(
'MMMM Do, YYYY'
)}
{/if}
</h2>
<h1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
{:else}
<span class="text-green-500">{`${venue.city}, ${venue.state}`}</span> / {dayjs(
event.startDate
).format('MMMM Do')} - {dayjs(event.endDate).format('Do, YYYY')}
).format('MMMM Do')} - {dayjs(event.endDate).format('MMMM Do, YYYY')}
{/if}
</h2>

Expand Down

0 comments on commit 2dada62

Please sign in to comment.