mirror of
https://github.com/seigler/dash-website
synced 2025-07-27 07:16:10 +00:00
Replaced spinning globe with static image.
This commit is contained in:
parent
1da3f43370
commit
a60cf0fc6c
2 changed files with 11 additions and 50 deletions
BIN
assets/img/home/globe.png
Normal file
BIN
assets/img/home/globe.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 310 KiB |
59
index.html
59
index.html
|
@ -186,7 +186,7 @@ description: pages.home.description
|
|||
|
||||
<div>
|
||||
<a href="/merchants/" class="btn-blue">{% t pages.home.merchants-btn %}</a>
|
||||
<a href="{% t pages.home.merchants-join-link %}" target="_blank" class="btn-blue">{% t pages.home.merchants-join-btn %}</a>
|
||||
<a href="{% t pages.home.merchants-link %}" class="btn-blue">{% t pages.home.merchants-join-btn %}</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
@ -223,34 +223,18 @@ description: pages.home.description
|
|||
<section class="section--masternode">
|
||||
<div class="content">
|
||||
<div class="row">
|
||||
<div class="col-sm-6 globe-text-container">
|
||||
<div class="col-sm-6">
|
||||
<h2>{% t pages.home.architecture-heading %}</h2>
|
||||
|
||||
{% tmd pages.home.architecture-text %}
|
||||
|
||||
<a href="{% t pages.home.architecture-link %}" target="_blank" class="btn-blue">{% t pages.home.architecture-btn %}</a>
|
||||
<a href="{% t pages.home.architecture-link %}" class="btn-blue">{% t pages.home.architecture-btn %}</a>
|
||||
</div>
|
||||
<div class="col-sm-6 home-architecture-graphic">
|
||||
<img src="/assets/img/home/globe.png" alt="{% t pages.home.architecture-heading %}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="globecontainer" data-js-masternode-globe></div>
|
||||
<script type="text/javascript" src="/assets/js/dash-masternode-globe.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
if (!DashGlobe.Detector.webgl) {
|
||||
var el = document.querySelectorAll('[data-js-masternode-globe]')[0];
|
||||
el.className = el.className + ' no-webgl';
|
||||
} else {
|
||||
window.globe = new DashGlobe({
|
||||
container: document.querySelectorAll('[data-js-masternode-globe]')[0],
|
||||
imgDir: '/assets/img/',
|
||||
url: '/assets/mn_locations.tsv',
|
||||
cameraOffset: { x: 0, y: 170, z: 0 },
|
||||
initialZoom: 450,
|
||||
barColor: 0xddddddff
|
||||
});
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</section>
|
||||
|
||||
<!--
|
||||
|
@ -264,9 +248,9 @@ description: pages.home.description
|
|||
|
||||
{% tmd pages.home.governance-text %}
|
||||
|
||||
<a href="http://dashvotetracker.com/" target="_blank" class="btn-blue">{% t pages.home.proposal-btn %}</a>
|
||||
<a href="http://dashvotetracker.com/" class="btn-blue">{% t pages.home.proposal-btn %}</a>
|
||||
|
||||
<a href="https://dashcentral.org/" target="_blank" class="btn-blue">{% t pages.home.proposal-submit-btn %}</a>
|
||||
<a href="https://dashcentral.org/" class="btn-blue">{% t pages.home.proposal-submit-btn %}</a>
|
||||
</div>
|
||||
<div class="col-sm-6 col-sm-pull-6 home-budgets-graphic">
|
||||
<img src="/assets/img/home/budgets.png" alt="{% t pages.home.governance-heading%}">
|
||||
|
@ -292,33 +276,10 @@ description: pages.home.description
|
|||
<img src="/assets/img/home/graph.png" alt="{% t pages.home.network-growth-heading %}">
|
||||
</div-->
|
||||
<div class="col-sm-6 home-network-graphic-live">
|
||||
<a href="http://178.254.23.111/~pub/Dash/Dash_Info.html" target="_blank">
|
||||
<img src="http://178.254.23.111/~pub/masternode_count.png" alt="{% t pages.home.network-growth-heading %}">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="globecontainer" data-js-masternode-globe></div>
|
||||
<script type="text/javascript" src="/assets/js/dash-masternode-globe.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
if (!DashGlobe.Detector.webgl) {
|
||||
var el = document.querySelectorAll('[data-js-masternode-globe]')[0];
|
||||
el.className = el.className + ' no-webgl';
|
||||
} else {
|
||||
window.globe = new DashGlobe({
|
||||
container: document.querySelectorAll('[data-js-masternode-globe]')[0],
|
||||
imgDir: '/assets/img/',
|
||||
url: '/assets/mn_locations.tsv',
|
||||
cameraOffset: { x: 0, y: 170, z: 0 },
|
||||
initialZoom: 450,
|
||||
barColor: 0xddddddff,
|
||||
mouseWheel: false
|
||||
});
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</section>
|
||||
|
||||
<!--
|
||||
|
@ -332,9 +293,9 @@ description: pages.home.description
|
|||
|
||||
{% tmd pages.home.evolution-text %}
|
||||
|
||||
<a href="{% t pages.home.evolution-link %}" target="_blank" class="btn-blue">{% t pages.home.evolution-btn %}</a>
|
||||
<a href="{% t pages.home.evolution-link %}" class="btn-blue">{% t pages.home.evolution-btn %}</a>
|
||||
</div>
|
||||
<div class="col-sm-6 col-sm-pull-6">
|
||||
<div class="col-sm-6 col-sm-pull-6 home-evolution-graphic">
|
||||
<img src="/assets/img/home/evo.png" alt="Dash Evolution">
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue