Skip to content

Commit

Permalink
Increase donation target
Browse files Browse the repository at this point in the history
Arbitrary number - actual targets are on opencollective
  • Loading branch information
Moult committed Jan 18, 2025
1 parent 974ff04 commit e4aafaa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion website/assets/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@

fetch('https://opencollective.com/opensourcebim.json').then(r => r.json()).then(d => {
let monthly = d.yearlyIncome / 12 / 100.;
let percentage = monthly / 2500 * 100;
let percentage = monthly / 5000 * 100;
var amountRaisedElements = document.getElementsByClassName('amount-raised');
for (var i = 0; i < amountRaisedElements.length; i++) {
amountRaisedElements[i].textContent = '$' + monthly.toFixed(0);
Expand Down
2 changes: 1 addition & 1 deletion website/templates/download.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ <h3> Bonsai is made possible by you </h3>
<span class="border-1">
<span class="border-2 width-50"></span>
</span>
<span class="first-text"> <strong class="amount-raised">$</strong> raised of <strong>$2,500</strong> goal per month </span>
<span class="first-text"> <strong class="amount-raised">$</strong> raised of <strong>$5,000</strong> goal per month </span>
</p>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion website/templates/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
</ul>
<div class="menu-right-options ms-auto">
<p>
<strong class="amount-raised" style="margin-right: 5px;">$</strong> / $2,500 funded
<strong class="amount-raised" style="margin-right: 5px;">$</strong> / $5,000 funded
<a href="https://opencollective.com/opensourcebim">
<span class="border-1">
<span class="progress-bar" id="progress-bar" data-status="0%" aria-label="Progress bar."></span>
Expand Down

0 comments on commit e4aafaa

Please sign in to comment.