freedive/lib/freedive_web/live/home_live.ex

16 lines
244 B
Elixir
Raw Normal View History

2024-05-13 19:35:09 +02:00
defmodule FreediveWeb.HomeLive do
use FreediveWeb, :live_view
def render(assigns) do
~H"""
<.section>
<.title>Home</.title>
</.section>
"""
end
def mount(_params, _session, socket) do
{:ok, socket}
end
end