mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 11:45:50 +00:00
Docs/Refs landing page styles
This commit is contained in:
@@ -6,18 +6,18 @@
|
||||
<section class="container-fluid bg-white p-3 p-sm-4">
|
||||
<h1 class="main-page-header">XRP Ledger Documentation</h1>
|
||||
<p class="blurb">Dive into our documentation and start integrating with the XRP Ledger.</p>
|
||||
<p class="blurb">Browse by category, or skip straight to the <a href="#full-doc-index">full documentation index</a>.</p>
|
||||
</section>
|
||||
|
||||
<section class="container-fluid bg-light p-3 p-sm-4">
|
||||
<div class="card-deck">
|
||||
<section class="container-fluid card-grid card-grid-3xN">
|
||||
{% set doc_types = [] %}
|
||||
{% for page in pages %}
|
||||
{% if page.doc_type is defined and page.doc_type not in doc_types %}
|
||||
{% set doc_type_top = pages|selectattr('doc_type', 'defined_and_equalto', page.doc_type)|first %}
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header bg-dark">
|
||||
<h3 class="card-title">{{doc_type_top.name}}</h3>
|
||||
<div class="card-header">
|
||||
<h3 class="card-title"><a href="{{doc_type_top.html}}">{{doc_type_top.name}}</a></h3>
|
||||
</div><!--/.card-header-->
|
||||
<div class="card-body">
|
||||
{% if page.blurb is defined %}
|
||||
@@ -29,7 +29,7 @@
|
||||
</div><!--/.card-body-->
|
||||
<div class="card-footer">
|
||||
<div class="readmore">
|
||||
<a class="btn btn-secondary" href="{{doc_type_top.html}}">View All {{doc_type_top.name}} <i class="fa fa-arrow-right" aria-hidden="true"></i></a>
|
||||
<a class="btn btn-outline-secondary" href="{{doc_type_top.html}}">View All {{doc_type_top.name}}</a>
|
||||
</div>
|
||||
</div><!--/.card-footer-->
|
||||
</div><!--/.card-->
|
||||
@@ -37,57 +37,7 @@
|
||||
{% set _ = doc_types.append(page.doc_type) %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div><!--/.card-deck-->
|
||||
<div class="card-deck pt-3 pt-sm-4">
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header bg-dark">
|
||||
<h3 class="card-title">Get Started</h3>
|
||||
</div><!--/.card-header-->
|
||||
<div class="card-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="concepts.html">Understand XRP Ledger Concepts</a></li>
|
||||
</ul>
|
||||
</div><!--/.curated-links-->
|
||||
</div><!--/.card-body-->
|
||||
</div><!--/.card-->
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header bg-dark">
|
||||
<h3 class="card-title">Popular Docs</h3>
|
||||
</div><!--/.card-header-->
|
||||
<div class="card-body">
|
||||
<div class="curated-links">
|
||||
<ol>
|
||||
<li><a href="public-rippled-methods.html">rippled API Public Methods Reference</a></li>
|
||||
<li><a href="accounts.html">Accounts</a></li>
|
||||
<li><a href="install-rippled.html">Install rippled</a></li>
|
||||
<li><a href="rippleapi-reference.html">RippleAPI for JavaScript Reference</a></li>
|
||||
</ol>
|
||||
</div><!--/.curated-links-->
|
||||
</div><!--/.card-body-->
|
||||
</div><!--/.card-->
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header bg-dark">
|
||||
<h3 class="card-title">Recently Updated</h3>
|
||||
</div><!--/.card-header-->
|
||||
<div class="card-body">
|
||||
<div class="curated-links">
|
||||
<ol>
|
||||
{% for link in target.recently_updated %}
|
||||
{% set linkpage = pages|selectattr("html", 'defined_and_equalto', link.html)|first %}
|
||||
<li><a href="{{linkpage.html}}">{{linkpage.name}}{% if link.date is defined %} <span class="recently-updated-date">({{link.date}})</span>{% endif %}</a></li>
|
||||
{% endfor %}
|
||||
</ol>
|
||||
</div><!--/.curated-links-->
|
||||
</div><!--/.card-body-->
|
||||
</div><!--/.card-->
|
||||
|
||||
</div><!--/.card-deck-->
|
||||
</section>
|
||||
|
||||
<section class="container-fluid p-3 p-sm-4">
|
||||
|
||||
Reference in New Issue
Block a user