Skip to content

Commit

Permalink
fix: re-arrange home page collections and add new or update existing …
Browse files Browse the repository at this point in the history
…ones along with their images and search url (#119)

* fix: rearrage the collections and add new ones along with their images and search url

* fix: white space linting errors in erb file

* fix: replace images and text

* fix: replace image to fix the layout stretch
  • Loading branch information
pghorpade authored Jan 12, 2024
1 parent 8b85277 commit f3a91c6
Show file tree
Hide file tree
Showing 14 changed files with 18 additions and 18 deletions.
Binary file removed app/assets/images/sinai/grid/arabic-mss.jpg
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/assets/images/sinai/grid/biblical-mss.jpg
Binary file not shown.
Binary file added app/assets/images/sinai/grid/cpa_syr2b_f153v.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/assets/images/sinai/grid/dated-mss.jpg
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/assets/images/sinai/grid/historical-mss.jpg
Binary file not shown.
Binary file removed app/assets/images/sinai/grid/liturgies-mss.jpg
Binary file not shown.
Binary file removed app/assets/images/sinai/grid/nf.jpg
Binary file not shown.
Binary file added app/assets/images/sinai/grid/nf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/sinai/grid/palimpsests.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/assets/images/sinai/grid/syriac-mss.jpg
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 18 additions & 18 deletions app/views/catalog/_homepage_sinai.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,31 +16,31 @@
</div>
</a>

<a href="/catalog?f%5Bhuman_readable_language_sim%5D%5B%5D=Arabic&q=&search_field=all_fields" class="grid-item--sinai">
<%= image_tag("sinai/grid/arabic-mss.jpg", class: "grid-image--sinai") %>
<a href="/catalog?f%5Bfeatures_sim%5D%5B%5D=Palimpsest&q=&search_field=all_fields" class="grid-item--sinai">
<%= image_tag("sinai/grid/palimpsests.jpg", class: "grid-image--sinai") %>
<div class="grid-item__title-wrapper--sinai">
<h3 class="grid-item__title--sinai">Arabic Manuscripts</h3>
<h3 class="grid-item__title--sinai">Palimpsests</h3>
</div>
</a>

<a href="/catalog?f%5Bhuman_readable_language_sim%5D%5B%5D=Syriac&q=&search_field=all_fields" class="grid-item--sinai">
<%= image_tag("sinai/grid/syriac-mss.jpg", class: "grid-image--sinai") %>
<a href="/catalog?f%5Bcollection_ssi%5D%5B%5D=New+Finds&q=&search_field=all_fields" class="grid-item--sinai">
<%= image_tag("sinai/grid/nf.png", class: "grid-image--sinai") %>
<div class="grid-item__title-wrapper--sinai">
<h3 class="grid-item__title--sinai">Syriac Manuscripts</h3>
<h3 class="grid-item__title--sinai">New Finds</h3>
</div>
</a>

<a href="/catalog?f%5Bfeatures_sim%5D%5B%5D=Dated&q=&search_field=all_fields" class="grid-item--sinai">
<%= image_tag("sinai/grid/dated-mss.jpg", class: "grid-image--sinai") %>
<a href="/catalog?q=Arabic&search_field=shelfmark_tesim&sort=shelfmark_alpha_numeric_ssort+asc" class="grid-item--sinai">
<%= image_tag("sinai/grid/arabic_ara42_f5r.jpg", class: "grid-image--sinai") %>
<div class="grid-item__title-wrapper--sinai">
<h3 class="grid-item__title--sinai">Dated Manuscripts</h3>
<h3 class="grid-item__title--sinai">Arabic Collection</h3>
</div>
</a>

<a href="/catalog?f%5Bcollection_ssi%5D%5B%5D=New+Finds&q=&search_field=all_fields" class="grid-item--sinai">
<%= image_tag("sinai/grid/nf.jpg", class: "grid-image--sinai") %>
<a href="/catalog?q=Syriac&search_field=shelfmark_tesim&sort=shelfmark_alpha_numeric_ssort+asc" class="grid-item--sinai">
<%= image_tag("sinai/grid/syriac_sld_syr0197_0192_f_096v.png", class: "grid-image--sinai") %>
<div class="grid-item__title-wrapper--sinai">
<h3 class="grid-item__title--sinai">New Finds</h3>
<h3 class="grid-item__title--sinai">Syriac Collection</h3>
</div>
</a>

Expand All @@ -51,17 +51,17 @@
</div>
</a>

<a href="/catalog?f%5Bgenre_sim%5D%5B%5D=Liturgical+texts&q=&search_field=all_fields" class="grid-item--sinai">
<%= image_tag("sinai/grid/liturgies-mss.jpg", class: "grid-image--sinai") %>
<a href="catalog?f%5Bhuman_readable_language_sim%5D%5B%5D=Christian+Palestinian+Aramaic&q=&search_field=all_fields" class="grid-item--sinai">
<%= image_tag("sinai/grid/cpa_syr2b_f153v.png", class: "grid-image--sinai") %>
<div class="grid-item__title-wrapper--sinai">
<h3 class="grid-item__title--sinai">Liturgies</h3>
<h3 class="grid-item__title--sinai">Christian Palestinian Aramaic</h3>
</div>
</a>

<a href="/catalog?f%5Bgenre_sim%5D%5B%5D=Biblical+texts&q=&search_field=all_fields" class="grid-item--sinai">
<%= image_tag("sinai/grid/biblical-mss.jpg", class: "grid-image--sinai") %>
<a href="/catalog?f%5Bfeatures_sim%5D%5B%5D=Dated&q=&search_field=all_fields" class="grid-item--sinai">
<%= image_tag("sinai/grid/dated_ara34_f192v.png", class: "grid-image--sinai") %>
<div class="grid-item__title-wrapper--sinai">
<h3 class="grid-item__title--sinai">Biblical Texts</h3>
<h3 class="grid-item__title--sinai">Dated Manuscripts</h3>
</div>
</a>
</div>
Expand Down

0 comments on commit f3a91c6

Please sign in to comment.