Remove page_*

This commit is contained in:
Mirai Kumiko 2025-06-06 16:06:24 +02:00
parent 762914c3c6
commit 182523d36d
Signed by: miraikumiko
GPG key ID: 3F178B1B5E0CB278
3 changed files with 0 additions and 41 deletions

View file

@ -1,11 +0,0 @@
defmodule NullaWeb.PageController do
use NullaWeb, :controller
def home(conn, _params) do
render(conn, :home, layout: false)
end
def profile(conn, %{"username" => _username}) do
render(conn, :profile, layout: false)
end
end

View file

@ -1,10 +0,0 @@
defmodule NullaWeb.PageHTML do
@moduledoc """
This module contains pages rendered by PageController.
See the `page_html` directory for all templates available.
"""
use NullaWeb, :html
embed_templates "page_html/*"
end

View file

@ -1,20 +0,0 @@
<.flash_group flash={@flash} />
<main class="grid grid-cols-[25%_50%_25%]">
<div class="flex flex-col items-center mt-5 gap-5">
<input placeholder="Search" class="border border-gray-300 px-4 py-3 rounded-xl outline-none w-[90%]"/>
<div class="text-sm rounded-xl border border-gray-300 p-2 w-[90%]">
<textarea placeholder="What's on your mind?" class="h-[150px] w-full resize-none border-none focus:ring-0"></textarea>
<div>
<button class="text-white bg-black px-3 py-1 rounded-xl">Post</button>
</div>
</div>
</div>
<div class="border border-gray-300 shadow-md mt-5 rounded-t-xl overflow-hidden">
</div>
<div class="flex flex-col items-center mt-5 gap-5">
<div class="text-sm rounded-xl border border-gray-300 p-4 w-[90%] h-[300px]">
</div>
</div>
</main>