Skip to content

Commit 4f0ed4f

Browse files
committed
Merge pull request react-bootstrap#885 from cmrnh/master
Add community resources and support page to docs
2 parents a49c485 + b252edf commit 4f0ed4f

File tree

6 files changed

+64
-4
lines changed

6 files changed

+64
-4
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ and submitting pull requests, but please respect the following restrictions:
1717

1818
- Please do not use the issue tracker for personal support requests. Stack
1919
Overflow ([react-bootstrap](http://stackoverflow.com/questions/tagged/react-bootstrap)
20-
tag), [Slack](http://www.reactiflux.com/) or
21-
[gitter](https://gitter.im/react-bootstrap/react-bootstrap) are better places
22-
to get help.
20+
tag), [Slack](http://www.reactiflux.com/),
21+
[gitter](https://gitter.im/react-bootstrap/react-bootstrap), or
22+
[Thinkful](http://start.thinkful.com/react/?utm_source=github&utm_medium=badge&utm_campaign=react-bootstrap)
23+
are better places to get help.
2324
- Please do not open issues or pull requests regarding the code in React or
2425
Bootstrap (open them in their respective repositories).
2526

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
[![HuBoard][huboard-badge]][huboard]
99
[![Gitter][gitter-badge]][gitter]
10+
[![Thinkful][thinkful-badge]][thinkful]
1011

1112
[![NPM version][npm-badge]][npm]
1213
[![Bower version][bower-badge]][bower]
@@ -75,5 +76,8 @@ Yes please! See the [contributing guidelines][contributing] for details.
7576
[huboard-badge]: https://img.shields.io/badge/Hu-Board-7965cc.svg
7677
[huboard]: https://huboard.com/react-bootstrap/react-bootstrap
7778

79+
[thinkful-badge]: https://tf-assets-staging.s3.amazonaws.com/badges/thinkful_repo_badge.svg
80+
[thinkful]: http://start.thinkful.com/react/?utm_source=github&utm_medium=badge&utm_campaign=react-bootstrap
81+
7882
[appveyor-badge]: https://ci.appveyor.com/api/projects/status/ylitpyo6n5yq1s6i/branch/master?svg=true
7983
[appveyor]: https://ci.appveyor.com/project/react-bootstrap/react-bootstrap/branch/master

docs/src/NavMain.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ const NAV_LINKS = {
1515
'components': {
1616
link: 'components',
1717
title: 'Components'
18+
},
19+
'support': {
20+
link: 'support',
21+
title: 'Support'
1822
}
1923
};
2024

docs/src/Root.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ const Root = React.createClass({
1414
'index.html',
1515
'introduction.html',
1616
'getting-started.html',
17-
'components.html'
17+
'components.html',
18+
'support.html'
1819
];
1920
}
2021
},

docs/src/Routes.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import HomePage from './HomePage';
55
import IntroductionPage from './IntroductionPage';
66
import GettingStartedPage from './GettingStartedPage';
77
import ComponentsPage from './ComponentsPage';
8+
import SupportPage from './SupportPage';
89
import NotFoundPage from './NotFoundPage';
910

1011
import {Route, DefaultRoute, NotFoundRoute} from 'react-router';
@@ -17,5 +18,6 @@ export default (
1718
<Route name='introduction' path='introduction.html' handler={IntroductionPage} />
1819
<Route name='getting-started' path='getting-started.html' handler={GettingStartedPage} />
1920
<Route name='components' path='components.html' handler={ComponentsPage} />
21+
<Route name='support' path='support.html' handler={SupportPage} />
2022
</Route>
2123
);

docs/src/SupportPage.js

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
import React from 'react';
2+
3+
import NavMain from './NavMain';
4+
import PageHeader from './PageHeader';
5+
import PageFooter from './PageFooter';
6+
7+
export default class Page extends React.Component {
8+
render() {
9+
return (
10+
<div>
11+
<NavMain activePage="support" />
12+
13+
<PageHeader
14+
title="Need help?"
15+
subTitle="Community resources for answering your React-Bootstrap questions." />
16+
17+
<div className="container bs-docs-container">
18+
<div className="row">
19+
<div className="col-md-9" role="main">
20+
<div className="bs-docs-section">
21+
<p className="lead">Stay up to date on the development of React-Bootstrap and reach out to the community with these helpful resources.</p>
22+
23+
<h3>Stack Overflow</h3>
24+
<p><a href="http://stackoverflow.com/questions/ask">Ask questions</a> about specific problems you have faced, including details about what exactly you are trying to do. Make sure you tag your question with <code className="js">react-bootstrap</code>. You can also read through <a href="http://stackoverflow.com/questions/tagged/react-bootstrap">existing React-Bootstrap questions</a>.</p>
25+
26+
<h3>Live help</h3>
27+
<p>Bring your questions and pair with other react-bootstrap users in a <a href="http://start.thinkful.com/react/?utm_source=github&utm_medium=badge&utm_campaign=react-bootstrap">live Thinkful hangout</a>. Hear about the challenges other developers are running into, or screenshare your own code with the group for feedback.</p>
28+
29+
<h3>Chat rooms</h3>
30+
<p>Discuss questions in the <code className="js">#react-bootstrap</code> channel on the <a href="http://www.reactiflux.com/">Reactiflux Slack</a> or on <a href="https://gitter.im/react-bootstrap/react-bootstrap">Gitter</a>.</p>
31+
32+
<h3>GitHub issues</h3>
33+
<p>The issue tracker is the preferred channel for bug reports, features requests and submitting pull requests. See more about how we use issues in the <a href="https://github.com/react-bootstrap/react-bootstrap/blob/master/CONTRIBUTING.md#issues">contribution guidelines</a>.</p>
34+
35+
</div>
36+
</div>
37+
</div>
38+
</div>
39+
40+
<PageFooter />
41+
</div>
42+
);
43+
}
44+
45+
shouldComponentUpdate() {
46+
return false;
47+
}
48+
}

0 commit comments

Comments
 (0)