From 624a373bc7ff8546f4e87c7db026e03faee8dc2e Mon Sep 17 00:00:00 2001 From: Samuel Sciolla Date: Tue, 16 Jun 2026 13:27:32 -0400 Subject: [PATCH 1/8] Move up closing div; indent some things --- app/views/catalog/_home.html.erb | 34 +++++++++++++++++--------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/app/views/catalog/_home.html.erb b/app/views/catalog/_home.html.erb index bd2f2c2..a720869 100644 --- a/app/views/catalog/_home.html.erb +++ b/app/views/catalog/_home.html.erb @@ -5,27 +5,30 @@
-
Featured image: <%= @random_feature['caption_html'].html_safe %>
-
+
+ Featured image: <%= @random_feature['caption_html'].html_safe %> +
+ -
-

Find Archival Materials

-

Detailed inventories of <%= number_with_delimiter(collection_count_home) %> collections

+
+

Find Archival Materials

+

Detailed inventories of <%= number_with_delimiter(collection_count_home) %> collections

- <%#= render_search_bar %> + <%#= render_search_bar %> -
- +
+ - <%#= render 'search_extra_controls' %> + <%#= render 'search_extra_controls' %> -
+
- -
Browse All Repositories
-
+ +
Browse All Repositories
+
+
@@ -62,5 +65,4 @@
- \ No newline at end of file From 62384907d09da1cfbabdc71dac1c28c702e87ecb Mon Sep 17 00:00:00 2001 From: Samuel Sciolla Date: Tue, 16 Jun 2026 13:36:25 -0400 Subject: [PATCH 2/8] Add missing padding; remove rl-menu-title --- app/views/catalog/_home.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/catalog/_home.html.erb b/app/views/catalog/_home.html.erb index a720869..854f552 100644 --- a/app/views/catalog/_home.html.erb +++ b/app/views/catalog/_home.html.erb @@ -10,7 +10,7 @@ -
+

Find Archival Materials

Detailed inventories of <%= number_with_delimiter(collection_count_home) %> collections

From b9bebd5c99c66978f4b81c07d2a688ce6ab48dc5 Mon Sep 17 00:00:00 2001 From: Samuel Sciolla Date: Tue, 16 Jun 2026 14:32:48 -0400 Subject: [PATCH 3/8] Use viewport-container in app/views/layouts/blacklight/base.html.erb --- app/views/layouts/blacklight/base.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/blacklight/base.html.erb b/app/views/layouts/blacklight/base.html.erb index 29ddd66..7e6ab89 100644 --- a/app/views/layouts/blacklight/base.html.erb +++ b/app/views/layouts/blacklight/base.html.erb @@ -39,7 +39,7 @@ <%= render partial: 'shared/header_navbar' %> -
+
<%= content_for(:container_header) %> <%= render partial: 'shared/flash_msg', layout: 'shared/flash_messages' %> From 8bd649739781f5bc08b42627c4ef024ec2c8db00 Mon Sep 17 00:00:00 2001 From: Samuel Sciolla Date: Tue, 16 Jun 2026 14:47:30 -0400 Subject: [PATCH 4/8] Use row instead of container-fluid --- app/views/catalog/_home.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/catalog/_home.html.erb b/app/views/catalog/_home.html.erb index 854f552..c4760c2 100644 --- a/app/views/catalog/_home.html.erb +++ b/app/views/catalog/_home.html.erb @@ -31,7 +31,7 @@
-
+
<%# Configurable alert banner %> <%# keys in config/locales/um_arclight.en.yml %> From e5eea446fdadbb4bd5f24c54bb01de177bbd8c59 Mon Sep 17 00:00:00 2001 From: Samuel Sciolla Date: Tue, 16 Jun 2026 15:14:31 -0400 Subject: [PATCH 5/8] Add card.scss with padding and link title, and add import to application.bootstrap; fix spacing in _home.html.erb --- app/assets/stylesheets/application.bootstrap.scss | 1 + app/assets/stylesheets/card.scss | 7 +++++++ app/views/catalog/_home.html.erb | 4 +--- 3 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 app/assets/stylesheets/card.scss diff --git a/app/assets/stylesheets/application.bootstrap.scss b/app/assets/stylesheets/application.bootstrap.scss index 62c5533..39e3c03 100644 --- a/app/assets/stylesheets/application.bootstrap.scss +++ b/app/assets/stylesheets/application.bootstrap.scss @@ -5,3 +5,4 @@ @import "homepage"; @import "base"; @import "footer"; +@import "card"; diff --git a/app/assets/stylesheets/card.scss b/app/assets/stylesheets/card.scss new file mode 100644 index 0000000..31f4f9a --- /dev/null +++ b/app/assets/stylesheets/card.scss @@ -0,0 +1,7 @@ +.card-title { + margin-bottom: 0.75rem; +} + +.card-title > a { + font-size: 1.25rem; +} \ No newline at end of file diff --git a/app/views/catalog/_home.html.erb b/app/views/catalog/_home.html.erb index c4760c2..63a2b32 100644 --- a/app/views/catalog/_home.html.erb +++ b/app/views/catalog/_home.html.erb @@ -55,9 +55,7 @@
-
- info -
+
info

