<.breadcrumbs> <:crumb navigate={~p"/"}>registry <:crumb>add repository

Add repository

Register a public repository

<.form for={@remote_form} id="register-remote-form" phx-change="validate_remote" phx-submit="register_remote" class="mt-4" >
<.input field={@remote_form[:url]} type="text" autocomplete="off" placeholder="github.com/owner/repository" hide_errors class="h-12 w-full border-0 bg-transparent px-4 py-3 font-mono text-sm text-ink outline-none placeholder:text-ink-faint focus:ring-0" />
<.field_errors field={@remote_form[:url]} />

Or create a repository hosted on Tarakan

<.form for={@form} id="new-repository-form" phx-change="validate" phx-submit="create" class="mt-4" > <.input field={@form[:name]} type="text" label="Repository name" placeholder="my-project" autocomplete="off" />

{@current_scope.account.handle}/{@form[:name].value || "…"}