BSA-US / dual-power-app

The Dual Power App is an app for democratic digital organizing and secure social networking that provides frameworks for the building of direct democracy in every single sphere of society, with tools for organization founding, funding, governance, and internal + external communications.
https://dualpower.app
195 stars 23 forks source link

Feature/use breakpoints hook #110

Closed cedrycm closed 2 years ago

cedrycm commented 2 years ago

This PR closes #105 by adding the useBreakpoint() hook functionality. This allows for the same windiCSS defined breakpoint keys to return a boolean attributed to the width of the corresponding element ref.

Also adds react-use package and its dependencies

vercel[bot] commented 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/blacksocialists/dual-power-app/DcsQTy6yHieB28SgpNsqauEr9Ny6
✅ Preview: https://dual-power-app-git-feature-use-breakpoints-hook-blacksocialists.vercel.app

replygirl commented 2 years ago

📝 Changed routes:

/open-design
Screenshot of /open-design
(view full size)

Commit 623b7b35e743d898864cc8934e28fbc644df28a4 (https://dual-power-app-i3dddz60v-blacksocialists.vercel.app).