@aravindbairwa/zeroxpasshomepage
v0.1.0
Published
Go into the folder of the project, use `npm i` or `yarn` to build the node modules. Start the dev server using `npm start` or `yarn start`
Downloads
2
Readme
Go into the folder of the project, use npm i
or yarn
to build the node modules.
Start the dev server using npm start
or yarn start
You will Find -
- A gsap animation for the brand Logo,
- ModalTrigger Component, below the logo, capaple of taking and modal and displaying it in the center of the page.
- The Modal component itself, which can be close by the X button, clicking outside the modal area/on the backdrop, and by escape key on the keyboard.
- If you dont have Metamask extension, you are taken to the page to install it, once the user installs/create an account, they can login.
- On Open modal trigger, the user will get a prompt to either connect to metamask if not already connected - or - to switch to polygon network if connected
- The UI for the token transfer is quite similar to the uniswap's, and you will understand why when you see the code :P.
- I've focused on the UI and not so much on getting the users assets details and building the swap functionality.
- I have created a I have not written tests, ive been working with extremely young start upsin the last few years, and inm not hand on on writing tests unfortunately.LineStatus component as well but didnt wire it completely die to lack of time, i will neeed to debug a bit for that.
- I created the ModalManager component assuming the bare basic requirements, please let me know if you wanted a specific case, that i have missed. I will update the code. In previous organisations where i had to manage multiple modals on different pages, i had used local storage to track the modals states.
- Ive updated the favicon, to a logo from google, and added a random header for the page for now.
- I have used typescript
- I have used TailwindCSS
- I WAS NOT ABLE TO WRITE TESTS | NOT HANDS-ON | LAST TEST I WROTE WAS IN 2020 | SORRY | CAN REVISE IT QUICKLY THOUGH.
- I will be deploying this via github.
- I wanted to create a lot of code into custom hooks eg, global keyboard and mouse events.
- I will soon add the npm package of this test and updated the readme again.
Thankyou