diff --git a/lib/radiator_web/controllers/error_html.ex b/lib/radiator_web/controllers/error_html.ex deleted file mode 100644 index 97c0ab0e..00000000 --- a/lib/radiator_web/controllers/error_html.ex +++ /dev/null @@ -1,19 +0,0 @@ -defmodule RadiatorWeb.ErrorHTML do - use RadiatorWeb, :html - - # If you want to customize your error pages, - # uncomment the embed_templates/1 call below - # and add pages to the error directory: - # - # * lib/radiator_web/controllers/error_html/404.html.heex - # * lib/radiator_web/controllers/error_html/500.html.heex - # - # embed_templates "error_html/*" - - # The default is to render a plain text page based on - # the template name. For example, "404.html" becomes - # "Not Found". - def render(template, _assigns) do - Phoenix.Controller.status_message_from_template(template) - end -end diff --git a/lib/radiator_web/controllers/error_json.ex b/lib/radiator_web/controllers/error_json.ex deleted file mode 100644 index b826596e..00000000 --- a/lib/radiator_web/controllers/error_json.ex +++ /dev/null @@ -1,15 +0,0 @@ -defmodule RadiatorWeb.ErrorJSON do - # If you want to customize a particular status code, - # you may add your own clauses, such as: - # - # def render("500.json", _assigns) do - # %{errors: %{detail: "Internal Server Error"}} - # end - - # By default, Phoenix returns the status message from - # the template name. For example, "404.json" becomes - # "Not Found". - def render(template, _assigns) do - %{errors: %{detail: Phoenix.Controller.status_message_from_template(template)}} - end -end diff --git a/lib/radiator_web/controllers/page_html.ex b/lib/radiator_web/controllers/page_html.ex deleted file mode 100644 index e1e7d061..00000000 --- a/lib/radiator_web/controllers/page_html.ex +++ /dev/null @@ -1,5 +0,0 @@ -defmodule RadiatorWeb.PageHTML do - use RadiatorWeb, :html - - embed_templates "page_html/*" -end diff --git a/lib/radiator_web/controllers/page_html/home.html.heex b/lib/radiator_web/controllers/page_html/home.html.heex deleted file mode 100644 index 33165007..00000000 --- a/lib/radiator_web/controllers/page_html/home.html.heex +++ /dev/null @@ -1,67 +0,0 @@ -<.flash_group flash={@flash} /> -
- -
-

Radiator 🔥

-

- Podcasting for the next century of the internet -

-

- - GitHub - -

- -
-