mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 19:55:54 +00:00
adding pdf, added scroll on click for calc page
This commit is contained in:
@@ -206,5 +206,14 @@ $(document).ready(function(){
|
||||
inputs_offset.addClass('offset');
|
||||
$(this).text('Hide Inputs');
|
||||
}
|
||||
})
|
||||
});
|
||||
|
||||
$(document).on('click', 'a[href^="#"]', function(event) {
|
||||
event.preventDefault();
|
||||
|
||||
$('html, body').animate({
|
||||
scrollTop: $($.attr(this, 'href')).offset().top - 80
|
||||
}, 800);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
BIN
assets/pdf/xrpl-sustainability-methodology-2020.pdf
Normal file
BIN
assets/pdf/xrpl-sustainability-methodology-2020.pdf
Normal file
Binary file not shown.
@@ -48,7 +48,7 @@
|
||||
<div class="container" id="calculator">
|
||||
<div class="col-sm-5 mt-20 mb-30 offset-sm-4">
|
||||
<h3 class="mb-4">{% trans %}How Does XRP Compare to Other Currencies?{% endtrans %}</h3>
|
||||
<a href="#" class="text-green arrow-link bold">{% trans %}Learn more about the methodology{% endtrans %}</a>
|
||||
<a href="./assets/pdf/xrpl-sustainability-methodology-2020.pdf" target="_blank" class="text-green arrow-link bold">{% trans %}Learn more about the methodology{% endtrans %}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -83,7 +83,7 @@
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<a href="#" class="text-white arrow-link bold mt-4 d-block">{% trans %}Learn more about the methodology{% endtrans %}</a>
|
||||
<a href="./assets/pdf/xrpl-sustainability-methodology-2020.pdf" target="_blank" class="text-white arrow-link bold mt-4 d-block">{% trans %}Learn more about the methodology{% endtrans %}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user