devel #31
2 changed files with 5 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue