devel #31

Merged
inhji merged 2 commits from devel into main 2023-03-31 13:10:55 +02:00
2 changed files with 5 additions and 2 deletions

View file

@ -1,12 +1,14 @@
<header class="px-4 sm:px-6 lg:px-8">
<div class="flex items-center justify-end border-b border-theme-dim/50 py-3">
<div class="flex items-center gap-4">
<%= for channel <- @channels %>
<.link
href={~p"/n/about"}
href={~p"/#{channel.slug}"}
class="text-xs font-semibold leading-6 text-theme-base hover:text-theme-base/75"
>
About
<%= channel.name %>
</.link>
<% end %>
</div>
</div>
</header>

View file

@ -18,6 +18,7 @@ defmodule ChiyaWeb.Router do
pipeline :public do
plug :put_root_layout, {ChiyaWeb.Layouts, :root_public}
plug :fetch_identities
plug :fetch_public_channels
end
pipeline :api do