Add projects to home page

This commit is contained in:
2024-06-02 12:59:50 +10:00
parent 8e481e391d
commit 4cd6c11d5a
2 changed files with 11 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
div class="mb-8 h-entry"
h3 class="text-xl text-blue-500 dark:text-indigo-300 mb-2"
a class="u-url hover:text-blue-900" href="/post/#{post.slug}"
a class="u-url hover:text-blue-900 hover:dark:text-blue-400" href="/post/#{post.slug}"
= post.display_title
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"
== post.excerpt

View File

@@ -23,6 +23,16 @@ div class="mb-8 max-w-screen-md mx-auto border-t border-solid border-gray-200 da
a class="col-span-7 sm:col-span-1 px-2 text-center transition-colors rounded bg-fuchsia-50 hover:bg-fuchsia-200 dark:bg-fuchsia-900 dark:hover:bg-fuchsia-700 inline-block grid content-center max-h-12 my-auto" href="/statuses"
p See all
div class="justify-between max-w-prose mx-auto mb-8"
h2 class="text-xl text-emerald-600 dark:text-emerald-100" Projects
div class="flex max-w-prose mx-auto mb-2 gap-4"
a class="p-2 flex flex-col flex-1 rounded bg-emerald-100 hover:bg-emerald-400 dark:bg-emerald-600 hover:dark:bg-emerald-400 block text-emerald-900 dark:text-emerald-200 hover:dark:text-emerald-800" href="https://reprint.computer"
strong 🖥️ reprint.computer
small Syndicate blog posts around the web
a class="p-2 flex flex-col flex-1 rounded bg-emerald-100 hover:bg-emerald-400 dark:bg-emerald-600 hover:dark:bg-emerald-400 block text-emerald-900 dark:text-emerald-200 hover:dark:text-emerald-800" href="https://github.com/dnitza/adamantium"
strong 📝 Adamantium
small The source code behind this blog
div class="flex justify-between max-w-prose mx-auto mb-2"
h2 class="text-xl text-lime-600 dark:text-lime-200" Weekly posts
a class="rounded px-2 text-lime-600 hover:dark:bg-lime-900 hover:dark:text-lime-100 dark:text-lime-200 hover:text-lime-600 hover:bg-lime-100" href="/tagged/weekly" See all →