Skip to content

Commit

Permalink
Issue-7 setup subfolder structure.
Browse files Browse the repository at this point in the history
  • Loading branch information
codecodeio committed May 2, 2024
1 parent d5116ab commit 22dbb8f
Show file tree
Hide file tree
Showing 24 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
</script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:title" content="Page not found">
<script src="/scripts/scripts.js" type="module" crossorigin="use-credentials"></script>
<script src="/best-cigars-guide/scripts/scripts.js" type="module" crossorigin="use-credentials"></script>
<script type="module">
import { sampleRUM } from '/scripts/aem.js';
import { sampleRUM } from '/best-cigars-guide/scripts/aem.js';

window.addEventListener('load', () => {
if (document.referrer) {
Expand All @@ -29,7 +29,7 @@
sampleRUM('404', { source: document.referrer, target: window.location.href });
});
</script>
<link rel="stylesheet" href="/styles/styles.css">
<link rel="stylesheet" href="/best-cigars-guide/styles/styles.css">
<style>
main.error {
min-height: calc(100vh - var(--nav-height));
Expand All @@ -45,7 +45,7 @@
font-family: var(--fixed-font-family);
}
</style>
<link rel="stylesheet" href="/styles/lazy-styles.css">
<link rel="stylesheet" href="/best-cigars-guide/styles/lazy-styles.css">
</head>

<body>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions head.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<script src="/scripts/aem.js" type="module"></script>
<script src="/scripts/scripts.js" type="module"></script>
<link rel="stylesheet" href="/styles/styles.css"/>
<script src="/best-cigars-guide/scripts/aem.js" type="module"></script>
<script src="/best-cigars-guide/scripts/scripts.js" type="module"></script>
<link rel="stylesheet" href="/best-cigars-guide/styles/styles.css"/>
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"description": "Starter project for Adobe Helix",
"scripts": {
"lint:js": "eslint .",
"lint:css": "stylelint blocks/**/*.css styles/*.css",
"lint:css": "stylelint best-cigars-guide/blocks/**/*.css best-cigars-guide/styles/*.css",
"lint": "npm run lint:js && npm run lint:css"
},
"repository": {
Expand Down

0 comments on commit 22dbb8f

Please sign in to comment.