diff --git a/assets/css/app.css b/assets/css/app.css index f97f835..ca2210c 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -15,7 +15,7 @@ body { } a:hover { - @apply text-amber; + color: #ff9800 } header { @@ -25,3 +25,9 @@ header { code { font-family: "JetBrains Mono", monospace; } + +code { + white-space: pre; + font-size: 14px; + font-weight: bold; +} \ No newline at end of file diff --git a/lib/ketbin_web/router.ex b/lib/ketbin_web/router.ex index 3d5ee79..c61cd0f 100644 --- a/lib/ketbin_web/router.ex +++ b/lib/ketbin_web/router.ex @@ -17,7 +17,7 @@ defmodule KetbinWeb.Router do end scope "/", KetbinWeb do - pipe_through [:browser, :fetch_current_user] + pipe_through :browser get "/", PageController, :index get "/:id", PageController, :show diff --git a/lib/ketbin_web/templates/layout/app.html.eex b/lib/ketbin_web/templates/layout/app.html.eex index ad82c23..619956b 100644 --- a/lib/ketbin_web/templates/layout/app.html.eex +++ b/lib/ketbin_web/templates/layout/app.html.eex @@ -31,10 +31,28 @@ -
+
<%= @inner_content %>
+ diff --git a/lib/ketbin_web/templates/page/form.html.eex b/lib/ketbin_web/templates/page/form.html.eex index be761f5..56e71f0 100644 --- a/lib/ketbin_web/templates/page/form.html.eex +++ b/lib/ketbin_web/templates/page/form.html.eex @@ -5,7 +5,7 @@ <% end %> -
+
<%= textarea f, :content, [class: "w-full h-full px-6 py-4 outline-none bg-light-grey font-bold resize-none", placeholder: "> Paste, save, share! (Pasting just a URL will shorten it!)"] %>