berrypod/lib/berrypod_web/live/shop/contact.ex

19 lines
412 B
Elixir
Raw Normal View History

defmodule BerrypodWeb.Shop.Contact do
use BerrypodWeb, :live_view
@impl true
def mount(_params, _session, socket) do
{:ok,
socket
|> assign(:page_title, "Contact")
|> assign(:page_description, "Get in touch with us for any questions or help with your order.")}
end
@impl true
def render(assigns) do
~H"""
<BerrypodWeb.PageTemplates.contact {assigns} />
"""
end
end