diff --git a/lib/nulla_web/controllers/page_controller.ex b/lib/nulla_web/controllers/page_controller.ex index 3daa035..76dd567 100644 --- a/lib/nulla_web/controllers/page_controller.ex +++ b/lib/nulla_web/controllers/page_controller.ex @@ -2,8 +2,10 @@ defmodule NullaWeb.PageController do use NullaWeb, :controller def home(conn, _params) do - # The home page is often custom made, - # so skip the default app layout. render(conn, :home, layout: false) end + + def profile(conn, %{"username" => _username}) do + render(conn, :profile, layout: false) + end end diff --git a/lib/nulla_web/controllers/page_html/home.html.heex b/lib/nulla_web/controllers/page_html/home.html.heex index d72b03c..6bcfbd1 100644 --- a/lib/nulla_web/controllers/page_html/home.html.heex +++ b/lib/nulla_web/controllers/page_html/home.html.heex @@ -1,222 +1,20 @@ <.flash_group flash={@flash} /> -
-- Peace of mind from prototype to production. -
-- Build rich, interactive web applications quickly, with less code and fewer moving parts. Join our growing community of developers using Phoenix to craft APIs, HTML5 apps and more, for fun or at scale. -
-Cryptopunk in the past.
+Silent girl now and admin of this instance.
+Grew up on hacker culture, philosophy, good old movies and anime. That's why I love cyberpunk — modern philosophy and technolization in one bottle. I also use Linux on a first-name basis and can program.
+Can play shooters, chess and other games where strategy and psychological analysis of opponents are important.
+Bunnies and rabbits are superior!
+