Skip to content

Commit

Permalink
[#0] footer link temp fix for chat/support
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolerego committed Jun 29, 2023
1 parent 8648e01 commit 51f1af3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions blocks/footer/footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ const decorateDesktopFooterNav = (footerNavSection, ctaButton) => {
navLink.setAttribute('href', 'https://status.hlx.live/');
navLink.setAttribute('target', '_blank');
}

// TODO: temp fix for chat.hlx.live
if (navLink.textContent.toLowerCase() === 'support') {
navLink.setAttribute('href', 'https://chat.hlx.live/');
navLink.setAttribute('target', '_blank');
}
});

// clone the node
Expand Down
1 change: 1 addition & 0 deletions blocks/header/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
height: calc(var(--nav-height) - 1px);
border-bottom: 1px solid #EAEAEA;
z-index: 10;
color: var(--bg-color-black);
}
}

Expand Down

0 comments on commit 51f1af3

Please sign in to comment.