diff --git a/lib/live_beats_web/components/core_components.ex b/lib/live_beats_web/components/core_components.ex
index 7b60d77..fa66ea0 100644
--- a/lib/live_beats_web/components/core_components.ex
+++ b/lib/live_beats_web/components/core_components.ex
@@ -391,10 +391,12 @@ defmodule LiveBeatsWeb.CoreComponents do
attr :rest, :global
slot :title
+
slot :confirm do
attr :type, :string
attr :form, :string
end
+
slot :cancel
def modal(assigns) do
@@ -532,11 +534,19 @@ defmodule LiveBeatsWeb.CoreComponents do
def button(%{patch: _} = assigns) do
~H"""
<%= if @primary do %>
- <.link patch={@patch} class="order-0 inline-flex items-center px-4 py-2 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-purple-600 hover:bg-purple-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-purple-500 sm:order-1 sm:ml-3" {@rest}>
+ <.link
+ patch={@patch}
+ class="order-0 inline-flex items-center px-4 py-2 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-purple-600 hover:bg-purple-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-purple-500 sm:order-1 sm:ml-3"
+ {@rest}
+ >
<%= render_slot(@inner_block) %>
<% else %>
- <.link patch={@patch} class="order-1 inline-flex items-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-purple-500 sm:order-0 sm:ml-0 lg:ml-3" {assigns_to_attributes(assigns, [:primary, :patch])}>
+ <.link
+ patch={@patch}
+ class="order-1 inline-flex items-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-purple-500 sm:order-0 sm:ml-0 lg:ml-3"
+ {assigns_to_attributes(assigns, [:primary, :patch])}
+ >
<%= render_slot(@inner_block) %>
<% end %>
diff --git a/lib/live_beats_web/live/profile_live.ex b/lib/live_beats_web/live/profile_live.ex
index de0131b..24a811c 100644
--- a/lib/live_beats_web/live/profile_live.ex
+++ b/lib/live_beats_web/live/profile_live.ex
@@ -37,7 +37,8 @@ defmodule LiveBeatsWeb.ProfileLive do
<.link href={@profile.external_homepage_url} target="_blank" class="text-sm text-gray-600">
- <.icon name={:code_bracket} /> <%= url_text(@profile.external_homepage_url) %>
+ <.icon name={:code_bracket} />
+ <%= url_text(@profile.external_homepage_url) %>
<:actions>
@@ -150,7 +151,12 @@ defmodule LiveBeatsWeb.ProfileLive do
>
- <.icon name={:speaker_wave} class="h-5 w-5 -mt-1 -ml-1" aria-label="Playing" role="button" />
+ <.icon
+ name={:speaker_wave}
+ class="h-5 w-5 -mt-1 -ml-1"
+ aria-label="Playing"
+ role="button"
+ />
<.icon