mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-21 04:05:49 +00:00
add missing links
This commit is contained in:
@@ -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
@@ -1742,6 +1742,7 @@ html.light {
|
|||||||
|
|
||||||
.feature-item {
|
.feature-item {
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.feature-item__content {
|
.feature-item__content {
|
||||||
|
|||||||
Reference in New Issue
Block a user