From 6e73dad173bdd559d67f3631e3571c95e76735fc Mon Sep 17 00:00:00 2001 From: tiago-bacelar Date: Mon, 5 Jun 2023 14:26:38 +0100 Subject: [PATCH] Run formatter --- .../live/landing/home_live/index.html.heex | 20 +++++++++---------- .../landing/schedule_live/index.html.heex | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/lib/parzival_web/live/landing/home_live/index.html.heex b/lib/parzival_web/live/landing/home_live/index.html.heex index 1d8bf685..0ee814b9 100644 --- a/lib/parzival_web/live/landing/home_live/index.html.heex +++ b/lib/parzival_web/live/landing/home_live/index.html.heex @@ -111,14 +111,14 @@ end %>

<%= if activity["location"] do %> -

- <%= if String.length(activity["location"]) < 12 do - activity["location"] - else - String.slice(activity["location"], 0..10) <> "... " - end %> -

- <% end %> +

+ <%= if String.length(activity["location"]) < 12 do + activity["location"] + else + String.slice(activity["location"], 0..10) <> "... " + end %> +

+ <% end %>

<%= Calendar.strftime(activity["hours"], "%Hh%M") %>

@@ -183,7 +183,7 @@ else 'font-thin text-[12px] md:text-[16px] opacity-70' end} text-white"}> -
+
<%= activity["title"] %> @@ -194,7 +194,7 @@ <% end %> <%= if activity["speaker"] && activity["hours"] == next_activity do %> - By <%= activity["speaker"] %> + By <%= activity["speaker"] %> <% end %> <%= if activity["company"] && activity["hours"] == next_activity do %> diff --git a/lib/parzival_web/live/landing/schedule_live/index.html.heex b/lib/parzival_web/live/landing/schedule_live/index.html.heex index 1dceba89..24c4f101 100644 --- a/lib/parzival_web/live/landing/schedule_live/index.html.heex +++ b/lib/parzival_web/live/landing/schedule_live/index.html.heex @@ -154,7 +154,7 @@ <%= activity["location"] %> - <% end %> + <% end %>
<%= Calendar.strftime(activity["hours"], "%Hh%M") %>