add missing links

This commit is contained in:
akcodez
2024-11-11 10:35:32 -08:00
parent 15aa8d83b1
commit 4484a5e6a2
3 changed files with 5 additions and 3 deletions

View File

@@ -161,11 +161,11 @@ function RwaTokenizationFeatures() {
); );
} }
function FeatureItem({ title }) { function FeatureItem({ title, link }) {
const { useTranslate } = useThemeHooks(); const { useTranslate } = useThemeHooks();
const { translate } = useTranslate(); const { translate } = useTranslate();
return ( return (
<li className="feature-item"> <li onClick={() => window.open(link, "_blank")} className="feature-item">
<div className="feature-item__content"> <div className="feature-item__content">
<span className="feature-item__title">{translate(title)}</span> <span className="feature-item__title">{translate(title)}</span>
<span className="right-arrow-item"> </span> <span className="right-arrow-item"> </span>
@@ -197,6 +197,7 @@ function DeveloperTools() {
{features.map((feature, index) => ( {features.map((feature, index) => (
<FeatureItem <FeatureItem
key={index} key={index}
link={feature.link}
title={feature.title} title={feature.title}
/> />
))} ))}

File diff suppressed because one or more lines are too long

View File

@@ -1742,6 +1742,7 @@ html.light {
.feature-item { .feature-item {
margin-bottom: 16px; margin-bottom: 16px;
cursor: pointer;
} }
.feature-item__content { .feature-item__content {