import * as React from 'react';
import { useTranslate } from '@portal/hooks';
const cards = [
{
id: 'public',
title: 'Public and Decentralized',
description: 'Open source, open to anyone to build on, maintained by the community',
},
{
id: 'streamlined',
title: 'Streamlined Development',
description: 'Intentional innovations, tools and documentation reduce time to market',
},
{ id: 'performance', title: 'High Performance', description: 'Thousands of transactions settled in seconds' },
{
id: 'low-cost',
title: 'Low Cost',
description:
"At fractions of a penny per transaction, costs are inexpensive enough to enable a wide variety of blockchain use cases",
},
{
id: 'community',
title: 'Motivated Community',
description: 'Companies, developers, validators, and users work together to make the XRP Ledger better every day',
},
{
id: 'reliability',
title: 'Proven Reliability',
description: '10+ years of error-free, uninterrupted performance over more than 63 million ledgers',
},
];
const cards2 = [
{
href: 'decentralized-exchange.html',
title: 'Decentralized Exchange',
description:
'A high-performance decentralized peer-to-peer multi-currency exchange built directly into the blockchain',
},
{
href: 'cross-currency-payments.html',
title: 'Cross-Currency Payments',
description: 'Atomically settle multi-hop payments that cross currency or national boundaries with ease',
},
{
href: 'payment-channels.html',
title: "Payment
Channels",
description: 'Batched micropayments with unlimited speed, secured with XRP',
},
{
href: 'multi-signing.html',
title: 'Multi-Signing',
description: 'Flexible options for custody and security of on-ledger accounts',
},
{
href: 'tokens.html',
title: 'Tokens',
description:
'All currencies other than XRP can be represented in the XRP Ledger as tokens, sometimes called “IOUs”',
},
];
const cards3 = [
{
href: 'get-started.html',
title: 'Quickstart',
description: 'Access everything you need to get started working with the XRPL',
},
{ href: 'tutorials.html', title: 'Guided Tutorials', description: 'Follow step-by-step guides for frequent tasks' },
{ href: 'concepts.html', title: 'XRPL Fundamentals', description: 'Read about the XRPL’s foundational concepts' },
{
href: 'client-libraries.html',
title: 'Choose a Language',
description: 'Find tools, documentation, and sample code in Python, Java, Javascript, or use HTTP APIs',
},
{ href: 'uses.html', title: 'Get Inspired', description: 'See what your peers have built on the XRPL' },
];
const features = [
{
chip: 'In Development',
title: 'Smart Contracts',
description:
"Hooks are small, efficient WebAssembly modules designed specifically for the XRPL. Check out the hooks amendment and public testnet that enable smart contract functionality.",
href: 'https://hooks-testnet.xrpl-labs.com/',
},
{
chip: 'Enabled',
title: 'Non-Fungible Tokens',
description:
"Lower fees, faster transactions, and custom token functionality make the XRPL ideally suited for building an ecosystem for NFTs. Explore the XRP Ledger's NFT capabilities.",
href: 'non-fungible-tokens.html',
},
];
const target = { prefix: '' }; // TODO: fixme
export default function Index() {
const { translate } = useTranslate();
return (
{translate( 'Proven reliable over more than a decade of error-free functioning, the XRPL offers streamlined development, low transaction costs, high performance, and sustainability. So you can build with confidence–and move your most critical projects forward.' )}
{card.description}
{card.description}
{card.description}
{translate( "Together, we're building the greenest infrastructure to drive blockchain innovation that doesn't sacrifice utility or performance, to bring the developer community's vision to life." )}
{translate('Learn More')}{feat.description}
{translate('Connect at XRPL.org, a community by and for the developers ')}
{translate(' and entrepeneurs who rely on the XRPL.')}