Skip to content

Commit

Permalink
🎁 Remove featured collections block
Browse files Browse the repository at this point in the history
This commit removes all references to the feature collections from the home page.

Ref:
- #654
  • Loading branch information
sjproctor committed Jul 29, 2024
1 parent 7172909 commit 6aeed03
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/views/hyrax/homepage/_home_content.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<div class="tab-content">
<div class="tab-pane active" id="tab-col2-first">
<h2 class="sr-only"><%= t('hyrax.homepage.admin_sets.title') %></h2>
<%= render 'featured_collection_section' %>
<%#= render 'featured_collection_section' %>
</div>
<%# add check for featured researcher %>
<% if @presenter.display_featured_researcher? %>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<%# OVERRIDE: Hyrax v3.4.2 - add featured collections section, remove div classes %>
<div>
<h2 class="sr-only"><%= t('hyrax.homepage.admin_sets.title') %></h2>
<%= render 'featured_collection_section' %>
<%#= render 'featured_collection_section' %>
</div>
<%# OVERRIDE: Hyrax v3.4.2 - add browse collection section, remove div classes %>
<div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="col-xs-12 col-md-8 institutional-repository collections-container mb-40">
<div class="col-sm-12">
<h3>Featured Collections</h3>
<%= render 'featured_collection_section' %>
<%#= render 'featured_collection_section' %>
</div>
</div>
<div class="col-xs-12 col-md-4 institutional-repository">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<div class="col-xs-12 featured-collection-section">
<div class="pb-30">
<h3>Collections</h3>
<%= render 'featured_collection_section' %>
<%#= render 'featured_collection_section' %>
</div>
</div>
</div>
Expand Down

0 comments on commit 6aeed03

Please sign in to comment.