This is a Next.js project bootstrapped with create-next-app
.
- Non-page level React components and their stylesheets live here
- Common place to store general interfaces
- Components for NextJS layout pattern
- NextJS pages folder for routing, works like magic!
- Contains global CSS classes which can be used anywhere (like
.container
) - Also contains utility CSS classes like margin helpers. Created from suomifi-tokens
- Breakpoints and their helper mixins
- Misc stuff
- CSS Modules and utility classes for component styling (no CSS-in-JS)
- Use suomifi-ui-components wherever possible, even use
<Block>
instead of<div>
- Caveat: Because of styled-components specificty issues,
<div>
is preferable in high lever wrappers
- Caveat: Because of styled-components specificty issues,
Run the development server:
yarn dev
Open http://localhost:3000 with your browser