Packages

LiveView dashboard for HAWK_EX — billing, audit, and CSV monitoring

Current section

Files

Jump to
hawk_ex_dashboard lib hawk_ex_dashboard components page_heading.ex
Raw

lib/hawk_ex_dashboard/components/page_heading.ex

defmodule HawkExDashboard.PageHeading do
@moduledoc """
The page-level `<h1>` heading used at the top of every dashboard screen.
"""
use HawkExDashboard.HTML
def heading(assigns) do
~H"""
<h1 class="text-3xl font-bold pb-6">{@title}</h1>
"""
end
end