mirror of
				https://github.com/XRPLF/xrpl-dev-portal.git
				synced 2025-11-04 11:55:50 +00:00 
			
		
		
		
	Re-levelization: move non-docs content, rename content→docs
For better URLs, the content folder has been renamed 'docs' and all other files have been moved up a level. Also, non-docs images have been moved to the static folder at the top level where they belong. Many relative paths had to be fixed to make this work.
This commit is contained in:
		@@ -24,7 +24,7 @@ const cards = [
 | 
			
		||||
    id: 'low-cost',
 | 
			
		||||
    title: 'Low Cost',
 | 
			
		||||
    description:
 | 
			
		||||
      "At fractions of a penny per transaction, costs are inexpensive enough to enable a wide variety of <a href='uses.html'>blockchain use cases</a>",
 | 
			
		||||
      "At fractions of a penny per transaction, costs are inexpensive enough to enable a wide variety of <a href='/about/uses'>blockchain use cases</a>",
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    id: 'community',
 | 
			
		||||
@@ -40,48 +40,48 @@ const cards = [
 | 
			
		||||
 | 
			
		||||
const cards2 = [
 | 
			
		||||
  {
 | 
			
		||||
    href: 'decentralized-exchange.html',
 | 
			
		||||
    href: '/docs/concepts/tokens/decentralized-exchange/',
 | 
			
		||||
    title: 'Decentralized Exchange',
 | 
			
		||||
    description:
 | 
			
		||||
      'A high-performance decentralized peer-to-peer multi-currency exchange built directly into the blockchain',
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    href: 'cross-currency-payments.html',
 | 
			
		||||
    href: '/docs/concepts/payment-types/cross-currency-payments/',
 | 
			
		||||
    title: 'Cross-Currency Payments',
 | 
			
		||||
    description: 'Atomically settle multi-hop payments that cross currency or national boundaries with ease',
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    href: 'payment-channels.html',
 | 
			
		||||
    href: '/docs/concepts/payment-types/payment-channels/',
 | 
			
		||||
    title: "Payment <br class='until-sm'/>Channels",
 | 
			
		||||
    description: 'Batched micropayments with unlimited speed, secured with XRP',
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    href: 'multi-signing.html',
 | 
			
		||||
    href: '/docs/concepts/accounts/multi-signing/',
 | 
			
		||||
    title: 'Multi-Signing',
 | 
			
		||||
    description: 'Flexible options for custody and security of on-ledger accounts',
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    href: 'tokens.html',
 | 
			
		||||
    href: '/docs/concepts/tokens/',
 | 
			
		||||
    title: 'Tokens',
 | 
			
		||||
    description:
 | 
			
		||||
      'All currencies other than XRP can be represented in the XRP Ledger as tokens, sometimes called “IOUs”',
 | 
			
		||||
      'All currencies other than XRP can be represented in the XRP Ledger as tokens',
 | 
			
		||||
  },
 | 
			
		||||
];
 | 
			
		||||
 | 
			
		||||
const cards3 = [
 | 
			
		||||
  {
 | 
			
		||||
    href: 'get-started.html',
 | 
			
		||||
    title: 'Quickstart',
 | 
			
		||||
    href: '/docs/',
 | 
			
		||||
    title: 'Documentation',
 | 
			
		||||
    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: '/docs/tutorials', title: 'Guided Tutorials', description: 'Follow step-by-step guides for frequent tasks' },
 | 
			
		||||
  { href: '/docs/concepts', title: 'XRPL Fundamentals', description: 'Read about the XRPL’s foundational concepts' },
 | 
			
		||||
  {
 | 
			
		||||
    href: 'client-libraries.html',
 | 
			
		||||
    href: '/docs/references/client-libraries/',
 | 
			
		||||
    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' },
 | 
			
		||||
  { href: '/about/uses', title: 'Get Inspired', description: 'See what your peers have built on the XRPL' },
 | 
			
		||||
];
 | 
			
		||||
 | 
			
		||||
const features = [
 | 
			
		||||
@@ -93,16 +93,13 @@ const features = [
 | 
			
		||||
    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',
 | 
			
		||||
    chip: 'Open for Voting',
 | 
			
		||||
    title: 'Automated Market Makers',
 | 
			
		||||
    description: "Smart contracts to provide liquidity and earn passive income from facilitating currency exchange, complementary with the order-book DEX already built into the XRPL.",
 | 
			
		||||
    href: '/concepts/tokens/decentralized-exchange/automated-market-makers/',
 | 
			
		||||
  },
 | 
			
		||||
];
 | 
			
		||||
 | 
			
		||||
const target = { prefix: '' }; // TODO: fixme
 | 
			
		||||
 | 
			
		||||
export default function Index() {
 | 
			
		||||
  const { translate } = useTranslate();
 | 
			
		||||
 | 
			
		||||
@@ -122,14 +119,14 @@ export default function Index() {
 | 
			
		||||
              </h1>
 | 
			
		||||
              <h6 className="eyebrow mb-3">{translate('XRPL | XRP Ledger')}</h6>
 | 
			
		||||
            </div>
 | 
			
		||||
            <a href="docs.html" className="btn btn-primary btn-arrow">
 | 
			
		||||
            <a href="/docs" className="btn btn-primary btn-arrow">
 | 
			
		||||
              {translate('Start Building')}
 | 
			
		||||
            </a>
 | 
			
		||||
          </div>
 | 
			
		||||
        </section>
 | 
			
		||||
        <div className="position-relative d-none-sm">
 | 
			
		||||
          <img src={require('./img/backgrounds/home-purple.svg')} id="home-purple" />
 | 
			
		||||
          <img src={require('./img/backgrounds/home-green.svg')} id="home-green" />
 | 
			
		||||
          <img src={require('./static/img/backgrounds/home-purple.svg')} id="home-purple" />
 | 
			
		||||
          <img src={require('./static/img/backgrounds/home-green.svg')} id="home-green" />
 | 
			
		||||
        </div>
 | 
			
		||||
        <section className="container-new py-26">
 | 
			
		||||
          <div className="col-lg-6 offset-lg-3 pl-0-sm pr-0-sm p-8-sm p-10-until-sm">
 | 
			
		||||
@@ -172,7 +169,7 @@ export default function Index() {
 | 
			
		||||
          </div>
 | 
			
		||||
          <div className="row row-cols-1 row-cols-lg-3 card-deck mt-10" id="advanced-features">
 | 
			
		||||
            {cards2.map((card, idx) => (
 | 
			
		||||
              <a className="card" href={target.prefix + card.href} key={card.href + idx}>
 | 
			
		||||
              <a className="card" href={card.href} key={card.href + idx}>
 | 
			
		||||
                <div className="card-body">
 | 
			
		||||
                  <h4 className="card-title h5">{card.title}</h4>
 | 
			
		||||
                  <p className="card-text">{card.description}</p>
 | 
			
		||||
@@ -189,7 +186,7 @@ export default function Index() {
 | 
			
		||||
          </div>
 | 
			
		||||
          <div className="row row-cols-1 row-cols-lg-3 card-deck mt-10" id="get-started">
 | 
			
		||||
            {cards3.map((card, idx) => (
 | 
			
		||||
              <a className="card" href={target.prefix + card.href} key={card.href + idx}>
 | 
			
		||||
              <a className="card" href={card.href} key={card.href + idx}>
 | 
			
		||||
                <div className="card-body">
 | 
			
		||||
                  <h4 className="card-title h5">{card.title}</h4>
 | 
			
		||||
                  <p className="card-text">{card.description}</p>
 | 
			
		||||
@@ -201,8 +198,8 @@ export default function Index() {
 | 
			
		||||
        </section>
 | 
			
		||||
        <section className="container-new py-26">
 | 
			
		||||
          <div className="col-lg-6 offset-lg-3 p-6-sm p-10-until-sm br-8 cta-card">
 | 
			
		||||
            <img src={require('./img/backgrounds/cta-home-purple.svg')} className="d-none-sm cta cta-top-left" />
 | 
			
		||||
            <img src={require('./img/backgrounds/cta-home-green.svg')} className="cta cta-bottom-right" />
 | 
			
		||||
            <img src={require('./static/img/backgrounds/cta-home-purple.svg')} className="d-none-sm cta cta-top-left" />
 | 
			
		||||
            <img src={require('./static/img/backgrounds/cta-home-green.svg')} className="cta cta-bottom-right" />
 | 
			
		||||
            <div className="z-index-1 position-relative">
 | 
			
		||||
              <h2 className="h4 mb-8-sm mb-10-until-sm">{translate('Our Shared Vision for XRPL’s Future')}</h2>
 | 
			
		||||
              <p className="mb-10">
 | 
			
		||||
@@ -210,7 +207,7 @@ export default function Index() {
 | 
			
		||||
                  "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."
 | 
			
		||||
                )}
 | 
			
		||||
              </p>
 | 
			
		||||
              <a className="btn btn-primary btn-arrow" href="overview.html">
 | 
			
		||||
              <a className="btn btn-primary btn-arrow" href="/about/">
 | 
			
		||||
                {translate('Learn More')}
 | 
			
		||||
              </a>
 | 
			
		||||
            </div>
 | 
			
		||||
@@ -237,7 +234,7 @@ export default function Index() {
 | 
			
		||||
        </section>
 | 
			
		||||
        <section className="container-new py-26">
 | 
			
		||||
          <div className="col-md-6 offset-md-3 p-8-sm p-10-until-sm br-8 cta-card">
 | 
			
		||||
            <img alt="" src={require('./img/backgrounds/cta-home-magenta.svg')} className="cta cta-bottom-right" />
 | 
			
		||||
            <img alt="" src={require('./static/img/backgrounds/cta-home-magenta.svg')} className="cta cta-bottom-right" />
 | 
			
		||||
            <div className="z-index-1 position-relative">
 | 
			
		||||
              <div className="d-flex flex-column-reverse">
 | 
			
		||||
                <h2 className="h4 mb-8-sm mb-10-until-sm">
 | 
			
		||||
@@ -251,7 +248,7 @@ export default function Index() {
 | 
			
		||||
                <br className="until-sm" />
 | 
			
		||||
                {translate(' and entrepeneurs who rely on the XRPL.')}
 | 
			
		||||
              </p>
 | 
			
		||||
              <a className="btn btn-primary btn-arrow" href="contribute.html">
 | 
			
		||||
              <a className="btn btn-primary btn-arrow" href="/community">
 | 
			
		||||
                {translate('Get Involved')}
 | 
			
		||||
              </a>
 | 
			
		||||
            </div>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user