forked from nexxtway/rainbow-modules
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add Getting Started documentation section (nexxtway#77)
* feat: add getting started section * fix: move packages stories to `modules` section * fix: fix example urls in cypress integration tests * fix: fix `Usage` section example * fix: fix sections content * docs: fix documentation * fix: details Co-authored-by: Tahimi <[email protected]> Co-authored-by: TahimiLeonBravo <[email protected]>
- Loading branch information
1 parent
d520e26
commit 9a3932a
Showing
53 changed files
with
569 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
import { Meta } from '@storybook/addon-docs/blocks'; | ||
import './css/global.css'; | ||
import logo from './assets/rainbow-modules-logo.svg'; | ||
import puzzle from './assets/puzzle.svg'; | ||
import accesibility from './assets/accesibility.svg'; | ||
import translation from './assets/translation.svg'; | ||
|
||
<Meta title="Introduction|Getting Started/Overview" /> | ||
|
||
<div> | ||
<h1 class="page-title"> | ||
<img src={logo} width="65px" /> | ||
<span>rainbow-modules</span> | ||
</h1> | ||
</div> | ||
|
||
Rainbow Modules includes a collection of components, fully integrated with [Firebase](https://firebase.google.com/), that will help you to build apps. Give it a hack and let us know what you think. | ||
|
||
<div align="center"> | ||
|
||
[](#) | ||
[](#) | ||
[](#) | ||
[](#) | ||
|
||
</div> | ||
|
||
## Installing from npm | ||
|
||
Rainbow modules are available as individual [npm packages](https://www.npmjs.com/search?q=@rainbow-modules). | ||
|
||
```bash | ||
// with npm | ||
$ npm install @rainbow-modules/<module> --save | ||
|
||
// or yarn | ||
$ yarn add @rainbow-modules/<module> | ||
``` | ||
|
||
## Available Modules | ||
|
||
- **@rainbow-modules/app**: is the main package. It contains components and helpers to build your apps. | ||
- **@rainbow-modules/auth**: components for authentication purposes. | ||
- **@rainbow-modules/hooks**: useful hooks for your components. | ||
- **@rainbow-modules/validation**: a set of valitators for your forms. | ||
- **@rainbow-modules/listview**: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import { Meta, Preview } from '@storybook/addon-docs/blocks'; | ||
import { RainbowFirebaseApp } from '@rainbow-modules/app'; | ||
import { EmailPasswordSignUpForm } from '@rainbow-modules/auth'; | ||
import { Container, Title, StyledCard } from './example'; | ||
import { RainbowLogo } from '../packages/icons/src'; | ||
import './css/global.css'; | ||
|
||
<Meta title="Introduction|Getting Started/Usage" /> | ||
|
||
# Usage | ||
|
||
Rainbow Modules is very simple and easy to use. Explore each module's documentation and play with examples. | ||
|
||
## Using rainbow-modules in your web app | ||
|
||
It’s easy to incorporate rainbow-modules into your web page. There are several | ||
runnable examples in this Git repo, but here's a small example: | ||
|
||
<Preview> | ||
<RainbowFirebaseApp> | ||
<Container> | ||
<RainbowLogo /> | ||
<Title>rainbow-modules</Title> | ||
<StyledCard> | ||
<EmailPasswordSignUpForm /> | ||
</StyledCard> | ||
</Container> | ||
</RainbowFirebaseApp> | ||
</Preview> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
import { Meta } from '@storybook/addon-docs/blocks'; | ||
import './css/global.css'; | ||
|
||
<Meta title="Introduction|Getting Started/Contributing" /> | ||
|
||
# Contributing | ||
|
||
We are excited that you are interested in contributing to this project! | ||
|
||
## Get your git on | ||
|
||
You can help us improve _rainbow-modules_, the first step to begin | ||
collaborating is to create an issue before submitting a pull request, | ||
it's always good to file an issue, so we can discuss the details of | ||
your approach or suggestion. | ||
|
||
[Create an Issue Here.](https://github.com/nexxtway/rainbow-modules/issues/new/choose) | ||
|
||
## Discussions | ||
|
||
While using our components on your project and/or collaborating with | ||
the development of any of the rainbow-modules, you have | ||
suggestions for improvements, implementation questions, or any issues | ||
that may merit discussion. We recommend creating a “Discussions” | ||
issue type in Github. | ||
|
||
[Create an Discussion Here.](https://github.com/nexxtway/rainbow-modules/issues/new?assignees=&labels=discussion&template=discussion.md&title=) | ||
|
||
## Start contributing | ||
|
||
Feel free to contribute in rainbow-modules available in our repository in | ||
github. Pull requests are very welcome, but should be within the scope of the | ||
project. Before making your contribution go through the following steps: | ||
|
||
1. Fork the Rainbow Modules repository on Github. | ||
2. Clone your fork to your local machine git clone [email protected]:[yourname]/rainbow-modules.git | ||
3. Create a branch git checkout -b my-topic-branch | ||
4. Make your changes, lint, then push to GitHub with git push origin my-topic-branch | ||
5. Visit GitHub and make your pull request. | ||
|
||
[See more details about how to collaborate?](https://github.com/nexxtway/react-modules/blob/master/CONTRIBUTING.md) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.