Skip to content

Commit c69f987

Browse files
authored
Merge pull request #2876 from XRPLF/tokenization-seo
adds SEO updates for RWA tokenization page
2 parents e4a70b7 + bcdbde4 commit c69f987

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

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

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { useThemeHooks } from "@redocly/theme/core/hooks";
22
import { Link } from "@redocly/theme/components/Link/Link";
3+
import { useEffect } from "react";
34

45
export const frontmatter = {
56
seo: {
@@ -243,7 +244,7 @@ function UpcomingEvents() {
243244
<section className="upcoming-events">
244245
<h2 className="upcoming-events__title">
245246
{translate(
246-
"Explore the companies tokenizing real-world assets on the XRP Ledger"
247+
"Explore the companies pioneering tokenization using XRP Ledger"
247248
)}
248249
</h2>
249250
<div className="upcoming-events__logo-container">
@@ -270,6 +271,25 @@ const BenefitCard = ({ iconClass, title, description }) => {
270271
export default function RwaTokenization() {
271272
const { useTranslate } = useThemeHooks();
272273
const { translate } = useTranslate();
274+
useEffect(() => {
275+
const script = document.createElement('script');
276+
script.id = 'video-schema'
277+
script.type = 'application/ld+json';
278+
script.innerHTML = JSON.stringify({
279+
"@context": "https://schema.org",
280+
"@type": "VideoObject",
281+
"name": "Tokenization on XRP Ledger",
282+
"description": "The XRP Ledger was the first blockchain to support the tokenization of a variety of assets. This includes stablecoins or other forms of value – anything from US dollars, to euros, gold, stocks, and other cryptocurrencies like Bitcoin or Ethereum – and even non-fungible tokens (NFTs) that might represent valuable items like pieces of art or cinema tickets. Tokens are often called issued assets, or IOUs, on the XRPL.",
283+
"thumbnailUrl": "https://i.ytimg.com/vi/Oj4cWOiWf4A/hqdefault.jpg",
284+
"uploadDate": "2022-01-10",
285+
"embedUrl": "https://www.youtube.com/watch?v=Oj4cWOiWf4A"
286+
});
287+
document.head.appendChild(script);
288+
// Remove the script from the head when the component unmounts
289+
return () => {
290+
document.head.removeChild(script);
291+
};
292+
}, []);
273293
return (
274294
<div className="page-rwa-tokenization">
275295
<div className="position-relative d-none-sm">
@@ -324,7 +344,7 @@ export default function RwaTokenization() {
324344
<div>
325345
<h2 className="cards-title-token">
326346
{translate(
327-
"Benefits of RWA Tokenization on XRP Ledger for Developers"
347+
"Benefits of Real-World Asset Tokenization Development on XRP Ledger"
328348
)}
329349
</h2>
330350
</div>

0 commit comments

Comments
 (0)