Skip to main content

lib/agent_sea/web/layouts.ex

defmodule AgentSea.Web.Layouts do
  @moduledoc "Root layout for the dashboard."
  use Phoenix.Component

  def root(assigns) do
    ~H"""
    <!DOCTYPE html>
    <html lang="en">
      <head>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1" />
        <title>AgentSea</title>
      </head>
      <body>
        {@inner_content}
      </body>
    </html>
    """
  end
end