Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Implement ICO details page #188

Open
dapyh17d4 opened this issue Sep 2, 2018 · 3 comments
Open

Implement ICO details page #188

dapyh17d4 opened this issue Sep 2, 2018 · 3 comments
Assignees

Comments

@dapyh17d4
Copy link
Member

dapyh17d4 commented Sep 2, 2018

Version history
Version 1.0, Sep 2, 2018 Added design of the desktop and mobile versions
Version 1.1, Sep 4, 2018 Added the coin image to the pages
Version 1.2, Sep 11, 2018 Clarified the random number generation

How can users get to this page
Clicking the sword with the blue background in the ICO comic page will take the users to the ICO details page.

ICO details page design specs

  • Clicking "Download whitepaper" will start downloading the whitepaper file. (Whitepaper file to be provided by @sjmackenzie )
  • Generate a random number for e. The site's algorithm's p value should match the user's calculation of p when:
  • Clicking "Submit" will check whether the user has ticked all the checkboxes of the points and provided the correct answer to the mathematical question.
    Page background color: #a7ddec (Gradient to #58b4cd at the bottom)
    Token details light blue box color: #E8F7FA
    Checkbox (unchecked): border 1px solid #cccccc; (checked) # 58b4cd
    Text field: border 1px solid #cccccc; hint text #cccccc; text #0d3e4c
    Coin image: https://drive.google.com/open?id=1VjF1P87Zb_EdXkPvLntwo-oNOoeX_7Tu

Desktop
ico-details-02

Tablet
ico-details-tab-01

Phone
ico-details-phone-01

  • If the answer is correct and all the checkboxes are checked, show the address in a popup.
    Mathematical question light blue box color: #E8F7FA
    Clicking the X icon or outside of the popup box will close the popup.

Desktop
ico-details-address-02

Tablet
ico-details-address-tab-02

Phone
ico-details-address-phone-02

  • If the answer is wrong or not all the checkboxes are checked, show an error message and regenerate a new epoch number in the challenge question.
    Error message text color: #ed7a7f
    Missing/incorrect field highlights: 1px solid #ed7a7f

Desktop
ico-details-wrong-02

Tablet
ico-details-wrong-tab-02

Phone
ico-details-wrong-phone-02

@dapyh17d4 dapyh17d4 assigned dapyh17d4 and miguelsimoni and unassigned dapyh17d4 Sep 2, 2018
@dapyh17d4 dapyh17d4 changed the title Implement ICO detail page Implement ICO details page Sep 2, 2018
miguelsimoni added a commit to miguelsimoni/fractalide-website-styx that referenced this issue Sep 9, 2018
Solution: Add ICO Details page.
@sjmackenzie
Copy link
Member

An important point needs to be included on this page:

  • add a new checkbox item saying "I agree not to send ADA directly from a hardware wallet as I will not be able to extract the private key from the device and will never be able to clain my LUCEO."

miguelsimoni added a commit to miguelsimoni/fractalide-website-styx that referenced this issue Sep 30, 2018
…ide#188).

Solution: Add calculation for ADA price and validation for terms & conditions and user answer.
@miguelsimoni miguelsimoni mentioned this issue Sep 30, 2018
@miguelsimoni
Copy link
Member

Hi @sjmackenzie
I have a couple of questions:

  • What is the reduction factor of the discount (d)? It's something like 75/42 until reach zero?
  • Should I get the current ADA epoch value from the URL you send me a couple of weeks ago?
  • Where should I get the value of the exchange rate (x)?

Thanks in advance!

@sjmackenzie
Copy link
Member

sjmackenzie commented Sep 30, 2018

  • reduction factor: the equation is listed here: Implement ICO comic page #187 (comment) in other words it's a constant which starts at 75% discount. So you just plug in 75 and that's it. If you want a different starting discount amount say 99% discount on the first epoch then you put 99 in there.
  • Yeah it's probably better NOT to ask for the current ADA<>LUCEO exchange rate by using the current ADA epoch each time instead keep it as the randomly generated epoch between 0~41 epochs, for simplicity sake.
  • also better to print the correct message below the text box so that users can see where they went wrong and can correct for things like decimal places and rounding errors.
  • you don't need to get the value of the exchange rate (between LUCEO and ADA). You're working out the exchange rate with the above equation.

sjmackenzie pushed a commit to sjmackenzie/fractalide-website-styx that referenced this issue Nov 14, 2018
Solution: Add ICO Details page.
sjmackenzie pushed a commit to sjmackenzie/fractalide-website-styx that referenced this issue Nov 14, 2018
…ide#188).

Solution: Add calculation for ADA price and validation for terms & conditions and user answer.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants