Docs landing; or, MOAR EMOJI

This commit is contained in:
mDuo13
2018-04-18 18:42:32 -07:00
parent 954c43cb83
commit e9457b60ff
6 changed files with 382 additions and 86 deletions

View File

@@ -10,40 +10,302 @@
{% endblock %}
{% block bodyclasses %}xrp-ledger-dev-portal no-sidebar{% endblock %}
{% block bodyclasses %}landing no-sidebar{% endblock %}
{% block breadcrumbs %}{% endblock %}
{% block main %}
<div class="container portal-index">
<h2>All Pages</h2>
<section class="container">
<h1>Learn. Experiment. Integrate. Contribute.</h1>
<div class="row">
<div class="col-md-8">
<ul>
{% for page in pages %}
<li><a href="{{ page.html }}">{{ page.name }}</a></li>
{% endfor %}
<div class="blurb col-sm-12">
<p>The <a href="#xrp_ledger_intro">XRP Ledger</a> is built on <code>rippled</code>, an open-source technology that anyone can use. Use the tools and information provided here to integrate with and contribute to the open-source platform.</p>
</div>
</div>
</div>
<aside class="related-projects">
<h3>Related Projects</h3>
<div class="project">
<p><a class="client-portal-link" href="https://clients.ripple.com/" target="_blank">
<img class="project-icon" src="assets/img/RippleNet-condensed.svg" />
<span class="project-name">Ripple Client Portal</span>
<span class="login-required">(login required)</span>
</a></p>
<p class="project-summary">For financial institutions using Ripple's proprietary solutions to send money globally.</p>
</div>
<div class="project">
<p><a class="interledger-link" href="https://interledger.org/" target="_blank">
<img class="project-icon" src="assets/img/ilp_logo.svg" />
<span class="project-name">Interledger</span>
</a></p>
<p class="project-summary">An open protocol suite for connecting all forms of digital money.</p>
</aside>
<div class="row">
<div class="col-md-4">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><a href="landing-references.html">Take Me to the References</a></h3>
</div><!--/.panel-heading-->
<div class="panel-body">
<div class="curated-links">
<ul>
<li><a href="reference-rippled-public.html"><code>rippled</code> Public API Methods</a></li>
<li><a href="reference-transaction-format.html"><code>rippled</code> Transaction Format</a></li> <!--{# TODO: Change this out when the transaction format gets split up #}-->
<li><a href="reference-data-api.html">Data API</a></li>
</ul>
</div><!--/.curated-links-->
</div><!--/.panel-body-->
</div><!--/.panel-->
</div><!--/.col-->
<div class="col-sm-4">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Get Started</h3>
</div><!--/.panel-heading-->
<div class="panel-body">
<div class="curated-links">
<ul>
<li><a href="websocket-api-tool.html">Make a call to the rippled API</a></li>
<li><a href="xrp-test-net-faucet.html">Access the XRP Ledger Test Net</a></li>
<li><a href="landing-concepts.html">Understand XRP Ledger Concepts</a></li>
</ul>
</div><!--/.curated-links-->
</div><!--/.panel-body-->
</div><!--/.panel-->
</div><!--/.col-->
<div class="col-sm-4">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><a href="tutorial-listing-xrp.html">List XRP in Your Exchange</a></h3>
</div><!--/.panel-heading-->
<div class="panel-body">
<p>Does your exchange want to list XRP?</p>
<div class="readmore">
<a href="tutorial-listing-xrp.html"><button class="btn btn-primary" type="button">Get Started</button></a>
</div>
</div><!--/.panel-body-->
</div><!--/.panel-->
</div><!--/.col-->
</div><!--/.row-->
<div class="row">
<div class="col-sm-4">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><a href="tutorial-rippled-setup.html">Run <code>rippled</code></a></h3>
</div><!--/.panel-heading-->
<div class="panel-body">
<p><code>rippled</code> is the core server of the XRP Ledger. Anyone can run one.</p>
<div class="readmore">
<a href="tutorial-rippled-setup.html"><button class="btn btn-primary" type="button">Get Started</button></a>
</div>
</div><!--/.panel-body-->
</div><!--/.panel-->
</div><!--/.col-->
<div class="col-sm-4">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><a href="https://github.com/ripple/rippled/">Contribute to <code>rippled</code><i class="fa fa-external-link"></i></a></h3>
</div><!--/.panel-heading-->
<div class="panel-body">
<p>Contribute code and bug reports to help improve <code>rippled</code>.</p>
<div class="readmore">
<a href="tutorial-rippled-setup.html"><button class="btn btn-primary" type="button">Get Started <i class="fa fa-external-link"></i></button></a>
</div>
</div><!--/.panel-body-->
</div><!--/.panel-->
</div><!--/.col-->
<div class="col-sm-4">
<div class="panel panel-default">
<div class="panel-heading">
<!--{# TODO: replace this with "Provide Liquidity" use case link when we have it #}-->
<h3 class="panel-title"><a href="tutorial-gateway-guide.html">Issue Currency in the XRP Ledger</a></h3>
</div><!--/.panel-heading-->
<div class="panel-body">
<p>Are you a potential gateway who wants to issue currency in the XRP Ledger?</p>
<div class="readmore">
<a href="tutorial-gateway-guide.html"><button class="btn btn-primary" type="button">Get Started</button></a>
</div>
</div><!--/.panel-body-->
</div><!--/.panel-->
</div><!--/.col-->
</div><!--/.row-->
</section>
<section class="container odd">
<div class="row">
<div class="col-sm-6">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">New and Updated Documentation</h3>
</div><!--/.panel-heading-->
<div class="panel-body">
<div class="curated-links">
<ol>
{% for link in target.recently_updated %}
{% set linkpage = pages|selectattr("html", "equalto", link)|first %}
<li><a href="{{linkpage.html}}">{{linkpage.name}}</a></li>
{% endfor %}
</ol>
</div><!--/.curated-links-->
</div><!--/.panel-body-->
</div><!--/.panel-->
</div>
<div class="col-sm-6">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><a href="reference-amendments.html">Known Amendments</a></h3>
</div><!--/.panel-heading-->
<div class="panel-body">
<p>Amendments introduce new features to the decentralized XRP Ledger without causing disruptions.</p>
<div class="readmore">
<a href="reference-amendments.html"><button class="btn btn-primary" type="button">View Known Amendments</button></a>
</div>
</div><!--/.panel-body-->
</div><!--/.panel-->
</div><!--/.col-->
</div><!--/.row-->
</section>
<section class="container" id="#xrp_ledger_intro">
<h2><a href="concept-xrp-ledger-intro.html">XRP Ledger: A decentralized cryptographic ledger</a></h2>
<div class="row">
<div class="blurb col-sm-12">
<p>The XRP Ledger is built powered by a network of peer-to-peer servers. It is the home of XRP, a digital asset designed to bridge the many different currencies in use worldwide.</p>
<p>Ripple stewards the development of the XRP Ledger, and advances XRP as a key contribution to the Internet of Value: a wordl in which money moves the way information does today.</p>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<div class="panel panel-default">
<div class="panel-body">
<p class="hero-emoji">💯</p>
<h3><a href="concept-xrp-ledger-intro.html#the-best-digital-asset">The Best Digital Asset</a></h3>
<p>XRP is a digital asset native to the XRP Ledger. Anyone with a cryptographic key and an internet connection can receive, hold, and send XRP to anyone else.</p>
</div><!--/.panel-body-->
</div><!--/.panel-->
</div><!--/.col-->
<div class="col-sm-6">
<div class="panel panel-default">
<div class="panel-body">
<p class="hero-emoji">🙉</p>
<h3><a href="concept-xrp-ledger-intro.html#censorship-resistant-transaction-processing">Censorship-Resistant Transaction Processing</a></h3>
<p>No single party decides which XRP transactions succeed or fail, and no one can "roll back" a transaction after it completes.</p>
</div><!--/.panel-body-->
</div><!--/.panel-->
</div><!--/.col-->
</div><!--/.row-->
<div class="row">
<div class="col-sm-6">
<div class="panel panel-default">
<div class="panel-body">
<p class="hero-emoji">💨</p>
<h3><a href="concept-xrp-ledger-intro.html#fast-efficient-consensus-algorithm">Fast, Efficient Consensus Algorithm</a></h3>
<p>The XRP Ledger's consensus algorithm settles transactions in 4 to 5 seconds, processing at a throughput of up to 1500 transactions per second.</p>
</div><!--/.panel-body-->
</div><!--/.panel-->
</div><!--/.col-->
<div class="col-sm-6">
<div class="panel panel-default">
<div class="panel-body">
<p class="hero-emoji">📈</p>
<h3><a href="concept-xrp-ledger-intro.html#finite-xrp-supply">Finite XRP Supply</a></h3>
<p>When the XRP Ledger began, 100 billion XRP were created, and no more XRP will ever be created.</p>
</div><!--/.panel-body-->
</div><!--/.panel-->
</div><!--/.col-->
</div><!--/.row-->
<div class="row">
<div class="col-sm-6">
<div class="panel panel-default">
<div class="panel-body">
<p class="hero-emoji">⚖️</p>
<h3><a href="concept-xrp-ledger-intro.html#responsible-software-governance">Responsible Software Governance</a></h3>
<p>A team of full-time, world-class developers at Ripple maintain and continually improve the XRP Ledger's underlying software.</p>
</div><!--/.panel-body-->
</div><!--/.panel-->
</div><!--/.col-->
<div class="col-sm-6">
<div class="panel panel-default">
<div class="panel-body">
<p class="hero-emoji">🔐</p>
<h3><a href="concept-xrp-ledger-intro.html#secure-adaptable-cryptography">Secure, Adaptable Cryptography</a></h3>
<p>The XRP Ledger relies on industry standard digital signature systems like ECDSA and also supports modern, efficient algorithms like Ed25519.</p>
</div><!--/.panel-body-->
</div><!--/.panel-->
</div><!--/.col-->
</div><!--/.row-->
<div class="row">
<div class="col-sm-6">
<div class="panel panel-default">
<div class="panel-body">
<p class="hero-emoji">⚙️</p>
<h3><a href="concept-xrp-ledger-intro.html#modern-features-for-smart-contracts">Modern Features for Smart Contracts</a></h3>
<p>Features like Escrow, Checks, and Payment Channels support cutting-edge financial applications while safety features like Invariant Checks and Amendments provide for stable operation.</p>
</div><!--/.panel-body-->
</div><!--/.panel-->
</div><!--/.col-->
<div class="col-sm-6">
<div class="panel panel-default">
<div class="panel-body">
<p class="hero-emoji">💱</p>
<h3><a href="concept-xrp-ledger-intro.html#modern-features-for-smart-contracts">On-Ledger Decentralized Exchange</a></h3>
<p>The XRP Ledger also has a fully-functional accounting system for tracking and trading obligations denominated in any way users want, and an exchange built into the protocol.</p>
</div><!--/.panel-body-->
</div><!--/.panel-->
</div><!--/.col-->
</div><!--/.row-->
</section>
<section class="container related-projects odd">
<h2>Related Projects</h2>
<div class="col-sm-6">
<div class="panel panel-default">
<div class="panel-body">
<p><a class="client-portal-link" href="https://clients.ripple.com/" target="_blank">
<img class="project-icon" src="assets/img/RippleNet-condensed.svg" />
<span class="project-name">Ripple Client Portal</span>
<span class="login-required">(login required)</span>
</a></p>
<p class="project-summary">For financial institutions using Ripple's proprietary solutions to send money globally.</p>
</div><!--/.panel-body-->
</div><!--/.panel-->
</div><!--/.col-->
<div class="col-sm-6">
<div class="panel panel-default">
<div class="panel-body">
<p><a class="interledger-link" href="https://interledger.org/" target="_blank">
<img class="project-icon" src="assets/img/ilp_logo.svg" />
<span class="project-name">Interledger</span>
</a></p>
<p class="project-summary">An open protocol suite for connecting all forms of digital money.</p>
</div><!--/.panel-body-->
</div><!--/.panel-->
</div><!--/.col-->
</section>
<section class="container portal-index">
<h2>Full Sitemap (development purposes)</h2>
<div class="row">
<div class="col-md-8">
{% include 'template-page-children.html' %}
</div>
</div>
</section>
<!-- Disclaimer block -->
<div class="container build-disclaimer">

View File

@@ -3,7 +3,7 @@
{% block sidebar %}
{% endblock %}
{% block bodyclasses %}landing-docs {% endblock %}
{% block bodyclasses %}landing{% endblock %}
{% block main %}
<section class="container">
@@ -105,7 +105,7 @@
<div class="panel-body">
<div class="curated-links">
<ol>
{% for link in currentpage.recently_updated %}
{% for link in target.recently_updated %}
{% set linkpage = pages|selectattr("html", "equalto", link)|first %}
<li><a href="{{linkpage.html}}">{{linkpage.name}}</a></li>
{% endfor %}

View File

@@ -6,7 +6,10 @@
{% endif %}
{% if parent_page.funnel is undefined %}
<!-- TEMPLATE ERROR: need funnel for children-display -->
{% set parent_level = "home" %}
{% set level_2 = "funnel" %}
{% set level_3 = "doc_type" %}
{% set childpages = pages %}{# special case for home #}
{% elif parent_page == pages|selectattr("funnel", "equalto", parent_page.funnel)|first %}
{% set parent_level = "funnel" %}
{% set level_2 = "doc_type" %}
@@ -27,7 +30,9 @@
<!-- TEMPLATE ERROR: page {{parent_page.name}} is not the parent of anything? -->
{% endif %}
<!-- parent_level is {{parent_level}} -->
{% set childpages = pages|selectattr(parent_level, "equalto", parent_page[parent_level])|list %}
{% if parent_level != "home" %}
{% set childpages = pages|selectattr(parent_level, "equalto", parent_page[parent_level])|list %}
{% endif %}
<div class="children-display">
<ul>