Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: sync with production #26

Merged
merged 1 commit into from
Jul 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified templates/components/account/navigation.html
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion templates/components/active-campaign-site-tracking.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
vgo('setEmail', '{{customer.email}}');
{{/if}}
vgo('process');
</script>
</script>
2 changes: 1 addition & 1 deletion templates/components/amp/common/icon-defs.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion templates/components/amp/css/category.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,4 +188,4 @@
.pagination-item--next {
position: absolute;
right: 1rem;
}
}
2 changes: 1 addition & 1 deletion templates/components/amp/css/form.html
Original file line number Diff line number Diff line change
Expand Up @@ -675,4 +675,4 @@
[data-product-attribute="product-list"] .unavailable {
opacity: .6;
text-decoration: line-through
}
}
2 changes: 1 addition & 1 deletion templates/components/amp/css/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -148,4 +148,4 @@
padding: .78571rem 0;
text-decoration: none;
text-transform: uppercase
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,4 @@ <h2 class="modal-header-title">{{lang 'products.bulk_pricing.modal_title'}}</h2>
{{/each}}
</dl>
</div>
</section>
</section>
2 changes: 1 addition & 1 deletion templates/components/category/card.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ <h3 class="card-title">{{name}}</h3>
</figcaption>
</a>
</figure>
</article>
</article>
2 changes: 1 addition & 1 deletion templates/components/category/circle-card.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
<span>{{name}}</h3>
</div>
</a>
</article>
</article>
2 changes: 1 addition & 1 deletion templates/components/category/circle-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
</div>
</div>
</div>
</div>
</div>
2 changes: 1 addition & 1 deletion templates/components/category/circle-subcategory.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
</div>
</div>
</div>
</div>
</div>
2 changes: 1 addition & 1 deletion templates/components/category/dropdown-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
</div>
</div>
</div>
</div>
</div>
2 changes: 1 addition & 1 deletion templates/components/common/ac-subscription-form.html
Original file line number Diff line number Diff line change
Expand Up @@ -431,4 +431,4 @@
addEvent(form_to_submit, 'submit', form_submit);
})();

