Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ruioliveira02 committed Feb 12, 2025
1 parent fb5ba2f commit 19e7d15
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions lib/safira_web/live/landing/components/schedule.ex
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,18 @@ defmodule SafiraWeb.Landing.Components.Schedule do

@impl true
def render(assigns) do
current_day =
get_day(
fetch_current_date_from_params(assigns.params),
assigns.event_start_date,
assigns.event_end_date
)

~H"""
<div class="xl:grid 2xl:grid-cols-2 gap-8 relative select-none">
<div class="mb-20 2xl:mb-0">
<div class="sticky top-12">
<.schedule_day
date={current_day}
date={
get_day(
fetch_current_date_from_params(assigns.params),
assigns.event_start_date,
assigns.event_end_date
)
}
url={@url}
params={@params}
filters={fetch_filters_from_params(assigns.params)}
Expand All @@ -41,7 +40,13 @@ defmodule SafiraWeb.Landing.Components.Schedule do
<.filters
:if={@has_filters?}
url={@url}
current_day={current_day}
current_day={
get_day(
fetch_current_date_from_params(assigns.params),
assigns.event_start_date,
assigns.event_end_date
)
}
filters={fetch_filters_from_params(assigns.params)}
/>
</div>
Expand Down

0 comments on commit 19e7d15

Please sign in to comment.