defmodule MastheadWeb.MarketingComponents do @moduledoc """ The marketing chrome — the nav and footer of the homepage. They also dress the signed-out marketplace, which is a public page wearing an admin body, so both surfaces share one header and one footer instead of drifting. `current_user` is optional: signed in, the calls to action become links into the dashboard. """ use Phoenix.Component use MastheadWeb, :verified_routes attr :current_user, :map, default: nil attr :active, :atom, default: nil, doc: ":marketplace | nil" def marketing_nav(assigns) do ~H""" """ end attr :current_user, :map, default: nil def marketing_footer(assigns) do ~H""" """ end defp github_mark(assigns) do ~H""" """ end end