Skip to content

Commit

Permalink
OPH store
Browse files Browse the repository at this point in the history
  • Loading branch information
markottaviani committed Oct 17, 2024
1 parent e133313 commit f2fdb03
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/views/layouts/_footer.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
<br />
<br />
<hr>
<center>&copy; <%= Time.now.year %> Operation Paws for Homes - <a href="/terms">Terms of Use and Privacy Policy</a> - <a href="http://eepurl.com/h9oyk">Join Our Mailing List</a> </center>
<center>&copy; <%= Time.now.year %> Operation Paws for Homes - <a href="/terms">Terms of Use and Privacy Policy</a> - <a href="https://eepurl.com/h9oyk">Join Our Mailing List</a> </center>
</footer>
2 changes: 1 addition & 1 deletion app/views/layouts/_topbar.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<li><%= link_to "Adoption Application", new_adopter_path %></li>
<li><a href="/resources">Adoption Resources</a></li>
<li class="divider"></li>
<li><a href="http://eepurl.com/h9oyk">Subscribe to our Newsletter</a></li>
<li><a href="https://eepurl.com/h9oyk">Subscribe to our Newsletter</a></li>
<li class="divider"></li>
<li><a href="/documentary">Watch 600 Miles Home</a></li>
<li><a href="/tips-for-finding-lost-pets">Finding Lost Pets</a></li>
Expand Down
3 changes: 2 additions & 1 deletion app/views/layouts/_topbar_bs41.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<a href=<%= new_adopter_path %> class="nav-link" >Adoption Application</a>
<a href="/resources" class="nav-link">Adoption Resources</a>
<div class="dropdown-divider"></div>
<a href="http://eepurl.com/h9oyk" class="nav-link">Subscribe to our Newsletter</a>
<a href="https://eepurl.com/h9oyk" class="nav-link">Subscribe to our Newsletter</a>
<div class="dropdown-divider"></div>
<a href="/documentary" class="nav-link">Watch 600 Miles Home</a>
<a href="/tips-for-finding-lost-pets" class="nav-link">Finding Lost Pets</a>
Expand All @@ -38,6 +38,7 @@
<%= link_to "Other Ways to Give", '/other-ways-to-give', class: "nav-link" %>
</div>
</li>
<li class="nav-item"><a href="/shop" class="nav-link">Shop</a></li>
<li class="nav-item">
<a href="/get-involved" class="nav-link">Get Involved</a>
</li>
Expand Down
4 changes: 4 additions & 0 deletions app/views/pages/shop.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<iframe id="fulfillengineiframe" src="https://app.fulfillengine.com/campaign/operation-paws-for-homes-pawesome-shop" width="100%" height="500px" frameborder="0" allowfullscreen="allowfullscreen"></iframe>


<script type='text/javascript'>(function(){var y=0,t="fulfillengineiframe";window.addEventListener("message",function(e){if(!e||!e.data||e.data.length<2)return 0;var a=document.getElementById(t);if(!a)return 0;var r=e.data[0],i=e.data[1];"setIframeHeight"===r?a.setAttribute("height",i):"iframeScrollUp"===r&&a.getBoundingClientRect().y<y&&window.scrollTo(0,a.getBoundingClientRect().y+window.scrollY-y)},!1);})(); </script>
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
STATIC_PAGES = ['contact', 'funding-partners', 'community-partners', 'non-profit-and-corporate-partners',
'training-partners', 'guide', 'aboutus', 'documentary', 'insurance', 'home',
'get-involved', 'volunteer', 'faq', 'foster', 'fosterfaq', 'donate', 'sponsor', 'newsletters', 'calendar',
'other-ways-to-give', 'terms', 'resources', 'tips-for-finding-lost-pets', 'status_definitions',
'other-ways-to-give', 'terms', 'resources', 'tips-for-finding-lost-pets', 'status_definitions', 'shop',
'education-and-outreach','adoption-fee-payments','microchip-registration'].freeze

Rails.application.routes.draw do
Expand Down

0 comments on commit f2fdb03

Please sign in to comment.