„lib/chiya_web/components/layouts/public.html.heex“ ändern

This commit is contained in:
inhji 2023-03-31 13:08:05 +02:00
parent 5bfb9440ad
commit cfd17bf711

View file

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