Remove page_*
This commit is contained in:
parent
762914c3c6
commit
182523d36d
3 changed files with 0 additions and 41 deletions
|
@ -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
|
|
|
@ -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
|
|
|
@ -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>
|
|
Loading…
Add table
Add a link
Reference in a new issue