Working basic frontend implementation

This commit is contained in:
2026-03-30 02:06:15 -04:00
parent dcca583461
commit a13f80cf07
6 changed files with 220 additions and 70 deletions

View File

@@ -5,7 +5,9 @@ defmodule MixerWeb.PageController do
render(conn, :home)
end
def index conn, _params do
conn |> put_root_layout(html: {MixerWeb.Layouts, :spa_root}) |> render(:index)
def index(conn, _params) do
conn
|> put_root_layout(html: {MixerWeb.Layouts, :spa_root})
|> render(:index, current_user: conn.assigns[:current_user])
end
end