Add basic pages

This commit is contained in:
Mirai Kumiko 2025-05-29 14:10:47 +02:00
parent 9c9ea3abb7
commit 920e03aad6
Signed by: miraikumiko
GPG key ID: 3F178B1B5E0CB278
6 changed files with 89 additions and 220 deletions

View file

@ -2,8 +2,10 @@ defmodule NullaWeb.PageController do
use NullaWeb, :controller
def home(conn, _params) do
# The home page is often custom made,
# so skip the default app layout.
render(conn, :home, layout: false)
end
def profile(conn, %{"username" => _username}) do
render(conn, :profile, layout: false)
end
end