Skip to content

Commit

Permalink
Problem: No ICO Details page (issue fractalide#188)
Browse files Browse the repository at this point in the history
Solution: Add ICO Details page.
  • Loading branch information
miguelsimoni committed Sep 9, 2018
1 parent 4c4e642 commit 1bc2bf4
Show file tree
Hide file tree
Showing 5 changed files with 200 additions and 6 deletions.
1 change: 1 addition & 0 deletions conf.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ rec {
lib.font-awesome = { enable = true; version = "4.7.0"; };
lib.googlefonts = [ "Nunito+Sans:400,900" ];
lib.jquery = { enable = true; version = "3.1.1"; };
lib.mathjax = { enable = true; version = "2.7.5"; };
};
}
161 changes: 161 additions & 0 deletions content/ico/details.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,161 @@
<div class="container">
<div class="row">
<div class="col-md-offset-2 col-md-8 col-sm-offset-2 col-sm-8 col-xs-offset-1 col-xs-10">
<div class="panel panel-default">
<div class="panel-body text-center">
<h2 class="sub_heading_blue">Token Details</h2>
</div>
<div class="panel-body">
<div class="row">
<div class="col-md-offset-1 col-md-5 col-xs-12">
<p>
<b>Currency name:</b> LUCEO
</p>
<p>
<b>Currency ticker symbol:</b> CEO
</p>
<p>
<b>Currency type:</b> Utility coin used in Fractalide marketplace (Fractalmarket).
</p>
<p>
<b>Total supply:</b> 45 Billion CEO
</p>
<p>
<b>Amount for sale:</b> 850 Million CEO
</p>
<p>
<b>Sales target:</b> USD $20 Million
</p>
<p>
<b>Private sale duration:</b> 41 epochs (~6.5 months)
</p>
</div>
<div class="col-md-5 col-xs-12 light_blue_box">
<p>
<b>Price:</b> Starting at 75% discount at first epoch to 0% discount at last epoch 1 ADA buys 1 LUCEO.
</p>
<p>
$$p = x \cdot 0.01 \cdot 100 - d + {e \over (n - 1)} \cdot d$$
</p>
<p>
<b>x</b> = exchange rate of 1 ADA in final epoch
<br/>
<b>d</b> = initial discount of 75%
<br/>
<b>n</b> = 41 epochs to complete presale
<br/>
<b>e</b> = epoch to query for ADA price (p)
<br/>
<b>p</b> = ADA price at queried epoch (e)
</p>
</div>
</div>
<div class="panel-body">
<div class="col-md-offset-3 col-md-6 col-xs-offset-1 col-xs-10">
<a class="btn btn-lg btn-default btn-block" href="#">Download whitepaper</a>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-offset-2 col-md-8 col-sm-offset-2 col-sm-8 col-xs-offset-1 col-xs-10">
<div class="panel panel-default">
<div class="panel-body text-center">
<h2 class="sub_heading_blue">If you wish to participate in the ICO please agree to these points and solve a small mathematical problem.</h2>
</div>
<div class="panel-body">
<div class="row">
<div class="col-md-1 col-xs-1 text-right">
<input type="checkbox" />
</div>
<div class="col-md-11 col-xs-11">
<p>
I agree Fractalide won't issue a presale private key to me and that my ADA private key will be the private key on the new LUCEO network when it's launched.
</p>
</div>
</div>
<div class="row">
<div class="col-md-1 col-xs-1 text-right">
<input type="checkbox" />
</div>
<div class="col-md-11 col-xs-11">
<p>
I agree that if I delete the ADA private key used to participate in the LUCEO presale I will not be able to claim my LUCEO coin.
</p>
</div>
</div>
<div class="row">
<div class="col-md-1 col-xs-1 text-right">
<input type="checkbox" />
</div>
<div class="col-md-11 col-xs-11">
<p>
I agree that my ADA public address will be included in the new LUCEO genesis block only if a transaction from my ADA address to the ADA presale address is found on the ADA blockchain during specific epochs.
</p>
</div>
</div>
<div class="row">
<div class="col-md-1 col-xs-1 text-right">
<input type="checkbox" />
</div>
<div class="col-md-11 col-xs-11">
<p>
I agree that I will need to import my ADA private key to access my LUCEO coin when the LUCEO mainnet is launched (Q1~Q2 2019).
</p>
</div>
</div>
<div class="row">
<div class="col-md-1 col-xs-1 text-right">
<input type="checkbox" />
</div>
<div class="col-md-11 col-xs-11">
<p>
I agree NOT to send ADA from an exchange or any other firm, because I do not control that ADA private key as that firm holds my ADA on my behalf. The exchange/firm will then be credited with my LUCEO and I will never be able to claim my LUCEO in this case.
</p>
</div>
</div>
<div class="row">
<div class="col-md-1 col-xs-1 text-right">
<input type="checkbox" />
</div>
<div class="col-md-11 col-xs-11">
<p>
I agree I will only send ADA from an account I own and control the private key to.
</p>
</div>
</div>
<div class="row">
<div class="col-md-1 col-xs-1 text-right">
<input type="checkbox" />
</div>
<div class="col-md-11 col-xs-11">
<p>
I understand there is no KYC/AML requirement in this presale.
</p>
</div>
</div>
</div>
<div class="panel-body text-center">
<div class="light_blue_box">
<h2 class="sub_heading_blue">What is the ADA price (p) of 1 LUCEO at epoch 38 (e)?</h2>
<input type="text" />
</div>
</div>
<div class="panel-body">
<div class="row">
<div class="col-md-12 col-xs-12">
Please make sure that you've checked all the checkboxes above and answered the challenge question correctly before submitting this form to get the ADA presale address.
</div>
</div>
<div class="row">
<div class="col-md-offset-3 col-md-6 col-xs-offset-1 col-xs-10">
<button class="btn btn-lg btn-default btn-block" type="submit">Submit</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
9 changes: 9 additions & 0 deletions site.nix
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,15 @@ rec {
footer = "";
};

ico_detail = rec {
title = "";
section = "ico-details";
path = "/ico/details/index.html";
template = templates.page.full;
layout = templates.layout;
content = (lib.loadFile { file = ./content/ico/details.md; }).content;
};

};


Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 29 additions & 6 deletions themes/fractalide/files/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -818,14 +818,14 @@ section#hyperflow_modes > div.container > div.row:nth-child(2) {



/*************/
/* Page: ICO */
/*************/
/*******************/
/* Page: ICO Comic */
/*******************/
section#ico h1.fractal_white {
background: url('/img/comic/sword-hero-min.png') no-repeat center;
background: url('/img/comic/sword-hero-min.png') no-repeat bottom;
background-size: 437px 190px;
height: 190px;
padding-top: 75px;
height: 270px;
padding-top: 0px;
margin-bottom: 80px;
}

Expand Down Expand Up @@ -898,3 +898,26 @@ section#ico h1.fractal_white {
margin-bottom: -180px;
}
}



/*********************/
/* Page: ICO Details */
/*********************/
section#ico-details h1.fractal_white {
background: url('/img/comic/coin-min.png') no-repeat center;
background-size: 437px 190px;
height: 190px;
padding-top: 75px;
margin-bottom: 80px;
}

.ico-details-background {
background-color: #a7ddec;
/*gradient to: #58b4cd;*/
}

.light_blue_box {
background-color: #E8F7FA;
padding: 30px;
}

0 comments on commit 1bc2bf4

Please # to comment.