devel #82

Merged
inhji merged 4 commits from devel into main 2023-05-23 10:18:43 +02:00
3 changed files with 13 additions and 6 deletions

View file

@ -87,4 +87,9 @@
.alert.alert-danger { .alert.alert-danger {
@apply bg-red-100 text-red-500 dark:bg-red-950 dark:text-red-500; @apply bg-red-100 text-red-500 dark:bg-red-950 dark:text-red-500;
} }
.footnotes li p { display: inline; }
.footnotes hr { display: none; }
.footnote:before { content: '{'; }
.footnote:after { content: '}'; }
} }

View file

@ -47,15 +47,17 @@
<.dot /> <.dot />
<span>Made by Inhji</span> <span>Made by Inhji</span>
<.dot /> <.dot />
<span>Struggling to make a decent website since 2011</span> <span>Struggling to make a decent website since 2011</span>
<.dot />
<span><a href={~p"/admin"}>Admin</a></span>
</p> </p>
<p> <p>
<%= for identity <- @identities do %> <%= for identity <- @identities do %>
<span><a href={identity.url}><%= identity.name %></a></span> <span><a href={identity.url}><%= identity.name %></a></span>
<.dot />
<% end %> <% end %>
<span><a href={~p"/about"}>About</a></span>
<.dot />
<span><a href={~p"/admin"}>Admin</a></span>
</p> </p>
</footer> </footer>
</body> </body>

View file

@ -10,13 +10,13 @@
<section class="mx-auto max-w-xl mt-8 text-sm"> <section class="mx-auto max-w-xl mt-8 text-sm">
<ul class="flex flex-wrap gap-3"> <ul class="flex flex-wrap gap-3">
<li> <li>
<a href="#" class="text-theme-base px-3 py-2.5 hover:bg-theme-background1 rounded transition font-semibold"> <a href="#" class="inline-block text-theme-base px-3 py-2.5 hover:bg-theme-background1 rounded transition font-semibold">
<.icon name="hero-megaphone" /> <.icon name="hero-megaphone" />
</a> </a>
</li> </li>
<%= for channel <- @channels do %> <%= for channel <- @channels do %>
<li> <li>
<a href={~p"/c/#{channel.slug}"} class="text-theme-base px-3 py-2.5 border border-theme-background1 hover:bg-theme-background1 rounded transition font-semibold"> <a href={~p"/c/#{channel.slug}"} class="inline-block text-theme-base px-3 py-2.5 border border-theme-background1 hover:bg-theme-background1 rounded transition font-semibold">
<%= channel.name %> <%= channel.name %>
</a> </a>
</li> </li>