Footer update

This commit is contained in:
mDuo13
2021-06-28 18:43:59 -07:00
parent d1efb37627
commit caf74707ed
6 changed files with 422 additions and 80 deletions

View File

@@ -1,32 +1,32 @@
<footer class="xrpl-footer" role="contentinfo">
<section class="container card-grid card-grid-Nx1">
<section class="container-fluid">
<div class="row">
{% for parent_page in (pages|first).children %}
{% set parent_html = parent_page.html %}
<div class="card">
<div class="card-header">
<h5><a href="{{ parent_page.html }}">{{ parent_page.name }}</a></h5>
</div><!--/.card-header-->
<div class="card-body">
{% set depth = 1 %}
{% set count = 5 %}
{% include 'children.html' %}
</div><!--/.card-body-->
</div><!--/.card -->
<div class="col-lg">
<h5>{% if parent_page.top_nav_name is defined %}{{ parent_page.top_nav_name }}{% else %}{{parent_page.name}}{% endif %}</h5>
<ul class="nav footer-nav flex-column">
<li class="nav-item"><a href="{% if '//' not in parent_page.html %}{{target.prefix}}{% endif %}{{parent_page.html}}" class="nav-link">{{parent_page.name}}</a></li>
{% for page in parent_page.children %}
<li class="nav-item"><a href="{% if '//' not in page.html %}{{target.prefix}}{% endif %}{{page.html}}" class="nav-link{% if '//' in page.html %} external-link{% endif %}">{% if page.top_nav_name is defined %}{{page.top_nav_name}}{% else %}{{page.name}}{% endif %}</a></li>
{% endfor %}
</ul>
</div><!--/.col -->
{% endfor %}
</section>
<section class="container">
<section class="container-fluid mt-20 absolute-bottom-footer">
<div class="absolute_bottom_footer">
<span>&copy; XRP Ledger Project 2020</span>
<span><a href="https://raw.githubusercontent.com/ripple/ripple-dev-portal/master/LICENSE">{% trans %}License{% endtrans %}</a></span>
<div class="d-md-flex">
<a href="{% if target.prefix %}{{target.prefix}}{% else %}/{% endif %}" class="footer-brand"><img src="{{currentpage.prefix}}assets/img/XRPLedger_DevPortal-white.svg" class="logo" height="24" alt="{{target.display_name}}" /></a>
<span class="flex-grow-1">&nbsp;</span>
<div>&copy; 2021 XRP Ledger. <a href="https://raw.githubusercontent.com/ripple/ripple-dev-portal/master/LICENSE">{% trans %}Open Source.{% endtrans %}</a>
</div>
</div><!-- /.absolute_bottom_footer -->
</section>
</footer>
<!-- Jump to top button -->
<a href="#main_content_wrapper" class="jump-to-top btn btn-primary" role="button" title="{% trans %}Jump to top of page{% endtrans %}">{% trans %}Top{% endtrans %}</a>
<a href="#main_content_wrapper" class="jump-to-top btn btn-primary" role="button" title="{% trans %}Jump to top of page{% endtrans %}"><i class="fa fa-arrow-up"></i></a>
<script type="text/javascript" src="{{currentpage.prefix}}assets/js/jump-to-top.js"></script>