adds requested changes

This commit is contained in:
akcodez
2024-11-19 17:31:44 -08:00
parent bdd099e683
commit a4681aeb48
3 changed files with 9 additions and 4 deletions

View File

@@ -81,7 +81,7 @@ const features = [
},
{
title: "DEX Integration",
link: "https://xrpl.org/docs/tutorials/how-tos/use-tokens/trade-in-the-decentralized-exchange",
link: "/docs/tutorials/how-tos/use-tokens/trade-in-the-decentralized-exchange",
},
{
title: "Cross-chain Interoperability",
@@ -172,12 +172,14 @@ function FeatureItem({ title, link }) {
const { useTranslate } = useThemeHooks();
const { translate } = useTranslate();
return (
<li onClick={() => window.open(link, "_blank")} className="feature-item">
<li className="feature-item">
<Link to={link} target="_blank">
<div className="feature-item__content">
<span className="feature-item__title">{translate(title)}</span>
<span className="right-arrow-item"> </span>
</div>
<div className="feature-item__divider"></div>
</Link>
</li>
);
}