From 5cb937c14c6181c319806b5cc658fe38e2f474d8 Mon Sep 17 00:00:00 2001 From: miraikumiko Date: Sat, 21 Jun 2025 12:16:27 +0200 Subject: [PATCH] Move auth template to page --- lib/nulla_web/components/templates.ex | 6 ------ .../components/templates/{auth => page}/sign_in.html.heex | 0 .../components/templates/{auth => page}/sign_up.html.heex | 0 3 files changed, 6 deletions(-) rename lib/nulla_web/components/templates/{auth => page}/sign_in.html.heex (100%) rename lib/nulla_web/components/templates/{auth => page}/sign_up.html.heex (100%) diff --git a/lib/nulla_web/components/templates.ex b/lib/nulla_web/components/templates.ex index be2365a..e8318f3 100644 --- a/lib/nulla_web/components/templates.ex +++ b/lib/nulla_web/components/templates.ex @@ -4,12 +4,6 @@ defmodule NullaWeb.PageHTML do embed_templates "templates/page/*" end -defmodule NullaWeb.AuthHTML do - use NullaWeb, :html - - embed_templates "templates/auth/*" -end - defmodule NullaWeb.ActorHTML do use NullaWeb, :html diff --git a/lib/nulla_web/components/templates/auth/sign_in.html.heex b/lib/nulla_web/components/templates/page/sign_in.html.heex similarity index 100% rename from lib/nulla_web/components/templates/auth/sign_in.html.heex rename to lib/nulla_web/components/templates/page/sign_in.html.heex diff --git a/lib/nulla_web/components/templates/auth/sign_up.html.heex b/lib/nulla_web/components/templates/page/sign_up.html.heex similarity index 100% rename from lib/nulla_web/components/templates/auth/sign_up.html.heex rename to lib/nulla_web/components/templates/page/sign_up.html.heex