Skip to content
Open
Show file tree
Hide file tree
Changes from 2 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
1 change: 1 addition & 0 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@

build404Page();
</script>
<script src="https://assets.adobedtm.com/a7d65461e54e/9ee19a80de10/launch-882c01867cbb.min.js" async></script>
<style>
.not-found__heading {
font-family: var(--spectrum-display-font);
Expand Down
13 changes: 1 addition & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 7 additions & 5 deletions scripts/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,16 +217,18 @@ const setCalculatedPerspective = () => {
* without impacting the user experience.
*/
function loadDelayed() {
// eslint-disable-next-line import/no-cycle
window.setTimeout(() => import('./delayed.js'), 3000);
// load anything that can be postponed to the latest here
loadCSS(`${window.hlx.codeBasePath}/styles/delayed-styles.css`);
setTimeout(() => {
// Adobe analytics.
loadScript('https://assets.adobedtm.com/a7d65461e54e/9ee19a80de10/launch-882c01867cbb.min.js');
}, 4000);

// loadCSS(`${window.hlx.codeBasePath}/styles/delayed-styles.css`);
}

async function loadPage() {
await loadEager(document);
await loadLazy(document);
// loadDelayed();
loadDelayed();
}

loadPage();
Loading