shift73k/lib/shift73k_web/live/user_dashboard_live.ex

18 lines
357 B
Elixir

defmodule Shift73kWeb.UserDashboardLive do
use Shift73kWeb, :live_view
@impl true
def mount(_params, session, socket) do
socket = assign_defaults(socket, session)
{:ok, socket}
end
@impl true
def render(assigns) do
~L"""
<section class="phx-hero">
<h2>Welcome to the user dashboard!</h2>
</section>
"""
end
end