From 35b69e65e0d2ec9fa294da3e80e72f6f1c0bcb9d Mon Sep 17 00:00:00 2001 From: Aleksei Petrov Date: Wed, 4 Feb 2026 12:41:12 +0100 Subject: [PATCH 1/3] Remove unused Mazer assets and update layouts for Tailwind consistency. Add `inline_svg` gem. --- Gemfile | 1 + Gemfile.lock | 4 ++ app/views/layouts/application.html.erb | 2 +- app/views/layouts/home.html.erb | 18 +-------- app/views/layouts/session.html.erb | 53 -------------------------- app/views/sessions/new.html.erb | 4 +- 6 files changed, 9 insertions(+), 73 deletions(-) diff --git a/Gemfile b/Gemfile index 0cde951b..e3fae350 100644 --- a/Gemfile +++ b/Gemfile @@ -34,6 +34,7 @@ gem "stimulus-rails" gem "tailwindcss-rails" gem "thruster", require: false gem "turbo-rails" +gem "inline_svg" gem "tzinfo-data", platforms: %i[ windows jruby ] diff --git a/Gemfile.lock b/Gemfile.lock index f8dec835..c476b4c9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -236,6 +236,9 @@ GEM actionpack (>= 6.0.0) activesupport (>= 6.0.0) railties (>= 6.0.0) + inline_svg (1.10.0) + activesupport (>= 3.0) + nokogiri (>= 1.6) io-console (0.8.2) irb (1.16.0) pp (>= 0.6.0) @@ -635,6 +638,7 @@ DEPENDENCIES hotwire-spark image_processing (~> 1.14) importmap-rails + inline_svg jbuilder kamal letter_opener diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 0c2f2ef3..5deb42ba 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -33,7 +33,7 @@
-
+
<%= render "shared/flash" %> <%= yield %>
diff --git a/app/views/layouts/home.html.erb b/app/views/layouts/home.html.erb index d3100c4b..086ce344 100644 --- a/app/views/layouts/home.html.erb +++ b/app/views/layouts/home.html.erb @@ -17,9 +17,7 @@ <%= javascript_importmap_tags %> - - - + - <%= yield %> diff --git a/app/views/topics/index.html.erb b/app/views/topics/index.html.erb index a58e75fe..df5b3a1e 100644 --- a/app/views/topics/index.html.erb +++ b/app/views/topics/index.html.erb @@ -83,14 +83,14 @@ - - - - - - - - + + + + + + + + <%= render "list", topics: @topics, params: search_params %> From b4874aeaa9ab3839b7d60945865da922b3ff2b4c Mon Sep 17 00:00:00 2001 From: Aleksei Petrov Date: Fri, 6 Feb 2026 11:42:34 +0100 Subject: [PATCH 3/3] Makes gems in Gemfile sorted in alphabetical order --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index e3fae350..b7215262 100644 --- a/Gemfile +++ b/Gemfile @@ -12,6 +12,7 @@ gem "csv" gem "herb", "~> 0.8.9" gem "image_processing", "~> 1.14" gem "importmap-rails" +gem "inline_svg" gem "jbuilder" gem "kamal", require: false gem "mission_control-jobs" @@ -34,7 +35,6 @@ gem "stimulus-rails" gem "tailwindcss-rails" gem "thruster", require: false gem "turbo-rails" -gem "inline_svg" gem "tzinfo-data", platforms: %i[ windows jruby ]
TitleDescriptionUIDLanguageProvider# of DocumentsStateActionsTitleDescriptionUIDLanguageProvider# of DocumentsStateActions