Skip to content

Commit e4aafaa

Browse files
committed
Increase donation target
Arbitrary number - actual targets are on opencollective
1 parent 974ff04 commit e4aafaa

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

website/assets/js/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130

131131
fetch('https://opencollective.com/opensourcebim.json').then(r => r.json()).then(d => {
132132
let monthly = d.yearlyIncome / 12 / 100.;
133-
let percentage = monthly / 2500 * 100;
133+
let percentage = monthly / 5000 * 100;
134134
var amountRaisedElements = document.getElementsByClassName('amount-raised');
135135
for (var i = 0; i < amountRaisedElements.length; i++) {
136136
amountRaisedElements[i].textContent = '$' + monthly.toFixed(0);

website/templates/download.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ <h3> Bonsai is made possible by you </h3>
6262
<span class="border-1">
6363
<span class="border-2 width-50"></span>
6464
</span>
65-
<span class="first-text"> <strong class="amount-raised">$</strong> raised of <strong>$2,500</strong> goal per month </span>
65+
<span class="first-text"> <strong class="amount-raised">$</strong> raised of <strong>$5,000</strong> goal per month </span>
6666
</p>
6767
</div>
6868
</div>

website/templates/header.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
</ul>
7373
<div class="menu-right-options ms-auto">
7474
<p>
75-
<strong class="amount-raised" style="margin-right: 5px;">$</strong> / $2,500 funded
75+
<strong class="amount-raised" style="margin-right: 5px;">$</strong> / $5,000 funded
7676
<a href="https://opencollective.com/opensourcebim">
7777
<span class="border-1">
7878
<span class="progress-bar" id="progress-bar" data-status="0%" aria-label="Progress bar."></span>

0 commit comments

Comments
 (0)