Merge pull request #2966 from XRPLF/fix_code_samples

Fix minor issues with Code Samples
This commit is contained in:
Rome Reginelli
2025-02-07 14:09:17 -08:00
committed by GitHub
5 changed files with 6 additions and 6 deletions

View File

@@ -28,7 +28,7 @@ export function codeSamples() {
samples.push({
path: dirPath,
title: title || toTitleCase(dirname(dirPath)),
description: getInnerText([data.ast.children[1]]).replace(title, '').trim(),
description: getInnerText([data.ast.children[1]]).trim(),
href: joinPath('content', dirPath),
langs,
});

View File

@@ -1,3 +1,3 @@
# Build a Browser Wallet
Implement a non-custodial wallet application that runs on in a web browser and can check an account's balances, send XRP, and notify when the account receives incoming transactions.
Implement a non-custodial wallet application that runs in a web browser and can check an account's balances, send XRP, and notify when the account receives incoming transactions.

View File

@@ -1,3 +1,3 @@
# Create, Update, and Delete Decentralized Identifiers (DIDs)
Create, Update, and Delete Decentralized Identifiers (DIDs). A Decentralized Identifier (DID) is a new type of identifier defined by the World Wide Web Consortium (W3C) that enables verifiable, digital identities.
Create, update, and delete decentralized identifiers (DIDs). A Decentralized Identifier (DID) is a new type of identifier defined by the World Wide Web Consortium (W3C) that enables verifiable, digital identities.

View File

@@ -1,3 +1,3 @@
# Create, Update, and Delete Price Oracles
Create, Update, and Delete Price Oracles. A price oracle is a mechanism that feeds external data, such as asset prices, and exchange rates, onto the XRPLedger.
Create, update, and delete Price Oracles. A price oracle is a mechanism that feeds external data, such as asset prices, and exchange rates, onto the XRPLedger.

View File

@@ -29,7 +29,7 @@ export default function CodeSamples() {
const { codeSamples, langs } = usePageSharedData<any>('code-samples');
return (
<div className="landing page-community">
<main className="landing page-code-samples">
<div className="">
<section className="py-26">
<div className="col-lg-8 mx-auto text-lg-center">
@@ -126,6 +126,6 @@ export default function CodeSamples() {
</div>
</section>
</div>
</div>
</main>
);
}