Skip to content

defiwrapper/polyfolio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polyfolio

Live Preview

Elements -- https://polyfolio.netlify.app/elements
Connect -- https://polyfolio.netlify.app
Dashboard -- https://polyfolio.netlify.app/dashboard


Folders & Files Structure

  • public --> Main index.html file, Favicon & Crypto icons
  • src
    • assets --> Images, icons & fonts divided by types & components
    • components --> React components for elements & sections: Header, Footer, Sidebar, ...etc.
    • customHooks --> Custom react hook for stickyState in localStorage, ...
    • views --> React components for pages: connect, dashboard, ...etc.
    • App.js --> Main react app component with web3 wallet integration and routing
    • Atoms.js --> Recoil global variables for state management across different components
    • Constants.js --> Links in header, footer, social media, ...etc, & common content
    • Utils.js --> Javascript utilities & web3 functions for validation, formatting, ...etc.
    • fonts.css --> Online & offline fonts exported to Tailwind index.css
    • index.css --> Global styles, utilities & Tailwind components for buttons, inputs, ...etc.
    • index.js --> Main render file, contains all components & wrapped by Recoil state management
  • tailwind.config.js --> Extending Tailwind classes for spacing, colors, fonts, ...etc.



Run in development

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.


Build the app

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published