chiya/lib/chiya_web/controllers/page_html/home.html.heex

29 lines
894 B
Text
Raw Normal View History

2023-04-03 22:22:02 +02:00
<div class="mx-auto max-w-xl mx-4 lg:mx-0">
2023-05-20 23:50:53 +02:00
<h1 class="mt-16 text-3xl font-extrabold leading-10 tracking-tight text-theme-primary">
2023-04-03 22:22:02 +02:00
<%= @settings.title %>
</h1>
<p class="mt-4 text-base leading-7 text-theme-base">
<%= @settings.subtitle %>
</p>
2023-04-03 22:22:02 +02:00
<div class="w-full mt-6 sm:w-auto">
<div class="flex gap-4 text-sm leading-6 text-theme-base">
<%= for identity <- @public_identities do %>
2023-04-03 22:22:02 +02:00
<div>
2023-03-31 16:58:10 +02:00
<a
2023-04-03 22:22:02 +02:00
rel={identity.rel}
href={identity.url}
2023-05-20 23:50:53 +02:00
class="group -mx-2 -my-0.5 inline-flex items-center gap-1 rounded-lg px-2 py-0.5 hover:bg-theme-primary/50 transition"
2023-03-31 16:58:10 +02:00
>
2023-04-03 22:22:02 +02:00
<%= raw(identity.icon) %>
<%= identity.name %>
</a>
2023-04-03 22:22:02 +02:00
</div>
<% end %>
</div>
2023-03-05 16:07:40 +01:00
</div>
2023-04-03 22:22:02 +02:00
<%= if @channel do %>
2023-05-07 10:30:32 +02:00
<.note_list notes={@channel.notes} layout={@channel.layout} />
2023-04-03 22:22:02 +02:00
<% end %>
2023-03-05 16:07:40 +01:00
</div>