mirror of
https://github.com/empayre/fleet.git
synced 2024-11-07 17:28:54 +00:00
3575d34507
* base logic to handle rendering a notification without redux * removed dispatches for new flash mesage triggers * query page wrapper is no longer needed * refactored confirm invite page to remove redux * refactored email token redirect to functional and typescript * refactored pack composer page to functional and typescript * clean up * lint fixes * tests no longer needed * fixed confirm sso invite test * test fix * fixed test * fixed tests * removed redux from flash on rebased pages |
||
---|---|---|
.. | ||
cards | ||
components/InfoCard | ||
_styles.scss | ||
Homepage.tsx | ||
index.jsx | ||
README.md |
Homepage Notes
The homepage is designed to contain a dynamic number of informational cards with dynamic layouts that are based on teams (if any) and device platforms (macOS, Linux, Windows).
Architecture
- Homepage Wrapper
- Components
- Cards
Hompage Wrapper
The wrapper is a minimal file that instantiates all host values, cards, and layouts based on the team and platform selected. Cards are applied in a delcarative form, as functions, rather than components inserted in standard JSX. This is to enhance legibility as the number of cards grow.
Components
Local components that needed extracting to make the code more maintainable.
Cards
Each card design is placed in this directory. We anticipate creating more as the product gets more robust.