Skip to content

Commit 89875ad

Browse files
authored
Merge branch 'main' into unify-containers
2 parents 4a3d34f + bb8e1bd commit 89875ad

14 files changed

+1041
-3882
lines changed

404.html

+4-3
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
<meta property="og:title" content="Page not found">
1212
<script src="/scripts/scripts.js" type="module" crossorigin="use-credentials"></script>
1313
<script type="module">
14-
import { sampleRUM } from '/scripts/aem.js';
15-
1614
window.addEventListener('load', () => {
1715
if (document.referrer) {
1816
const { origin, pathname } = new URL(document.referrer);
@@ -26,9 +24,12 @@
2624
btnContainer.append(backBtn);
2725
}
2826
}
29-
sampleRUM('404', { source: document.referrer });
3027
});
3128
</script>
29+
<script type="module">
30+
import { sampleRUM } from '/scripts/aem.js';
31+
sampleRUM('404', { source: document.referrer });
32+
</script>
3233
<link rel="stylesheet" href="/styles/styles.css">
3334
<style>
3435
main.error {

blocks/footer/footer.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
footer {
22
background-color: var(--light-color);
3-
font-size: var(--body-font-size-s);
3+
font-size: var(--body-font-size-xs);
44
}
55

66
footer .footer > div {

blocks/fragment/fragment.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
} from '../../scripts/scripts.js';
1010

1111
import {
12-
loadBlocks,
12+
loadSections,
1313
} from '../../scripts/aem.js';
1414

1515
/**
@@ -34,7 +34,7 @@ export async function loadFragment(path) {
3434
resetAttributeBase('source', 'srcset');
3535

3636
decorateMain(main);
37-
await loadBlocks(main);
37+
await loadSections(main);
3838
return main;
3939
}
4040
}

blocks/header/header.css

+2-6
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ header nav .nav-sections {
155155
flex: 1 1 auto;
156156
display: none;
157157
visibility: hidden;
158-
background-color: var(--overlay-color);
159158
}
160159

161160
header nav[aria-expanded='true'] .nav-sections {
@@ -168,19 +167,18 @@ header nav .nav-sections ul {
168167
list-style: none;
169168
padding-left: 0;
170169
font-size: var(--body-font-size-s);
171-
font-weight: 500;
172170
}
173171

174172
header nav .nav-sections ul > li {
175-
font-weight: 700;
173+
font-weight: 500;
176174
}
177175

178176
header nav .nav-sections ul > li > ul {
179177
margin-top: 0;
180178
}
181179

182180
header nav .nav-sections ul > li > ul > li {
183-
font-weight: 500;
181+
font-weight: 400;
184182
}
185183

186184
@media (width >= 900px) {
@@ -224,13 +222,11 @@ header nav .nav-sections ul > li > ul > li {
224222
display: flex;
225223
gap: 24px;
226224
margin: 0;
227-
font-size: var(--body-font-size-xs);
228225
}
229226

230227
header nav .nav-sections .default-content-wrapper > ul > li {
231228
flex: 0 1 auto;
232229
position: relative;
233-
font-weight: 500;
234230
}
235231

236232
header nav .nav-sections .default-content-wrapper > ul > li > ul {

blocks/hero/hero.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
max-width: 1200px;
1414
margin-left: auto;
1515
margin-right: auto;
16-
color: white;
16+
color: var(--background-color);
1717
}
1818

1919
.hero picture {

fonts/roboto-condensed-bold.woff2

31.2 KB
Binary file not shown.

fonts/roboto-medium.woff2

63.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)