Skip to content

Commit b725d39

Browse files
authored
fix internal technical issues (#1828)
1 parent 47505d0 commit b725d39

File tree

5 files changed

+20
-5
lines changed

5 files changed

+20
-5
lines changed

src/components/Header/Nav/NavBar.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export const NavBar = ({ path, searchTrigger, onHideChange, productsNav, subProd
5050
{searchTrigger && <div className={styles.searchTrigger}>{searchTrigger}</div>}
5151
<div id="weglot" />
5252
<a
53-
rel="noreferrer"
53+
rel="noreferrer noopener"
5454
target="_blank"
5555
className={clsx(styles.button)}
5656
href="https://github.com/smartcontractkit/documentation"

src/components/Header/Nav/ProductNavigation/Desktop/ProductNavigation.tsx

+6-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,12 @@ export const ProductNavigation = ({ path, setNavMenuOpen, productsNav, subProduc
3939

4040
return (
4141
<>
42-
<a rel="noreferrer" target="_blank" className={clsx("home-logo", styles.logo)} href="https://chain.link/">
42+
<a
43+
rel="noreferrer noopener"
44+
target="_blank"
45+
className={clsx("home-logo", styles.logo)}
46+
href="https://chain.link/"
47+
>
4348
<img
4449
alt="Chainlink Home"
4550
title="Chainlink Home"

src/components/Header/Nav/ProductNavigation/Mobile/BottomBar.tsx

+6-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@ import { ResourcesIcon } from "./ResourcesIcon"
33
import { Search } from "../../../aiSearch/Search"
44

55
const ResourcesButton = () => (
6-
<a rel="noreferrer" target="_blank" className="nav-cta" href="https://github.com/smartcontractkit/documentation">
6+
<a
7+
rel="noreferrer noopener"
8+
target="_blank"
9+
className="nav-cta"
10+
href="https://github.com/smartcontractkit/documentation"
11+
>
712
<ResourcesIcon />
813
<span
914
style={{

src/components/Header/Nav/ProductNavigation/Mobile/ProductNavigation.tsx

+6-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,12 @@ export function ProductNavigation({ productsNav }: Props) {
5050

5151
return (
5252
<Root open={open} onOpenChange={handleOpenChange}>
53-
<a rel="noreferrer" target="_blank" className={clsx("home-logo", styles.logo)} href="https://chain.link/">
53+
<a
54+
rel="noreferrer noopener"
55+
target="_blank"
56+
className={clsx("home-logo", styles.logo)}
57+
href="https://chain.link/"
58+
>
5459
<img
5560
alt="Chainlink Home"
5661
title="Chainlink Home"

src/features/common/Tooltip/Tooltip.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Tooltip as ChainlinkToolTip } from "@chainlink/components"
1+
import { Tooltip as ChainlinkToolTip } from "@chainlink/components/src/Tooltip/Tooltip"
22

33
export const Tooltip = ({
44
label,

0 commit comments

Comments
 (0)