diff --git a/lib/pinchflat_web/components/custom_components/text_components.ex b/lib/pinchflat_web/components/custom_components/text_components.ex
index 44b2cb0..e362110 100644
--- a/lib/pinchflat_web/components/custom_components/text_components.ex
+++ b/lib/pinchflat_web/components/custom_components/text_components.ex
@@ -31,13 +31,16 @@ defmodule PinchflatWeb.CustomComponents.TextComponents do
"""
end
+ @doc """
+ Renders an icon as a link with the given href.
+ """
attr :href, :string, required: true
attr :icon, :string, required: true
attr :class, :string, default: ""
- # TODO: docs
+
def icon_link(assigns) do
~H"""
- <.link navigate={@href} class={["hover:text-secondary duration-200 ease-in-out", @class]}>
+ <.link href={@href} class={["hover:text-secondary duration-200 ease-in-out", @class]}>
"""
diff --git a/lib/pinchflat_web/controllers/sources/source_html/index.html.heex b/lib/pinchflat_web/controllers/sources/source_html/index.html.heex
index e720165..3dbfec2 100644
--- a/lib/pinchflat_web/controllers/sources/source_html/index.html.heex
+++ b/lib/pinchflat_web/controllers/sources/source_html/index.html.heex
@@ -1,5 +1,5 @@
-
All Sources
+ Sources