diff --git a/assets/illustrations/buy-colored.svg b/assets/illustrations/buy-colored.svg new file mode 100644 index 0000000..042fb69 --- /dev/null +++ b/assets/illustrations/buy-colored.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/illustrations/performance-colored.svg b/assets/illustrations/performance-colored.svg new file mode 100644 index 0000000..9d3ad64 --- /dev/null +++ b/assets/illustrations/performance-colored.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/illustrations/product-colored.svg b/assets/illustrations/product-colored.svg new file mode 100644 index 0000000..8a02c39 --- /dev/null +++ b/assets/illustrations/product-colored.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/bitcoinbonds.html b/bitcoinbonds.html index 030a0c2..46e4680 100644 --- a/bitcoinbonds.html +++ b/bitcoinbonds.html @@ -47,43 +47,46 @@
- - + --> -
-
+
+
+

Bitcoin Bonds

+

How does it work?

+

+ Bondholders get a minimum guarantee of 13% interest per annum during the lock-in period or 50% of all Bitcoin price gains whichever is higher. + It offers full capital protection if Bitcoin prices fall below acquisition price. +

+
-

Bitcoin Bonds

-

How does it work?

-

- Bondholders get a minimum guarantee of 13% interest per annum during the lock-in period or 50% of all Bitcoin price gains whichever is higher. - It offers full capital protection if Bitcoin prices fall below acquisition price. -

Rooms

@@ -93,7 +96,6 @@
-

Performance

@@ -106,7 +108,6 @@
-

Buy

@@ -121,7 +122,8 @@

- - + --> -
-
+
+
+

Bob's Fund

+

+ Bobs Fund is a 20 year long term Bitcoin price linked product. Investors are entitled to 100 percent + of Bitcoin price gains, but they most hold for 20 years. Over a very long time period, investor returns + on an asset like Bitcoin should outstrip returns on conventional assets like real estate and stocks. The + management fees on this product is zero. RanchiMall earns by having invested an equal amount as + every investor, thus the interests of fund manager, and fund investors are totally aligned. +

+
-

Bob's Fund

-

- Bobs Fund is a 20 year long term Bitcoin price linked product. Investors are entitled to 100 percent - of Bitcoin price gains, but they most hold for 20 years. Over a very long time period, investor returns - on an asset like Bitcoin should outstrip returns on conventional assets like real estate and stocks. The - management fees on this product is zero. RanchiMall earns by having invested an equal amount as - every investor, thus the interests of fund manager, and fund investors are totally aligned. -

Rooms

@@ -124,7 +127,8 @@

+

+ -
-

Product

-

- Please refer to the whitepaper here for detailed terms. - RanchiMall Initial Coin Offering (ICO) abides by the terms we offered in our ICO whitepaper available - at link above. We have made certain changes in our terms as our learning has improved. All - these changes are to support the interests of our long term investors. -

-

Summary of changes over white paper

-
    -
  1. -

    - RanchiMall Tokens (RMT) now own the financial gains emerging from all our blockchain contracts -

    -
  2. -
  3. -

    - RanchiMall FZE has been withdrawn as an asset in view of high holding costs -

    -
  4. -
  5. -

    - Number of phase have been paused at 2 instead of 14 as initially envisioned -

    -
  6. -
  7. -

    - Number of RMTs tokens in circulation has been paused to - 10000 instead of a release schedule of 21 million in 3 years. The un-issued tokens will stay vested - with the Founder of RanchiMall. -

    -
  8. -
  9. -

    - The price discovery during active phase has been USD 1500 per - token giving RMTs in circulation a valuation of 150 million USD. Unless this price is realised in open - makets on sustainable basis, new tokens will not be put in circulation. -

    -
  10. -
-
-
-

Purchase

-

- Currently we are not selling any RanchiMall Tokens (RMT). You can buy nominal tokens at - our last valuation in our exchange for USD 10 or Rs 500 if you want to become a - tokenholder, and be part of the learning process through our community. Our rules are designed to - favour long term investors. -
Once you initiate a tokenholder relationship, please be patient to stay the - whole course of journey. You will not regret it. -

