diff --git a/lib/pinchflat_web/components/custom_components/text_components.ex b/lib/pinchflat_web/components/custom_components/text_components.ex index 6ba9771..1433bd3 100644 --- a/lib/pinchflat_web/components/custom_components/text_components.ex +++ b/lib/pinchflat_web/components/custom_components/text_components.ex @@ -31,6 +31,20 @@ defmodule PinchflatWeb.CustomComponents.TextComponents do """ end + @doc """ + Renders a subtle link with the given href and content. + """ + attr :href, :string, required: true + slot :inner_block + + def subtle_link(assigns) do + ~H""" + <.link href={@href} class="underline decoration-bodydark decoration-1 hover:decoration-white"> + <%= render_slot(@inner_block) %> + + """ + end + @doc """ Renders an icon as a link with the given href. """ diff --git a/lib/pinchflat_web/controllers/media_items/media_item_html/show.html.heex b/lib/pinchflat_web/controllers/media_items/media_item_html/show.html.heex index 00bcb54..660c179 100644 --- a/lib/pinchflat_web/controllers/media_items/media_item_html/show.html.heex +++ b/lib/pinchflat_web/controllers/media_items/media_item_html/show.html.heex @@ -30,7 +30,7 @@ method="delete" data-confirm="Are you sure you want to delete this record and all associated files on disk? This cannot be undone." > - <.button color="bg-meta-1" rounding="rounded-full"> + <.button color="bg-meta-1" rounding="rounded-lg"> Delete Files diff --git a/lib/pinchflat_web/controllers/media_profiles/media_profile_html/edit.html.heex b/lib/pinchflat_web/controllers/media_profiles/media_profile_html/edit.html.heex index 3022c54..ce0bdb4 100644 --- a/lib/pinchflat_web/controllers/media_profiles/media_profile_html/edit.html.heex +++ b/lib/pinchflat_web/controllers/media_profiles/media_profile_html/edit.html.heex @@ -2,7 +2,9 @@ <.link href={~p"/media_profiles"}> <.icon name="hero-arrow-left" class="w-10 h-10 hover:dark:text-white" /> -

Edit Media Profile

+

+ Editing "<%= @media_profile.name %>" +

diff --git a/lib/pinchflat_web/controllers/media_profiles/media_profile_html/index.html.heex b/lib/pinchflat_web/controllers/media_profiles/media_profile_html/index.html.heex index c0443d2..f5e1ae6 100644 --- a/lib/pinchflat_web/controllers/media_profiles/media_profile_html/index.html.heex +++ b/lib/pinchflat_web/controllers/media_profiles/media_profile_html/index.html.heex @@ -4,7 +4,7 @@