2023-03-05 16:07:40 +01:00
|
|
|
<div class="px-4 py-10 sm:py-28 sm:px-6 lg:px-8 xl:py-32 xl:px-28">
|
|
|
|
<div class="mx-auto max-w-xl lg:mx-0">
|
2023-03-17 21:21:01 +01:00
|
|
|
<h1 class="mt-4 text-[2rem] font-semibold leading-10 tracking-tighter text-theme-primary">
|
2023-03-08 09:10:52 +01:00
|
|
|
<%= @settings.title %>
|
2023-03-08 15:00:13 +01:00
|
|
|
</h1>
|
2023-03-15 16:21:20 +01:00
|
|
|
<p class="mt-4 text-base leading-7 text-theme-base">
|
2023-03-08 09:10:52 +01:00
|
|
|
<%= @settings.subtitle %>
|
2023-03-05 16:07:40 +01:00
|
|
|
</p>
|
2023-03-14 22:57:40 +01:00
|
|
|
|
2023-03-09 22:18:19 +01:00
|
|
|
<div class="w-full mt-6 sm:w-auto">
|
2023-03-15 16:21:20 +01:00
|
|
|
<div class="flex gap-4 text-sm leading-6 text-theme-base">
|
2023-03-09 22:18:19 +01:00
|
|
|
<%= for identity <- @identities do %>
|
2023-03-11 00:05:16 +01:00
|
|
|
<div>
|
|
|
|
<a
|
|
|
|
rel={identity.rel}
|
|
|
|
href={identity.url}
|
|
|
|
target="_blank"
|
2023-03-15 19:16:01 +01:00
|
|
|
class="group -mx-2 -my-0.5 inline-flex items-center gap-3 rounded-lg px-2 py-0.5 hover:bg-theme-dim"
|
2023-03-11 00:05:16 +01:00
|
|
|
>
|
2023-03-14 22:57:40 +01:00
|
|
|
<%= raw identity.icon %>
|
2023-03-11 00:05:16 +01:00
|
|
|
<%= identity.name %>
|
|
|
|
</a>
|
|
|
|
</div>
|
2023-03-09 22:18:19 +01:00
|
|
|
<% end %>
|
2023-03-05 16:07:40 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-03-11 00:05:16 +01:00
|
|
|
<%= if @channel do %>
|
2023-03-15 10:07:22 +01:00
|
|
|
<div class="w-full mt-6 sm:w-auto flex flex-col gap-1.5">
|
2023-03-11 00:05:16 +01:00
|
|
|
<%= for note <- @channel.notes do %>
|
2023-03-15 10:07:22 +01:00
|
|
|
<a href={~p"/n/#{note.slug}"} class="group">
|
2023-03-15 19:16:01 +01:00
|
|
|
<span class="text-theme-heading text-lg font-semibold leading-8 group-hover:text-theme-heading/75"><%= note.name %></span>
|
|
|
|
<span class="text-theme-muted text-sm group-hover:text-theme-muted/75"><%= pretty_date(note.published_at) %></span>
|
2023-03-11 00:05:16 +01:00
|
|
|
</a>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
2023-03-05 16:07:40 +01:00
|
|
|
</div>
|
|
|
|
</div>
|