Skip to content

Commit 98dbe59

Browse files
authored
Merge branch 'main' into ADB-200-hr
2 parents 4f4dbfa + 9d8c64f commit 98dbe59

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

head.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<meta name="viewport" content="width=device-width, initial-scale=1"/>
22
<script src="/scripts/aem.js" type="module"></script>
33
<script src="/scripts/scripts.js" type="module"></script>
4-
<link rel="stylesheet" href="/styles/lazy-styles.css"/>
4+
<link rel="stylesheet" href="/styles/base.css"/>
5+
<link rel="stylesheet" href="/styles/styles.css"/>

scripts/scripts.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ async function loadLazy(doc) {
102102
const element = hash ? doc.getElementById(hash.substring(1)) : false;
103103
if (hash && element) element.scrollIntoView();
104104

105-
// loads our lazy styles and important root variables
105+
// loads our standard styles and important root variables
106106
loadCSS(`${window.hlx.codeBasePath}/styles/base.css`);
107-
loadCSS(`${window.hlx.codeBasePath}/styles/lazy-styles.css`);
107+
loadCSS(`${window.hlx.codeBasePath}/styles/styles.css`);
108108

109109
// loads the header and footer components, along with their stylesheets
110110
loadHeader(doc.querySelector('header'));
@@ -120,7 +120,7 @@ function loadDelayed() {
120120
window.setTimeout(() => import('./delayed.js'), 3000);
121121
// load anything that can be postponed to the latest here
122122

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

126126
async function loadPage() {

0 commit comments

Comments
 (0)