Skip to content

Commit a4681ae

Browse files
committed
adds requested changes
1 parent bdd099e commit a4681ae

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

docs/use-cases/tokenization/real-world-assets.page.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ const features = [
8181
},
8282
{
8383
title: "DEX Integration",
84-
link: "https://xrpl.org/docs/tutorials/how-tos/use-tokens/trade-in-the-decentralized-exchange",
84+
link: "/docs/tutorials/how-tos/use-tokens/trade-in-the-decentralized-exchange",
8585
},
8686
{
8787
title: "Cross-chain Interoperability",
@@ -172,12 +172,14 @@ function FeatureItem({ title, link }) {
172172
const { useTranslate } = useThemeHooks();
173173
const { translate } = useTranslate();
174174
return (
175-
<li onClick={() => window.open(link, "_blank")} className="feature-item">
175+
<li className="feature-item">
176+
<Link to={link} target="_blank">
176177
<div className="feature-item__content">
177178
<span className="feature-item__title">{translate(title)}</span>
178179
<span className="right-arrow-item"> </span>
179180
</div>
180181
<div className="feature-item__divider"></div>
182+
</Link>
181183
</li>
182184
);
183185
}

static/css/devportal2024-v1.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

styles/_pages.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1445,7 +1445,7 @@ html.light {
14451445
line-height: 70px;
14461446
/* 112.903% */
14471447
max-width: 720px;
1448-
1448+
z-index: 1;
14491449
@include media-breakpoint-down(md) {
14501450
font-size: 42px;
14511451
}
@@ -1742,6 +1742,9 @@ html.light {
17421742
}
17431743

17441744
.feature-item {
1745+
a:hover {
1746+
text-decoration: none;
1747+
}
17451748
margin-bottom: 16px;
17461749
cursor: pointer;
17471750
}

0 commit comments

Comments
 (0)