diff --git a/Gemfile.lock b/Gemfile.lock index 9d0f4bc..c9c95bd 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -36,7 +36,7 @@ GIT GEM remote: https://rubygems.org/ specs: - activesupport (7.2.1) + activesupport (7.2.1.1) base64 bigdecimal concurrent-ruby (~> 1.0, >= 1.3.1) @@ -104,7 +104,7 @@ GEM dry-auto_inject (1.0.1) dry-core (~> 1.0) zeitwerk (~> 2.6) - dry-cli (1.1.0) + dry-cli (1.2.0) dry-configurable (1.2.0) dry-core (~> 1.0, < 2) zeitwerk (~> 2.6) @@ -167,7 +167,7 @@ GEM zeitwerk (~> 2.6) ed25519 (1.3.0) erubi (1.13.0) - faker (3.4.2) + faker (3.5.1) i18n (>= 1.8.11, < 2) faraday (1.10.4) faraday-em_http (~> 1.0) @@ -329,7 +329,7 @@ GEM hansi (~> 0.2.0) mustermann (= 3.0.3) nenv (0.3.0) - net-imap (0.4.16) + net-imap (0.5.0) date net-protocol net-pop (0.1.2) @@ -383,7 +383,7 @@ GEM nio4r (~> 2.0) que (2.4.0) racc (1.8.1) - rack (2.2.9) + rack (2.2.10) rack-attack (6.7.0) rack (>= 1.0, < 4) rack-contrib (2.5.0) @@ -453,7 +453,7 @@ GEM rspec-core (~> 3.13.0) rspec-expectations (~> 3.13.0) rspec-mocks (~> 3.13.0) - rspec-core (3.13.1) + rspec-core (3.13.2) rspec-support (~> 3.13.0) rspec-expectations (3.13.3) diff-lcs (>= 1.2.0, < 2.0) @@ -499,13 +499,13 @@ GEM snaky_hash (2.0.1) hashie version_gem (~> 1.1, >= 1.1.1) - sshkit (1.23.1) + sshkit (1.23.2) base64 net-scp (>= 1.1.2) net-sftp (>= 2.1.2) net-ssh (>= 2.8.0) ostruct - standard (1.41.0) + standard (1.41.1) language_server-protocol (~> 3.17.0.2) lint_roller (~> 1.0) rubocop (~> 1.66.0) @@ -530,7 +530,7 @@ GEM tzinfo (2.0.6) concurrent-ruby (~> 1.0) unicode-display_width (2.6.0) - unicode-emoji (3.5.0) + unicode-emoji (3.7.0) unicode-version (~> 1.0) unicode-version (1.4.0) vernier (1.2.1) @@ -544,7 +544,7 @@ GEM date httparty json (>= 2.0) - zeitwerk (2.6.18) + zeitwerk (2.7.1) PLATFORMS arm64-darwin-23 diff --git a/slices/main/templates/shared/_status.html.slim b/slices/main/templates/shared/_status.html.slim index 8cf78fa..b57e431 100644 --- a/slices/main/templates/shared/_status.html.slim +++ b/slices/main/templates/shared/_status.html.slim @@ -3,11 +3,31 @@ div class="mb-8 h-entry border border-gray-200 m-2 p-4 bg-gray-50 hover:bg-gray- div - if !post.photos? && post.key_image.nil? div class="flex" - div class="text-8xl px-8" + div class="text-5xl px-8" = post.prefix_emoji - a 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 prose-img:rounded" - == post.raw_content + div + a 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 prose-img:rounded" + == post.raw_content + div class="mb-8" + p class="text-sm text-blue-400 dark:text-indigo-400" + a class="u-url float-left mr-0 border-dotted border-b-2 border-blue-100 hover:border-blue-200 dark:border-indigo-900 dark:hover:border-indigo-800" href="#{post.permalink}" + time class="dt-published" datetime=post.machine_published_at + = post.display_published_at + - if post.webmentions.count > 0 + == " · #{post.webmentions.count} comment(s)" + + - post.syndicated_to.each do |loc| + == " ·" + a rel="syndication" class="u-syndication inline-block ml-1 float-left" href=loc[:url] + - if loc[:location] != "" + == render "shared/#{loc[:location]}", width: "w-4" + - if post.tags.count > 0 + span class="text-sm float-left text-blue-400 dark:text-indigo-400 ml-1" + == " · tagged: " + - post.tags.each do |post_tag| + a class="text-sm p-category float-left mr-1 u-url text-pink-400 hover:text-pink-600 dark:text-pink-400 dark:hover:text-pink-100 text-gray-600 ml-1" href="/tagged/#{post_tag.slug}" + = "##{post_tag.label}" -else a 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 prose-img:rounded" @@ -21,18 +41,22 @@ div class="mb-8 h-entry border border-gray-200 m-2 p-4 bg-gray-50 hover:bg-gray- - post.videos.each do |video| video class="rounded w-max" autoplay=false loop=false muted=true controls=true source type="video/mp4" src="#{video["value"]}" - == render "shared/tags", tags: post.tags + div class="mb-8" + p class="text-sm text-blue-400 dark:text-indigo-400" + a class="u-url float-left mr-0 border-dotted border-b-2 border-blue-100 hover:border-blue-200 dark:border-indigo-900 dark:hover:border-indigo-800" href="#{post.permalink}" + time class="dt-published" datetime=post.machine_published_at + = post.display_published_at + - if post.webmentions.count > 0 + == " · #{post.webmentions.count} comment(s)" - div class="mb-8" - p class="text-sm text-blue-400 dark:text-indigo-400" - a class="u-url float-left mr-0" href="#{post.permalink}" - time class="dt-published" datetime=post.machine_published_at - = post.display_published_at - - if post.webmentions.count > 0 - == " · #{post.webmentions.count} comment(s)" - - - post.syndicated_to.each do |loc| - == " ·" - a rel="syndication" class="u-syndication inline-block ml-1 float-left" href=loc[:url] - - if loc[:location] != "" - == render "shared/#{loc[:location]}", width: "w-4" + - post.syndicated_to.each do |loc| + == " ·" + a rel="syndication" class="u-syndication inline-block ml-1 float-left" href=loc[:url] + - if loc[:location] != "" + == render "shared/#{loc[:location]}", width: "w-4" + - if post.tags.count > 0 + span class="text-sm float-left text-blue-400 dark:text-indigo-400 ml-1" + == " · tagged: " + - post.tags.each do |post_tag| + a class="text-sm p-category float-left mr-1 u-url text-pink-400 hover:text-pink-600 dark:text-pink-400 dark:hover:text-pink-100 text-gray-600 ml-1" href="/tagged/#{post_tag.slug}" + = "##{post_tag.label}" diff --git a/slices/main/templates/site/home.html.slim b/slices/main/templates/site/home.html.slim index 5c5a77b..ca9454a 100644 --- a/slices/main/templates/site/home.html.slim +++ b/slices/main/templates/site/home.html.slim @@ -27,14 +27,14 @@ 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-4 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 + p class="font-semibold" ๐Ÿ–ฅ๏ธ 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://apps.apple.com/au/app/patternmate/id6464105499" - strong ๐Ÿงต๏ธ PatternMate + p class="font-semibold" ๐Ÿงต๏ธ PatternMate small Organise your sewing patterns 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://github.com/dnitza/adamantium" - strong ๐Ÿ“ Adamantium + p class="font-semibold" ๐Ÿ“ Adamantium small The source code behind this blog div class="flex justify-between max-w-prose mx-auto mb-2" diff --git a/slices/micropub/templates/layouts/app.html.erb b/slices/micropub/templates/layouts/app.html.erb deleted file mode 100644 index 3b11322..0000000 --- a/slices/micropub/templates/layouts/app.html.erb +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - Adamantium - Micropub - <%= stylesheet_tag "app" %> - - - <%= yield %> - <%= javascript_tag "micropub/app" %> - - diff --git a/tailwind.config.js b/tailwind.config.js index 42cda0c..9239d3e 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -33,7 +33,9 @@ module.exports = { "2xl": "1.563rem", "3xl": "1.953rem", "4xl": "2.441rem", - "5xl": "3.052rem", + "5xl": "4.052rem", + "6xl": "6.052rem", + "7xl": "7.052rem", "8xl": "6rem", }, extend: {