<%= t('um_arclight.home.about.heading') %>

From 6033a037f3076b0f07a7b9b5c8152f8959299a06 Mon Sep 17 00:00:00 2001 From: Samuel Sciolla Date: Tue, 16 Jun 2026 15:26:23 -0400 Subject: [PATCH 6/8] Add newline at EOF in card.scss; remove full-width class from About this Site row in _home.html.erb --- app/assets/stylesheets/card.scss | 2 +- app/views/catalog/_home.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/card.scss b/app/assets/stylesheets/card.scss index 31f4f9a..ebbd2db 100644 --- a/app/assets/stylesheets/card.scss +++ b/app/assets/stylesheets/card.scss @@ -4,4 +4,4 @@ .card-title > a { font-size: 1.25rem; -} \ No newline at end of file +} diff --git a/app/views/catalog/_home.html.erb b/app/views/catalog/_home.html.erb index 63a2b32..1a5a3be 100644 --- a/app/views/catalog/_home.html.erb +++ b/app/views/catalog/_home.html.erb @@ -31,7 +31,7 @@
-
+
<%# Configurable alert banner %> <%# keys in config/locales/um_arclight.en.yml %> From 7f2a30772a4fa979e918951daa97127efd78b28f Mon Sep 17 00:00:00 2001 From: Samuel Sciolla Date: Tue, 16 Jun 2026 15:34:37 -0400 Subject: [PATCH 7/8] Make alerts a separate conditional row instead of nesting rows --- app/views/catalog/_home.html.erb | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/app/views/catalog/_home.html.erb b/app/views/catalog/_home.html.erb index 1a5a3be..8294574 100644 --- a/app/views/catalog/_home.html.erb +++ b/app/views/catalog/_home.html.erb @@ -31,11 +31,11 @@
-
- <%# Configurable alert banner %> - <%# keys in config/locales/um_arclight.en.yml %> - <% if I18n.exists?('um_arclight.home.alert') %> +<%# Configurable alert banner %> +<%# keys in config/locales/um_arclight.en.yml %> +<% if I18n.exists?('um_arclight.home.alert') %> +
- <% end %> - -
-
-
-
info
-

<%= t('um_arclight.home.about.heading') %>

-
-
- <%= t('um_arclight.home.about.text_html').html_safe %> -
+
+<% end %> +
+
+
+
info
+

<%= t('um_arclight.home.about.heading') %>

+
+
+ <%= t('um_arclight.home.about.text_html').html_safe %>
-
\ No newline at end of file +
From 43870017b26291520f3f9c0a03318c3b55834cee Mon Sep 17 00:00:00 2001 From: Samuel Sciolla Date: Tue, 16 Jun 2026 15:37:49 -0400 Subject: [PATCH 8/8] mr -> me --- app/views/catalog/_home.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/catalog/_home.html.erb b/app/views/catalog/_home.html.erb index 8294574..092ce94 100644 --- a/app/views/catalog/_home.html.erb +++ b/app/views/catalog/_home.html.erb @@ -17,7 +17,7 @@ <%#= render_search_bar %>
-