From 8259fdffe141ccc215317237d37efe4eabf3d40d Mon Sep 17 00:00:00 2001 From: mDuo13 Date: Wed, 24 Jan 2024 14:41:09 -0800 Subject: [PATCH] Add dev tools' frontmatter --- content/resources/dev-tools/domain-verifier.page.tsx | 7 +++++++ content/resources/dev-tools/rpc-tool.page.tsx | 7 +++++++ content/resources/dev-tools/tx-sender.page.tsx | 7 +++++++ content/resources/dev-tools/websocket-api-tool.page.tsx | 7 +++++++ content/resources/dev-tools/xrp-faucets.page.tsx | 7 +++++++ .../resources/dev-tools/xrp-ledger-toml-checker.page.tsx | 8 ++++++++ 6 files changed, 43 insertions(+) diff --git a/content/resources/dev-tools/domain-verifier.page.tsx b/content/resources/dev-tools/domain-verifier.page.tsx index 6bab7fae6e..86c982d9c0 100644 --- a/content/resources/dev-tools/domain-verifier.page.tsx +++ b/content/resources/dev-tools/domain-verifier.page.tsx @@ -8,6 +8,13 @@ import { TextLookupForm } from "./components/TextLookupForm"; import { addNewLogEntry, LogEntryItem, updateLogEntry } from './components/LogEntry' import { hexToBytes, hexToString, stringToHex } from "@xrplf/isomorphic/utils" +export const frontmatter = { + seo: { + title: 'Domain Verifier', + description: "Use this tool to confirm that your rippled validator has domain verification set up correctly", + } +}; + const TIPS =

Check if the xrp-ledger.toml file is actually hosted in the /.well-known/ location at the domain in your manifest. Check your server\'s HTTPS settings and certificate, and make sure your server provides the required CORS header.

; diff --git a/content/resources/dev-tools/rpc-tool.page.tsx b/content/resources/dev-tools/rpc-tool.page.tsx index 1b19e18d21..02ba537273 100644 --- a/content/resources/dev-tools/rpc-tool.page.tsx +++ b/content/resources/dev-tools/rpc-tool.page.tsx @@ -8,6 +8,13 @@ import { Client, isValidAddress } from 'xrpl' import { RPCResponseGroup } from './components/rpc-tool/rpc-response-group'; import { clsx } from 'clsx'; +export const frontmatter = { + seo: { + title: 'RPC Tool', + description: "Quickly query several key details about an XRP Ledger account or transaction", + } +}; + export default function RpcTool() { const { hash: slug } = useLocation(); const [accountInfoResponse, setAccountInfoResponse] = useState(null); diff --git a/content/resources/dev-tools/tx-sender.page.tsx b/content/resources/dev-tools/tx-sender.page.tsx index 0b77921b72..dab419d747 100644 --- a/content/resources/dev-tools/tx-sender.page.tsx +++ b/content/resources/dev-tools/tx-sender.page.tsx @@ -15,6 +15,13 @@ import { DestinationAddressInput } from './components/DestinationAddressInput'; import { StatusSidebar } from './components/StatusSidebar'; import { TransactionButton } from './components/TransactionButton'; +export const frontmatter = { + seo: { + title: 'Transaction Sender', + description: "Send test transactions to the account of your choice to test how your software handles them.", + } +}; + async function onClickCreateEscrow( submitConstData: SubmitConstData, sendingWallet: Wallet | undefined, diff --git a/content/resources/dev-tools/websocket-api-tool.page.tsx b/content/resources/dev-tools/websocket-api-tool.page.tsx index c991f017b9..7560beef96 100644 --- a/content/resources/dev-tools/websocket-api-tool.page.tsx +++ b/content/resources/dev-tools/websocket-api-tool.page.tsx @@ -23,6 +23,13 @@ import commandList from "./components/websocket-api/data/command-list.json"; import connections from "./components/websocket-api/data/connections.json"; import { Loader } from './components/Loader'; +export const frontmatter = { + seo: { + title: 'WebSocket API Tool', + description: "Interact directly with XRP Ledger servers using the WebSocket API with this handy tool.", + } +}; + export function WebsocketApiTool() { const [params, setParams] = useQueryParams({ diff --git a/content/resources/dev-tools/xrp-faucets.page.tsx b/content/resources/dev-tools/xrp-faucets.page.tsx index 883976d84d..3210c1227c 100644 --- a/content/resources/dev-tools/xrp-faucets.page.tsx +++ b/content/resources/dev-tools/xrp-faucets.page.tsx @@ -5,6 +5,13 @@ import { Client, dropsToXrp, Wallet } from 'xrpl'; import * as faucetData from './faucets.json' import XRPLoader from '../../@theme/components/XRPLoader'; +export const frontmatter = { + seo: { + title: 'XRP Faucets', + description: "Get test XRP for use on various non-production networks.", + } +}; + interface FaucetInfo { id: string, wsUrl: string, diff --git a/content/resources/dev-tools/xrp-ledger-toml-checker.page.tsx b/content/resources/dev-tools/xrp-ledger-toml-checker.page.tsx index 0fdeb836b0..52f952d394 100644 --- a/content/resources/dev-tools/xrp-ledger-toml-checker.page.tsx +++ b/content/resources/dev-tools/xrp-ledger-toml-checker.page.tsx @@ -3,6 +3,14 @@ import { useTranslate } from '@portal/hooks'; import { TextLookupForm, type TextLookupFormProps } from './components/TextLookupForm'; import { fetchFile, fetchWallet } from './toml-checker/ValidateTomlSteps'; import { LogEntryItem } from './components/LogEntry'; + +export const frontmatter = { + seo: { + title: 'xrp-ledger.toml Checker', + description: "Confirm that your site's xrp-ledger.toml file is set up correctly.", + } +}; + /** * Example data to test the tool with *