Fix shared components

This commit is contained in:
2024-02-18 19:41:17 +11:00
parent cfa0184086
commit 05518214fa
2 changed files with 8 additions and 0 deletions

View File

@@ -23,6 +23,10 @@ module Adamantium
config.logger.stream = "log/hanami.log"
config.shared_app_component_keys += [
"clients.omdb",
"clients.blue_sky",
"clients.mastodon",
"geo.gpx_parser",
"param_parser.micropub_post",
"param_parser.webmention",
"post_utilities.slugify",

View File

@@ -9,6 +9,10 @@ div class="mb-12 max-w-prose mx-auto text-gray-800 dark:text-gray-200"
a class="block p-1 border border-blue-200 bg-blue-200 text-blue-900 hover:bg-blue-300 text-center rounded-lg" href="/posts" 🪧 All posts
a class="block p-1 border border-blue-200 bg-blue-200 text-blue-900 hover:bg-blue-300 text-center rounded-lg" href="/tagged/weekly" 🔄 Week posts
a class="block p-1 border border-blue-200 bg-blue-200 text-blue-900 hover:bg-blue-300 text-center rounded-lg" href="/timemachine/#{Time.now.strftime("%Y/%m/%d")}" ⏳ Time machine
div class="grid grid-cols-2 gap-2 mb-6"
a class="block p-1 border border-blue-200 bg-blue-200 text-blue-900 hover:bg-blue-300 text-center rounded-lg" href="/bookmarks" 📑️ Bookmarks
a class="block p-1 border border-blue-200 bg-blue-200 text-blue-900 hover:bg-blue-300 text-center rounded-lg" href="/photos" 📸️️ Photos
a class="block p-1 border border-blue-200 bg-blue-200 text-blue-900 hover:bg-blue-300 text-center rounded-lg" href="/places" 🗺️️ Places
h2 class="text-xl" Explore everything else