Giter VIP home page Giter VIP logo

polkadex-business-website's Introduction

Polkadex Business Website

An open-source repository for the Polkadex Business Website front end interface maintained by Polkadex Inc.

Polkadex is a fully non-custodial peer-to-peer orderbook-based cryptocurrency exchange for the DeFi ecosystem built on Substrate.

Interface

Web: polkadex.trade

Directory Structure

Folder Contents
src/components All UI components used in this application.
src/data Manual data related to the old crowdloans.
src/hooks All React hooks used in this application.
src/translations Translation files for internationalization purposes.
src/providers Context providers for managing global state and side effects.
src/pages All individual page components for the application.
src/styles Global styles and styles for older pages.
src/utils Utility functions and tools used in the migration page and other features.

Running the Interface Locally

yarn
yarn dev

Open http://localhost:3000 with your browser to see the result.

Social Media

Polkadex Links:

polkadex-business-website's People

Contributors

minikas avatar gauthamastro avatar charleslukes avatar nuel77 avatar dependabot[bot] avatar ruchiray avatar simonsso avatar rudardaman avatar frankli-dev avatar ap211unitech avatar caelumf avatar arrudagates avatar itsitesdev avatar

Stargazers

 avatar

Watchers

 avatar  avatar

polkadex-business-website's Issues

Crowndloans rewards find page

Description

We need to create a Crowndloans rewards find page based on the provided Figma design. The design includes a search bar with three integrated functions: automatic search based on the wallet address, delete, and paste. Additionally, it has two states: 1) when the provided wallet did not contribute to Polkadex Crowndloans, and 2) when the provided wallet did contribute to Polkadex Crowndloans.

In addition to the search bar, this page contains a table that retrieves data from a CSV file.

One of the key requirements for this page is to implement a 3D interaction functionality with spline.

Please refer to the Figma design for visual details and make sure to integrate the search functionality, handle the different states based on wallet contributions, and incorporate the CSV data into the table.

Expected Deliverables:

  • Crowndloans rewards find page matching the Figma design.
  • Search functionality integrated with automatic search, delete, and paste functions.
  • Two states reflecting whether the provided wallet contributed to Polkadex Crowndloans or not.
  • Table displaying data retrieved from the CSV file.
  • 3D interaction functionality with spline as per requirements.

Assets:

  1. Prototype
  2. Spline 3D Model

Screnshots

Screenshot 2023-05-16 at 06 46 09
Screenshot 2023-05-16 at 06 46 57
Screenshot 2023-05-16 at 06 47 55
Screenshot 2023-05-16 at 06 48 13

Cleaning crowdloan contribution data

Description

  • We have received the crowdloan data from multiple places , from exchanges , partners, etc.
  • All this data is in different file and there are duplicate data as well.
  • Some of the parameters are also missing

Task

  • Merge the duplicate entries into one
  • Combine all the files into one
  • Calculate and add other parameters

Sheet

crowdloan1.csv

final sheet

finalCrowdloan.csv

Simple Staking Pop-up on corwdloan rewards page

User Story:

  • In the current rewards page UI, upon clicking the 'How to Stake' button, the users are redirected to the 'Staking' page on our website
  • Instead it should display a pop-up with a simple 4-5 step process to stake rather than bombarding the users with all the staking information. Please see the steps below. @pdexpab please proof read. Once done, @minikas please add the pop-up:
  1. Upon the initial claim, the whole rewards earned by the users will be directly transferred to their addresses
    and will be locked.
  2. The users can transfer the unlocked rewards up until that point in time. The rest of the rewards will remain locked in the user account. But the users can stake both the transferable/locked tokens to earn more rewards.
  3. To stake as a nominator: link
  4. To stake as a validator: link

How to stake enhancements

This Issue aims to improve "How to Stake" section in rewards page. There are three specific areas of improvement identified:

  • How to stake scroll interaction: The current behaviour of the "How to Stake" button requires enhancement. Currently, when a user clicks on the button,

  • New Interaction After Reward Claim: After a user claims their rewards, there is a need to provide them with a clear indication or redirect to the "How to Stake" section. This will help users understand the next steps and encourage them to explore the staking process further. One suggestion is to consider integrating a tour guide or highlighting the relevant section to draw attention.

  • Validate Intro on Unlock Rewards: Currently, it is necessary to ensure that the introduction or onboarding process is still presented to the user after they click the "Unlock Rewards" button.

Prepare Repository for Public Release

Polkadex plans to make this repository public. To achieve this, the following actions are needed:

  • Completely remove the teams page, which contains images of some Polkadex collaborators.
  • Update the README document with the latest instructions.
  • Update several images on the website that currently depict the previous version of Orderbook.

Rewards improvements

  • Add component/message when there are no available accounts (empty array) in the dropdown.
    Screenshot 2023-02-28 at 08 42 00

  • Add a component/message that indicates that the Polkadot.js extension is not installed (hide dropdown if Polkdot.js extension is not installed) - Test in Safari browser.
    Screenshot 2023-02-28 at 08 42 20

  • Add a table component with the following information
    header :'AccountID', 'ParaID', 'Amount', 'Block num'
    content: fake data
    Screenshot 2023-02-28 at 08 45 34

Page: /rewards
Base Branch: integrate-crownloan
Clone and PR to 91

Crowdloans Page

Currently, the Crowdloans page is being reused, but specific modifications are needed according to the provided prototype.

Prototype

Prototype link

Preview

Crowdloan CTA Page 1

Feature native PDEX on website

We currently only have the ERC-20 contract address for PDEX on our website. Can we also add a link to subscan for native PDEX and feature it prominently since we are phasing out use of ERC-20 PDEX?

image

Rewards page redesign

Our current Rewards page needs a revamp to make it more user-friendly and to encourage users to invest their rewards in staking. We propose a redesign that will streamline the interface, making it easier for users to understand how to claim their rewards. Additionally, we suggest adding prominent calls to action to promote the benefits of staking. By implementing these changes, we aim to increase engagement with our rewards program.

Features:
-[ ] Notification handler

Before After
Claim Rewards Claim Rewards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.