Skip to content

Commit

Permalink
e4aafaa Increase donation target
Browse files Browse the repository at this point in the history
  • Loading branch information
IfcOpenBot committed Jan 18, 2025
1 parent e5be096 commit 0043e3a
Show file tree
Hide file tree
Showing 3 changed files with 453 additions and 292 deletions.
2 changes: 1 addition & 1 deletion 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 downloads.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,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
Loading

0 comments on commit 0043e3a

Please sign in to comment.