</script>
</script>
225 changes: 113 additions & 112 deletions templates/components/common/footer.html
Original file line number Diff line number Diff line change
@@ -1,112 +1,113 @@
{{#if banners.bottom}}
{{#if settings.data_tag_enabled}}
<div class="banners" data-banner-location="bottom">
{{#each (limit banners.bottom_metadata 1)}}
<div class="banner" data-event-type="promotion" data-entity-id="{{this.id}}" data-name="{{this.banner-name}}" data-position="{{this.location}}" data-name="{{this.banner-name}}">
<div data-event-type="promotion-click">
{{{this.content}}}
</div>
</div>
{{/each}}
</div>
{{else}}
<div class="banners" data-banner-location="bottom">
<div class="banner">
{{{limit banners.bottom 1}}}
</div>
</div>
{{/if}}

{{/if}}
<footer class="footer" role="contentinfo">
<div class="container">
{{#if theme_settings.social_icon_placement_bottom '!==' 'bottom_none'}}
<article class="footer-info-col
footer-info-col--social
footer-info-col--{{#if theme_settings.social_icon_placement_bottom '===' 'bottom_left'}}left{{else}}right{{/if}}"
data-section-type="footer-webPages">
<h5 class="footer-info-heading">{{lang 'social.connect'}}</h5>
{{> components/common/social-links}}
</article>
{{/if}}
<section class="footer-info">
<article class="footer-info-col footer-info-col--small" data-section-type="footer-webPages">
<h5 class="footer-info-heading">{{lang 'footer.navigate'}}</h5>
<ul class="footer-info-list">
{{#each pages}}
<li>
<a href="{{url}}">{{name}}</a>
</li>
{{/each}}
<li>
<a href="{{urls.sitemap}}">{{lang 'sitemap.page_title'}}</a>
</li>
</ul>
</article>

<article class="footer-info-col footer-info-col--small" data-section-type="footer-categories">
<h5 class="footer-info-heading">{{lang 'footer.categories'}}</h5>
<ul class="footer-info-list">
{{#each categories}}
<li>
<a href="{{url}}">{{name}}</a>
</li>
{{/each}}
</ul>
</article>

{{#and theme_settings.shop_by_brand_show_footer shop_by_brand.length}}
<article class="footer-info-col footer-info-col--small" data-section-type="footer-brands">
<h5 class="footer-info-heading">{{lang 'footer.brands'}}</h5>
<ul class="footer-info-list">
{{#each shop_by_brand}}
<li>
<a href="{{url}}">{{name}}</a>
</li>
{{/each}}
<li><a href="{{urls.brands}}">{{lang 'common.view_all'}}</a></li>
</ul>
</article>
{{/and}}

{{#if settings.address}}
<article class="footer-info-col footer-info-col--small" data-section-type="storeInfo">
<h5 class="footer-info-heading">{{lang 'footer.info'}}</h5>
<address>{{nl2br settings.address}}</address>
{{#if settings.phone_number}}
<p><strong>{{lang 'footer.call_us' phone_number=settings.phone_number}}</strong></p>
{{/if}}
{{#if theme_settings.storeHours}}
<em>{{theme_settings.hoursHeading}}</em>
{{#each theme_settings.storeHours}}
<div><strong>{{day}}</strong><br />
{{time}}</div>
{{/each}}
{{/if}}
</article>
{{/if}}

<article class="footer-info-col" data-section-type="newsletterSubscription">
{{#if settings.show_newsletter_box}}
{{> components/common/subscription-form}}
{{/if}}
{{> components/common/payment-icons}}
</article>
</section>
{{#if theme_settings.geotrust_ssl_common_name}}
<div class="footer-geotrust-ssl-seal">
{{> components/common/geotrust-ssl-seal}}
</div>
{{/if}}
{{#if theme_settings.show_powered_by}}
<div class="footer-copyright">
<p class="powered-by">Powered by <a href="https://www.bigcommerce.com?utm_source=merchant&amp;utm_medium=poweredbyBC" rel="nofollow">BigCommerce</a></p>
</div>
{{/if}}
{{#if theme_settings.show_copyright_footer}}
<div class="footer-copyright">
<p class="powered-by">&copy; {{moment format="YYYY"}} {{settings.store_name}} </p>
</div>
{{/if}}
</div>
</footer>
{{#if banners.bottom}}
{{#if settings.data_tag_enabled}}
<div class="banners" data-banner-location="bottom">
{{#each (limit banners.bottom_metadata 1)}}
<div class="banner" data-event-type="promotion" data-entity-id="{{this.id}}" data-name="{{this.banner-name}}" data-position="{{this.location}}" data-name="{{this.banner-name}}">
<div data-event-type="promotion-click">
{{{this.content}}}
</div>
</div>
{{/each}}
</div>
{{else}}
<div class="banners" data-banner-location="bottom">
<div class="banner">
{{{limit banners.bottom 1}}}
</div>
</div>
{{/if}}

{{/if}}
<footer class="footer" role="contentinfo">
<div class="container">
{{#if theme_settings.social_icon_placement_bottom '!==' 'bottom_none'}}
<article class="footer-info-col
footer-info-col--social
footer-info-col--{{#if theme_settings.social_icon_placement_bottom '===' 'bottom_left'}}left{{else}}right{{/if}}"
data-section-type="footer-webPages">
<h5 class="footer-info-heading">{{lang 'social.connect'}}</h5>
{{> components/common/social-links}}
</article>
{{/if}}
<section class="footer-info">
<article class="footer-info-col footer-info-col--small" data-section-type="footer-webPages">
<h5 class="footer-info-heading">{{lang 'footer.navigate'}}</h5>
<ul class="footer-info-list">
{{#each pages}}
<li>
<a href="{{url}}">{{name}}</a>
</li>
{{/each}}
<li>
<a href="{{urls.sitemap}}">{{lang 'sitemap.page_title'}}</a>
</li>
</ul>
</article>

<article class="footer-info-col footer-info-col--small" data-section-type="footer-categories">
<h5 class="footer-info-heading">{{lang 'footer.categories'}}</h5>
<ul class="footer-info-list">
{{#each categories}}
<li>
<a href="{{url}}">{{name}}</a>
</li>
{{/each}}
</ul>
</article>

{{#and theme_settings.shop_by_brand_show_footer shop_by_brand.length}}
<article class="footer-info-col footer-info-col--small" data-section-type="footer-brands">
<h5 class="footer-info-heading">{{lang 'footer.brands'}}</h5>
<ul class="footer-info-list">
{{#each shop_by_brand}}
<li>
<a href="{{url}}">{{name}}</a>
</li>
{{/each}}
<li><a href="{{urls.brands}}">{{lang 'common.view_all'}}</a></li>
</ul>
</article>
{{/and}}

{{#if settings.address}}
<article class="footer-info-col footer-info-col--small" data-section-type="storeInfo">
<h5 class="footer-info-heading">{{lang 'footer.info'}}</h5>
<address>{{nl2br settings.address}}</address>
{{#if settings.phone_number}}
<p><strong>{{lang 'footer.call_us' phone_number=settings.phone_number}}</strong></p>
{{/if}}
{{#if theme_settings.storeHours}}
<em>Summer Hours</em>
<!--<em>{{theme_settings.hoursHeading}}</em>-->
{{#each theme_settings.storeHours}}
<div><strong>{{day}}</strong><br />
{{time}}</div>
{{/each}}
{{/if}}
</article>
{{/if}}

<article class="footer-info-col" data-section-type="newsletterSubscription">
{{#if settings.show_newsletter_box}}
{{> components/common/subscription-form}}
{{/if}}
{{> components/common/payment-icons}}
</article>
</section>
{{#if theme_settings.geotrust_ssl_common_name}}
<div class="footer-geotrust-ssl-seal">
{{> components/common/geotrust-ssl-seal}}
</div>
{{/if}}
{{#if theme_settings.show_powered_by}}
<div class="footer-copyright">
<p class="powered-by">Powered by <a href="https://www.bigcommerce.com?utm_source=merchant&amp;utm_medium=poweredbyBC" rel="nofollow">BigCommerce</a></p>
</div>
{{/if}}
{{#if theme_settings.show_copyright_footer}}
<div class="footer-copyright">
<p class="powered-by">&copy; {{moment format="YYYY"}} {{settings.store_name}} </p>
</div>
{{/if}}
</div>
</footer>
2 changes: 1 addition & 1 deletion templates/components/common/forms/select.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
{{/each}}
{{/if}}
</select>
</div>
</div>
2 changes: 1 addition & 1 deletion templates/components/common/login-for-pricing.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<p translate>Log in for pricing</p>
<p translate>Log in for pricing</p>
2 changes: 1 addition & 1 deletion templates/components/common/share.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@
frameborder="0"
allowTransparency="true">
</iframe>
{{/if}}
{{/if}}
48 changes: 24 additions & 24 deletions templates/components/common/subscription-form.html
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
<h5 class="footer-info-heading">{{lang 'newsletter.subscribe'}}</h5>
<p>{{lang 'newsletter.subscribe_intro'}}</p>

{{#if theme_settings.show_ac_footer_form}}
{{> components/common/ac-subscription-form }}
{{else}}
<form class="form" action="{{urls.subscribe.action}}" method="post">
<fieldset class="form-fieldset">
<input type="hidden" name="action" value="subscribe">
<input type="hidden" name="nl_first_name" value="bc">
<input type="hidden" name="check" value="1">
<div class="form-field">
<label class="form-label is-srOnly" for="nl_email">{{lang 'common.email_address'}}</label>
<div class="form-prefixPostfix wrap">
<input class="form-input" id="nl_email" name="nl_email" type="email" value="{{customer.email}}" placeholder="{{lang 'newsletter.email_placeholder'}}">
<input class="button button--primary form-prefixPostfix-button--postfix" type="submit" value="{{lang 'newsletter.subscribe_submit'}}">
</div>
{{#if settings.show_newsletter_summary }}
<div class="footer-newsletter-summary">{{settings.newsletter_summary}}</div>
{{/if}}
</div>
</fieldset>
</form>
{{/if}}
<h5 class="footer-info-heading">{{lang 'newsletter.subscribe'}}</h5>
<p>{{lang 'newsletter.subscribe_intro'}}</p>
{{#if theme_settings.show_ac_footer_form}}
<div class="klaviyo-form-Up54XU"></div>
{{else}}
<form class="form" action="{{urls.subscribe.action}}" method="post">
<fieldset class="form-fieldset">
<input type="hidden" name="action" value="subscribe">
<input type="hidden" name="nl_first_name" value="bc">
<input type="hidden" name="check" value="1">
<div class="form-field">
<label class="form-label is-srOnly" for="nl_email">{{lang 'common.email_address'}}</label>
<div class="form-prefixPostfix wrap">
<input class="form-input" id="nl_email" name="nl_email" type="email" value="{{customer.email}}" placeholder="{{lang 'newsletter.email_placeholder'}}">
<input class="button button--primary form-prefixPostfix-button--postfix" type="submit" value="{{lang 'newsletter.subscribe_submit'}}">
</div>
{{#if settings.show_newsletter_summary }}
<div class="footer-newsletter-summary">{{settings.newsletter_summary}}</div>
{{/if}}
</div>
</fieldset>
</form>
{{/if}}
2 changes: 1 addition & 1 deletion templates/components/curation-module.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@
</div>
</a>
{{/each}}
</section>
</section>
Loading
Loading