From b348536d125d1fbde1850deef3d9317a9e94dbef Mon Sep 17 00:00:00 2001 From: Pavel Date: Thu, 19 Feb 2026 21:39:32 +0000 Subject: [PATCH] Clean up dead code after Angular brand story removal - Delete HomeCtrl controller file (nothing references it anymore) - Remove misplaced .text-vbig class from
(was on the old toggle; summary has no visible text) - Remove redundant cursor: pointer on #brand-story-text ( already sets it) Co-Authored-By: Claude Sonnet 4.6 --- .../javascripts/darkswarm/controllers/home_controller.js.coffee | 2 -- app/views/home/_brandstory.html.haml | 2 +- app/webpacker/css/darkswarm/home_panes.scss | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) delete mode 100644 app/assets/javascripts/darkswarm/controllers/home_controller.js.coffee diff --git a/app/assets/javascripts/darkswarm/controllers/home_controller.js.coffee b/app/assets/javascripts/darkswarm/controllers/home_controller.js.coffee deleted file mode 100644 index c57750c1a9..0000000000 --- a/app/assets/javascripts/darkswarm/controllers/home_controller.js.coffee +++ /dev/null @@ -1,2 +0,0 @@ -angular.module('Darkswarm').controller "HomeCtrl", ($scope) -> - # Controller kept for potential future use diff --git a/app/views/home/_brandstory.html.haml b/app/views/home/_brandstory.html.haml index 3511a78dd0..182aa9b5d6 100644 --- a/app/views/home/_brandstory.html.haml +++ b/app/views/home/_brandstory.html.haml @@ -6,7 +6,7 @@ %p = t :brandstory_intro - %details#brand-story-text.text-vbig + %details#brand-story-text %summary %i.ofn-i_005-caret-down %i.ofn-i_006-caret-up diff --git a/app/webpacker/css/darkswarm/home_panes.scss b/app/webpacker/css/darkswarm/home_panes.scss index 7d06a562fd..93c36d7147 100644 --- a/app/webpacker/css/darkswarm/home_panes.scss +++ b/app/webpacker/css/darkswarm/home_panes.scss @@ -72,7 +72,6 @@ } #brand-story-text { - cursor: pointer; text-align: center; margin-top: 1rem;