Skip to content

Commit

Permalink
Increase font size in footer (#74)
Browse files Browse the repository at this point in the history
* Increase font size in footer

* Add hostname check from CFB to delayed.js

* Add hostname check from CFB to delayed.js

* Make TrueVault script async.

---------

Co-authored-by: Matthew Gold <[email protected]>
  • Loading branch information
tonyklapatch and codecodeio authored Nov 6, 2024
1 parent aa2bf6f commit 3255eaf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion best-cigars-guide/blocks/footer/footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ footer .footer {
footer .footer p {
margin: 0;
text-align: center;
font-size: 0.75em;
font-weight: 300;
}

Expand Down
3 changes: 2 additions & 1 deletion best-cigars-guide/scripts/delayed.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ function loadTrueVault() {

const script = document.createElement('script');
script.src = 'https://polaris.truevaultcdn.com/static/pc/OTNJF7CVF/polaris.js';
script.async = true;
script.onload = () => {
// DOMContentLoaded event is required to initialise polaris
window.document.dispatchEvent(new Event('DOMContentLoaded'));
Expand All @@ -113,7 +114,7 @@ function loadTrueVault() {
}

// Load Scripts
if (window.location.hostname !== 'localhost') {
if (window.location.hostname === 'www.famous-smoke.com') {
if (!isGALoaded()) {
loadGoogleAnalytics();
}
Expand Down

0 comments on commit 3255eaf

Please sign in to comment.