chore: style updates
a6052be7
2 file(s) · +4 −4
| 49 | 49 | const postsHTML = documents |
|
| 50 | 50 | .map((record) => { |
|
| 51 | 51 | const value = record.value; |
|
| 52 | - | const rkey = record.uri.split("/").pop(); |
|
| 52 | + | const path = record.value.path.slice(1) |
|
| 53 | 53 | const publishedAt = new Date( |
|
| 54 | 54 | value.publishedAt, |
|
| 55 | 55 | ).toLocaleDateString(); |
|
| 63 | 63 | } |
|
| 64 | 64 | ||
| 65 | 65 | return ` |
|
| 66 | - | <a href="/now/${rkey}" class="block border-b pb-6 mb-6 last:border-b-0"> |
|
| 66 | + | <a href="/now/${path}" class="block border-b pb-6 mb-6 last:border-b-0"> |
|
| 67 | 67 | <article> |
|
| 68 | 68 | <h3 class="text-lg font-semibold mb-3">${value.title}</h3> |
|
| 69 | 69 | <div class="prose prose-invert max-w-none mb-3"> |
|
| 20 | 20 | <li>Reading The Dispossessed</li> |
|
| 21 | 21 | </ul> |
|
| 22 | 22 | <p class="text-gray-400">Last updated: January 3rd, 2026</p> |
|
| 23 | - | <div class="flex flex-row justify-between items-center w-full pt-12"> |
|
| 24 | - | <h2 class="text-xl font-semibold">Updates</h2> |
|
| 23 | + | <div class="flex flex-row justify-between items-center w-full pt-12 pb-6"> |
|
| 24 | + | <h2 class="title">Updates</h2> |
|
| 25 | 25 | <a |
|
| 26 | 26 | class="inline-block p-2 sm:hover:text-link" |
|
| 27 | 27 | href="/now/rss.xml" |