File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 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 "/>
Original file line number Diff line number Diff 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
126126async function loadPage ( ) {
File renamed without changes.
You can’t perform that action at this time.
0 commit comments