add favicon

This commit is contained in:
Dylan Knutson
2025-02-20 22:24:30 +00:00
parent eeb1511e52
commit fe0711c7d9
8 changed files with 24 additions and 2 deletions

View File

@@ -52,7 +52,13 @@ RUN \
--mount=type=cache,target=/var/lib/apt,sharing=locked \
apt-get update && \
apt-get install --no-install-recommends --no-install-suggests -y \
libvips42 ca-certificates curl gnupg nodejs libpq-dev
libvips42 \
ca-certificates \
curl \
gnupg \
nodejs \
libpq-dev \
ffmpeg ffmpegthumbnailer
COPY --from=native-gems /usr/src/app/gems/xdiff-rb /gems/xdiff-rb
COPY --from=native-gems /usr/src/app/gems/rb-bsdiff /gems/rb-bsdiff

View File

@@ -23,3 +23,5 @@
- [ ] FA user favs job should stop when in incremental mode when all posts on the page are already known favs (e.g. pages with only 47 posts are not a false positive)
- [ ] Factor out FA listings page enqueue logic into common location; use in Gallery and Favs jobs
- [ ] Add followers / following to FA user show page
- [ ] Parse E621 source url for inkbunny posts & users
- [ ] Parse E621 source url for fa users

Binary file not shown.

After

Width:  |  Height:  |  Size: 325 KiB

View File

@@ -12,6 +12,7 @@
window.MiniProfiler.patchesApplied = true;
</script>
<% end %>
<%= favicon_link_tag "refurrer-logo.png" %>
<%= csrf_meta_tags %>
<%= csp_meta_tag %>
<%= javascript_pack_tag "application-bundle" %>
@@ -23,7 +24,12 @@
<header class="bg-slate-100 border-slate-200 border-b-2">
<div class="mx-auto max-w-5xl py-6 px-6 sm:px-8 flex items-baseline">
<h1 class="text-4xl sm:text-5xl font-bold text-slate-900">
<%= link_to "ReFurrer", root_path %>
<%= link_to root_path, class: "flex items-center" do %>
<%= image_tag asset_path("refurrer-logo.png"), class: "w-12 h-12 mr-2" %>
<span class="text-4xl sm:text-5xl font-bold text-slate-900">
ReFurrer
</span>
<% end %>
</h1>
<div class="flex-grow"></div>
<nav class="flex items-center space-x-4">

View File

@@ -1,6 +1,14 @@
# typed: true
require "active_support/core_ext/integer/time"
unless defined?(Rack::MiniProfiler)
class Rack::MiniProfiler
def self.step(name)
yield
end
end
end
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.

View File