Skip to content

Commit

Permalink
chore: sync alpha (#2795)
Browse files Browse the repository at this point in the history
chore: merging master into alpha
  • Loading branch information
viktorrusakov authored and PKulkoRaccoonGang committed Aug 5, 2024
1 parent ff82626 commit 364ffb0
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions www/src/components/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,10 @@ const handleContrastCheckerClick = () => {
global.analytics.track('openedx.paragon.docs.menu.tools.visit_contrast_checker.clicked');
};

const handleContrastCheckerClick = () => {
global.analytics.track('openedx.paragon.docs.menu.tools.visit_contrast_checker.clicked');
};

MenuComponentListCategory.propTypes = {
children: PropTypes.node.isRequired,
title: PropTypes.string.isRequired,
Expand Down Expand Up @@ -299,6 +303,17 @@ function Menu() {
Contrast Checker
</Hyperlink>
</li>
<li>
<Hyperlink
destination="https://webaim.org/resources/contrastchecker"
target="_blank"
externalLinkAlternativeText="Contrast checker page"
externalLinkTitle="Contrast checker"
onClick={handleContrastCheckerClick}
>
Contrast Checker
</Hyperlink>
</li>
</ul>
</Collapsible>
<MenuComponentList>
Expand Down

0 comments on commit 364ffb0

Please sign in to comment.