2021-03-05 19:23:32 -05:00
|
|
|
defmodule Shift73kWeb.UserDashboardLive do
|
|
|
|
use Shift73kWeb, :live_view
|
2020-09-14 11:21:48 -04:00
|
|
|
|
|
|
|
@impl true
|
|
|
|
def mount(_params, session, socket) do
|
2021-03-01 13:42:26 -05:00
|
|
|
socket = assign_defaults(socket, session)
|
2020-09-14 11:21:48 -04:00
|
|
|
{:ok, socket}
|
|
|
|
end
|
|
|
|
|
|
|
|
@impl true
|
|
|
|
def render(assigns) do
|
|
|
|
~L"""
|
|
|
|
<section class="phx-hero">
|
2021-03-03 08:15:14 -05:00
|
|
|
<h2>Welcome to the user dashboard!</h2>
|
2020-09-14 11:21:48 -04:00
|
|
|
</section>
|
|
|
|
"""
|
|
|
|
end
|
|
|
|
end
|