Packages

AgentSea web: a Phoenix LiveView fleet dashboard and an OpenAI-compatible chat completions endpoint.

Current section

Files

Jump to
agentsea_web lib agent_sea web layouts.ex
Raw

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