removing user/admin dashboards from boilerplate
This commit is contained in:
parent
3a9f00b14e
commit
9d59effeca
5 changed files with 6 additions and 208 deletions
lib/shift73k_web/live
|
@ -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
|
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue