Fix up home status

This commit is contained in:
2024-02-02 19:41:40 +11:00
parent d26c3759ac
commit 736cad1bda
4 changed files with 13278 additions and 499 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -98,3 +98,9 @@ h1, h2, h3, h4, h5, h6, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
.squircle {
clip-path: url(#squircleClip);
}
.status-body img {
max-width: 8rem;
border-radius: 0.25rem;
margin-top: 1rem;
}

View File

@@ -1,7 +1,7 @@
div class="mb-8 h-entry border border-gray-200 m-2 p-4 bg-gray-50 hover:bg-gray-100 dark:border-slate-800 dark:bg-slate-900 dark:hover:bg-slate-950 hover:dark:border-slate-900 rounded"
a class="border-b-2 border-transparent hover:border-blue-600 hover:border-b-2" href="/post/#{post.slug}"
div class="e-content prose-p:mb-0 prose-img:my-2 prose-a:text-blue-600 prose-a:no-underline hover:prose-a:underline p-name text-base prose prose-ul:list-none prose-ul:pl-0 prose-li:pl-0 text-gray-800 dark:text-gray-200 prose-a:dark:text-gray-100 mb-4"
= " 💬 #{post.raw_content}"
div class="e-content prose-p:mb-0 prose-img:my-2 prose-a:text-blue-600 prose-a:no-underline hover:prose-a:underline p-name text-base prose prose-ul:list-none prose-ul:pl-0 prose-li:pl-0 text-gray-800 dark:text-gray-200 prose-a:dark:text-gray-100 mb-4 prose-img:rounded"
== " 💬 #{post.content}"
div class="grid gap-4 grid-flow-row grid-cols-4 grid-rows-1"
-post.photos.each do |photo|
img class="w-32 h-32 object-cover rounded" src=photo["value"]

View File

@@ -10,7 +10,7 @@ div class="mb-8 max-w-screen-md mx-auto border-t border-solid border-gray-200 da
div class="h-entry mb-12 p-2 grid grid-cols-7 gap-4 min-h-16 max-w-prose mx-auto bg-fuchsia-100 dark:bg-fuchsia-800 dark:text-gray-200 rounded"
div class="col-span-7 sm:col-span-6 text-left"
a class="u-url block my-auto hover:underline decoration-wavy" href=latest_status.permalink
span class="e-content"
span class="e-content status-body"
== latest_status.content
- latest_status.syndicated_to.each do |loc|
small class="text-fuchsia-200 dark:text-fuchsia-500"