-
- - + +
diff --git a/js/index.js b/js/index.js index b9b702c..97c09ea 100644 --- a/js/index.js +++ b/js/index.js @@ -46,10 +46,19 @@ if (themeSwitcher) { if (localStorage.theme === "dark") { nightlight(); themeSwitcher.checked = true; - } else { + } else if (localStorage.theme === "light"){ daylight(); themeSwitcher.checked = false; } + else { + if (window.matchMedia(`(prefers-color-scheme: dark)`).matches) { + nightlight(); + themeSwitcher.checked = true; + } else { + daylight(); + themeSwitcher.checked = false; + } + } function daylight() { document.body.setAttribute("data-theme", "light"); @@ -139,15 +148,7 @@ function getFormatedTime(time, relative) { finalHours = hours >= 12 ? `${finalHours} PM` : `${finalHours} AM`; if (relative) { - if (year == currentYear) { - if (currentTime[1] === month) { - const dateDiff = parseInt(currentTime[2]) - parseInt(date); - if (dateDiff === 0) return `${finalHours}`; - else if (dateDiff === 1) return `Yesterday`; - else if (dateDiff > 1 && dateDiff < 8) return currentTime[0]; - else return ` ${date} ${month}`; - } else return ` ${date} ${month}`; - } else return `${month} ${year}`; + return `${date} ${month} ${year}`; } else return `${finalHours} ${month} ${date} ${year}`; } catch (e) { console.error(e); @@ -256,13 +257,13 @@ const siteMap = [ isSold: true, buyUrl: `purchase_room` }, - /* { - name: "Initial Coin Offering", - url: "ico", - brief: `The Initial Coin Offering (ICO) of RanchiMall was launched in 2017. It was envisioned to sell 21 million tokens over 14 phases over 3 years.`, - isSold: true, - buyUrl: `purchase_room` - }, */ +/* { + name: "Initial Coin Offering", + url: "ico", + brief: `The Initial Coin Offering (ICO) of RanchiMall was launched in 2017. It was envisioned to sell 21 million tokens over 14 phases over 3 years.`, + isSold: true, + buyUrl: `purchase_room` + }, */ ], }, /* { @@ -359,15 +360,22 @@ bitBondRowTemplate.innerHTML = `
Series

-
-
Current value
-

-
- - - +
+
+
Invested
+

$100

+
+
+
Current value
+

+
+ + + +
+
` @@ -375,7 +383,8 @@ const bobsFundRowTemplate = document.createElement('template') bobsFundRowTemplate.innerHTML = `
-

+
FLO ID
+

@@ -389,7 +398,7 @@ bobsFundRowTemplate.innerHTML = ` -
+
@@ -434,9 +443,9 @@ const render = { return row; }, bobFundRow(obj) { - const { investorName, invested, currentValue, timeElapsed, gain } = obj; + const { investorName, invested, floId, currentValue, timeElapsed, gain } = obj; const row = bobsFundRowTemplate.content.cloneNode(true); - row.querySelector(".person__name").textContent = investorName; + row.querySelector(".person__name").textContent = floId; row.querySelector(".original-value").textContent = `${invested.toLocaleString(`en-IN`, { style: 'currency', currency: 'INR' })}`; row.querySelector(".current-value").textContent = `${currentValue.toLocaleString(`en-IN`, { style: 'currency', currency: 'INR' })}`; row.querySelector(".percent-gain").textContent = `${gain}%`; @@ -768,7 +777,9 @@ function renderFloorOutlets(floorObj, activeOutlet) { break } } - document.querySelector('.outlet-label__name').textContent = floorNum > -1 ? `Floor ${floorNum + 1} outlet ${outletNum + 1}` : '' + // document.querySelector('.outlet-label__name').textContent = floorNum > -1 ? `Floor ${floorNum + 1} outlet ${outletNum + 1}` : '' + document.querySelector('.outlet-label__no').textContent = outletNum + 1 + document.querySelector('.outlet-label__no').dataset.number = outletNum + 1 if (outlets[outletNum].hasOwnProperty('status')) { getRef('main_header').after(render.statusBanner(outlets[outletNum].status)) }