lib/chiya_web/components/public_components.ex aktualisiert #246

Merged
inhji merged 2 commits from devel into main 2023-07-29 18:57:48 +02:00

View file

@ -137,7 +137,7 @@ defmodule ChiyaWeb.PublicComponents do
<%= for note <- assigns.notes do %> <%= for note <- assigns.notes do %>
<a <a
href={~p"/note/#{note.slug}"} href={~p"/note/#{note.slug}"}
class="rounded-lg px-6 py-4 border border-theme-background1 hover:bg-theme-background1 transition" class="block rounded-lg px-6 py-4 border border-theme-background1 hover:bg-theme-background1 transition"
> >
<header class="flex flex-row items-center gap-1"> <header class="flex flex-row items-center gap-1">
<span class="text-theme-primary text-lg font-semibold leading-8 flex-1"> <span class="text-theme-primary text-lg font-semibold leading-8 flex-1">
@ -155,9 +155,9 @@ defmodule ChiyaWeb.PublicComponents do
<% end %> <% end %>
<%= if not Enum.empty?(note.tags) do %> <%= if not Enum.empty?(note.tags) do %>
<footer class="mt-2"> <aside class="mt-2">
<.tags note={note} /> <.tags note={note} />
</footer> </aside>
<% end %> <% end %>
</a> </a>
<% end %> <% end %>