diff --git a/controller/action/CreditActions.class.php b/controller/action/CreditActions.class.php index 4fe2dc3b..94692977 100644 --- a/controller/action/CreditActions.class.php +++ b/controller/action/CreditActions.class.php @@ -12,8 +12,6 @@ class CreditActions extends Actions $fundStartTime = strtotime('2015-11-15'); $daysActive = floor((time() - $fundStartTime) / (60*60*24)); return ['page/fund', [ - 'totalUSD' => CreditApi::getTotalDollarSales(), - 'totalPeople' => CreditApi::getTotalPeople(), 'creditsPerDollar' => CreditApi::getCreditsPerDollar($daysActive), 'creditsPerDollarTomorrow' => CreditApi::getCreditsPerDollar($daysActive + 1), ]]; diff --git a/view/fund/currentGoal.php b/view/fund/currentGoal.php new file mode 100644 index 00000000..64aa7201 --- /dev/null +++ b/view/fund/currentGoal.php @@ -0,0 +1,17 @@ + + +
+

+ I18n::formatCurrency($goalAmount)]) ?> + See all goals. +

+
+
+
+
+
+
+ % + funded +
+
\ No newline at end of file diff --git a/view/fund/header.php b/view/fund/header.php new file mode 100644 index 00000000..96e269cc --- /dev/null +++ b/view/fund/header.php @@ -0,0 +1,27 @@ + + +
+
+

Fund LBRY

+
+
+
+

+ + people gave + + to + + ', [ + __('build a better future'), + __('eliminate corporate middlemen'), + __('keep art alive'), + __('create a more sustainable internet'), + __('protect freedom of speech'), + __('reduce the cost of education'), + ]) ?> + +

+
+
+
\ No newline at end of file diff --git a/view/layout/basic.php b/view/layout/basic.php index cd4f8f2e..1ea50f0c 100644 --- a/view/layout/basic.php +++ b/view/layout/basic.php @@ -23,6 +23,7 @@ + diff --git a/view/nav/footer.php b/view/nav/footer.php index 9405ef50..c7cfd750 100644 --- a/view/nav/footer.php +++ b/view/nav/footer.php @@ -3,6 +3,9 @@