Note: you might want to read the readme file first.
Please try to follow Airbnb naming conventions and other style guidelines for JavaScript and React.
We use CSS modules for styling. Stylesheet file should be named as the corresponding component. All presets are already set in webpack configuration file.
We use storybook to see some components in action before inserting them into actual pages. To run the storybook execute npm run sb
. Story files are stored inside src/stories folder
- src\components. React components source code (no surprises 😃). Subfolders:
- \base. Top level website layout related components
- \common. General purpose utility components
- \contract. Everything related to smart contract's parts display
- \info. Information 'static text' components, like in About page. To be removed!
- \settings. Components for displaying website settings
- src\scripts. This contains non-React Javascript files.
- src\stories. Story files for storybook.
- src\stubs. Data that was used to test some parts of website during development.
Please use Issues section of the repository to report issues or suggest new features and improvements.
If you have any questions regarding the contributing process, please feel free to write directly to contact@justsmartcontracts.dev.