defmodule ToweropsWeb.MarketingLayouts do @moduledoc """ Marketing layouts for public-facing pages. """ use ToweropsWeb, :html alias ToweropsWeb.Components.CookieConsent @doc """ Renders the marketing layout. Use this for public-facing marketing pages. ## Examples

Marketing Content

""" attr :flash, :map, required: true, doc: "the map of flash messages" slot :inner_block, required: true def marketing(assigns) do assigns = Map.put_new(assigns, :requires_cookie_consent, false) ~H"""
{render_slot(@inner_block)}
""" end end