2021-02-24 07:49:39 -05:00
|
|
|
defmodule Bones73kWeb.UserDashboardLive do
|
|
|
|
use Bones73kWeb, :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">
|
|
|
|
<h1>Welcome to the user dashboard!</h1>
|
|
|
|
</section>
|
|
|
|
"""
|
|
|
|
end
|
|
|
|
end
|