Skip to content

Commit

Permalink
Prepare for initial dev. (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
bstopp authored Nov 29, 2023
1 parent 86647cd commit 453bb6d
Show file tree
Hide file tree
Showing 27 changed files with 270 additions and 276 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="/cigaradvisor/scripts/cigaradvisor/scripts.js" type="module" crossorigin="use-credentials"></script>
<script type="module">
import { sampleRUM } from '/scripts/aem.js';
import { sampleRUM } from '/cigaradvisor/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="/cigaradvisor/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="/cigaradvisor/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.
1 change: 1 addition & 0 deletions cigaradvisor/styles/fonts.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/* Add font definitions here. */
File renamed without changes.
36 changes: 36 additions & 0 deletions cigaradvisor/styles/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/*
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/

:root {
/* colors */

/* fonts */

/* body sizes */

/* heading sizes */

/* nav height */
--nav-height: 64px;
}

body {
display: none;
}

body.appear {
display: block;
}

header {
height: var(--nav-height);
}
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="/cigaradvisor/scripts/aem.js" type="module"></script>
<script src="/cigaradvisor/scripts/scripts.js" type="module"></script>
<link rel="stylesheet" href="/cigaradvisor/styles/styles.css"/>
Loading

0 comments on commit 453bb6d

Please sign in to comment.