Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
bandana147 committed Sep 27, 2024
1 parent a32ee2f commit 1693d9b
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 9 deletions.
6 changes: 3 additions & 3 deletions asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"files": {
"main.css": "/nav-consumer/static/css/main.34ab584e.css",
"main.js": "/nav-consumer/static/js/main.2932c1b0.js",
"main.js": "/nav-consumer/static/js/main.cec0076a.js",
"static/js/453.e8d73487.chunk.js": "/nav-consumer/static/js/453.e8d73487.chunk.js",
"static/media/learn.png": "/nav-consumer/static/media/learn.ed09c2210d29f84a46a9.png",
"static/media/logo.svg": "/nav-consumer/static/media/logo.6ce24c58023cc2f8fd88fe9d219db6c6.svg",
"index.html": "/nav-consumer/index.html",
"main.34ab584e.css.map": "/nav-consumer/static/css/main.34ab584e.css.map",
"main.2932c1b0.js.map": "/nav-consumer/static/js/main.2932c1b0.js.map",
"main.cec0076a.js.map": "/nav-consumer/static/js/main.cec0076a.js.map",
"453.e8d73487.chunk.js.map": "/nav-consumer/static/js/453.e8d73487.chunk.js.map"
},
"entrypoints": [
"static/css/main.34ab584e.css",
"static/js/main.2932c1b0.js"
"static/js/main.cec0076a.js"
]
}
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/nav-consumer/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/nav-consumer/logo192.png"/><link rel="manifest" href="/nav-consumer/manifest.json"/><title>React App</title><script defer="defer" src="/nav-consumer/static/js/main.2932c1b0.js"></script><link href="/nav-consumer/static/css/main.34ab584e.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/nav-consumer/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/nav-consumer/logo192.png"/><link rel="manifest" href="/nav-consumer/manifest.json"/><title>React App</title><script defer="defer" src="/nav-consumer/static/js/main.cec0076a.js"></script><link href="/nav-consumer/static/css/main.34ab584e.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
4 changes: 3 additions & 1 deletion navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ const redirect = searchParams.get("redirect") || "off";
const theme = searchParams.get("theme") || "light";
const searchEnabled = searchParams.get("searchEnabled") || "off";
const showUnavSectionDivider = searchParams.get("showUnavSectionDivider") || "false";
const uncAppId = searchParams.get("uncid");

async function init() {
const { default: loadBlock } = await import(`https://${navBranch}--milo--adobecom.hlx.page/libs/navigation/navigation.js`);
loadBlock({
Expand Down Expand Up @@ -59,7 +61,7 @@ async function init() {
analyticsIdentifier: 'unav-custom-1',
},
],
uncAppId: imsClientId,
uncAppId,
showUnavSectionDivider: showUnavSectionDivider.toLowerCase() === "true",
},
onReady: () => {
Expand Down
6 changes: 3 additions & 3 deletions static/js/main.2932c1b0.js → static/js/main.cec0076a.js

Large diffs are not rendered by default.

File renamed without changes.

Large diffs are not rendered by default.

0 comments on commit 1693d9b

Please sign in to comment.