Replaced spinning globe with static image.

This commit is contained in:
Perry Woodin 2016-11-14 21:05:26 -05:00
parent 1da3f43370
commit a60cf0fc6c
2 changed files with 11 additions and 50 deletions

BIN
assets/img/home/globe.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 KiB

View file

@ -186,7 +186,7 @@ description: pages.home.description
<div> <div>
<a href="/merchants/" class="btn-blue">{% t pages.home.merchants-btn %}</a> <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>
</div> </div>
</section> </section>
@ -223,34 +223,18 @@ description: pages.home.description
<section class="section--masternode"> <section class="section--masternode">
<div class="content"> <div class="content">
<div class="row"> <div class="row">
<div class="col-sm-6 globe-text-container"> <div class="col-sm-6">
<h2>{% t pages.home.architecture-heading %}</h2> <h2>{% t pages.home.architecture-heading %}</h2>
{% tmd pages.home.architecture-text %} {% 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>
</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> </section>
<!-- <!--
@ -264,9 +248,9 @@ description: pages.home.description
{% tmd pages.home.governance-text %} {% 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>
<div class="col-sm-6 col-sm-pull-6 home-budgets-graphic"> <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%}"> <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 %}"> <img src="/assets/img/home/graph.png" alt="{% t pages.home.network-growth-heading %}">
</div--> </div-->
<div class="col-sm-6 home-network-graphic-live"> <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 %}"> <img src="http://178.254.23.111/~pub/masternode_count.png" alt="{% t pages.home.network-growth-heading %}">
</a>
</div> </div>
</div> </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> </section>
<!-- <!--
@ -332,9 +293,9 @@ description: pages.home.description
{% tmd pages.home.evolution-text %} {% 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>
<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"> <img src="/assets/img/home/evo.png" alt="Dash Evolution">
</div> </div>
</div> </div>