removing user/admin dashboards from boilerplate

This commit is contained in:
Adam Piontek 2021-03-05 22:37:52 -05:00
commit 9d59effeca
5 changed files with 6 additions and 208 deletions

View file

@ -1,18 +0,0 @@
defmodule Shift73kWeb.AdminDashboardLive 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">
<h1>Welcome to the admin dashboard!</h1>
</section>
"""
end
end

View file

@ -1,18 +0,0 @@
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