Skip to content

Commit

Permalink
ICO page
Browse files Browse the repository at this point in the history
  • Loading branch information
Affolter Matias committed Apr 25, 2024
1 parent a133e3a commit 2010e39
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
8 changes: 4 additions & 4 deletions service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ var LOAD_FILES_USEFUL = ["/src/fonts/normative/index.css"].concat(["illusion.jpg
var LOAD_FILES_STATIC = ["sfx/md/hero_decorative-celebration-02", "sfx/md/navigation_selection-complete-celebration", "sfx/md/navigation_transition-left", "sfx/md/state-change_confirm-down", "sfx/md/ui_lock", "sfx/md/ui_unlock", "sfx/md/ui_scan", "sfx/md/alert_high-intensity", "sfx/md/navigation_transition-right", "voice/cn/accessing_memory", "voice/cn/complete", "voice/cn/please_wait", "voice/cn/data_upload", "voice/cn/processing", "voice/cn/enhanced", "voice/cn/rewriting_deep_layer_protocols", "voice/cn/vision_activated", "voice/cn/vision_deactivated", "voice/cn/filtering", "music/redeclipse/track_09"].map(F_SND).concat(["presentation", "tutorial", "create", "enhanced", "pixelated", "upload", "share1", "joke1", "create", "enhanced", "pixelated", "presentation", "presentation2", "sponsors", "tutorial", "upload", "labintro", "share2", "share3", "share4", "share5", "share6", "share7", "joke2", "joke3", "joke4", "joke5", "joke6", "joke7", "joke8", "joke9", "joke10", "joke11"].map(F_VID));

// Cache names
var REQUIRED_CACHE = "unless-update-cache-v1006-required";
var USEFUL_CACHE = "unless-update-cache-v1006-useful";
var STATIC_CACHE = "unless-update-cache-v1006-static";
var OTHER_CACHE = "unless-update-cache-v1006-other";
var REQUIRED_CACHE = "unless-update-cache-v1007-required";
var USEFUL_CACHE = "unless-update-cache-v1007-useful";
var STATIC_CACHE = "unless-update-cache-v1007-static";
var OTHER_CACHE = "unless-update-cache-v1007-other";

// Regular expressions for chunk matching
var MAIN_CHILD_CHUNK_REGEX = /chunk_(main_[a-z0-9]+)\.min\.js$/i;
Expand Down
10 changes: 10 additions & 0 deletions src/js/pages/Marketplace.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/js/pages/ico.js
Original file line number Diff line number Diff line change
Expand Up @@ -346,13 +346,13 @@ class Marketplace extends React.Component {
fetch("https://openfund.com/api/v0/funding-rounds?username=Pixagram").then((result) => {
result.text().then((text) => {
var amountRaisedUSD = 0.0;
var amountToRaiseUSD = 0.0;
var amountToRaiseUSD = 60000.0;
var roundNames = [];
JSON.parse(text).forEach((obj) => {
console.log(obj)
roundNames.push(obj.RoundName);
amountRaisedUSD += obj.AmountRaisedUSDCents / 100;
amountToRaiseUSD += obj.AmountToRaiseUsdCents / 100;
//amountToRaiseUSD += obj.AmountToRaiseUsdCents / 100;
});

this.setState({amountRaisedUSD, amountToRaiseUSD, roundNames}, () => {
Expand Down

0 comments on commit 2010e39

Please sign in to comment.