dont call google

This commit is contained in:
Alex Grintsvayg 2016-09-02 17:15:46 -04:00
parent df4df9d759
commit 77e64f99ad
2 changed files with 1 additions and 25 deletions

View file

@ -11,10 +11,7 @@ class ContentActions extends Actions
public static function executeHome(): array
{
Response::enableHttpCache();
return ['page/home', [
'totalUSD' => CreditApi::getTotalDollarSales(),
'totalPeople' => CreditApi::getTotalPeople()
]];
return ['page/home'];
}
public static function executeFaq(): array

View file

@ -11,27 +11,6 @@
<h2 class="cover-subtitle" style="max-width: 600px; margin-left: auto; margin-right: auto">{{global.sentence}}</h2>
</div>
<?php /*
<?php $labels = [
__('making history'),
__('empowering artists'),
__('spreading knowledge'),
__('sharing sustainably'),
__('protecting speech'),
__('building tomorrow'),
__('eliminating middlemen'),
__('furthering education'),
] ?>
<?php shuffle($labels) ?>
<div class="sale-call ">
<span class="sale-call-verb"><?php echo __('Join') ?></span>
<span class="sale-call-total-people"><?php echo number_format($totalPeople) ?></span>
<span class="sale-call-prep">others in</span>
<span class="sale-ctas label-cycle" data-cycle-interval="5000">
<span class="sale-cta"><?php echo implode('</span><span class="sale-cta">', $labels) ?></span>
</span>
</div>
*/ ?>
<div class="control-group spacer2 text-center">
<div class="control-item">
<a href="/get" class="btn-primary">{{global.get}}</a>