Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Commit 91b30b0

Browse files
committed
Merge pull request react-bootstrap#625 from react-bootstrap/active-development-warning
Add active development warning to docs homepage
2 parents f7fa3ee + 36790ff commit 91b30b0

2 files changed

Lines changed: 29 additions & 11 deletions

File tree

docs/assets/style.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ body {
4646
color: #e9e9e9;
4747
}
4848

49+
.bs-docs-masthead {
50+
margin-bottom: 20px;
51+
}
52+
4953
.bs-docs-header h1 {
5054
color: #e9e9e9;
5155
}

docs/src/HomePage.js

Lines changed: 25 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,37 @@ import React from 'react';
22

33
import NavMain from './NavMain';
44
import PageFooter from './PageFooter';
5+
import Grid from '../../src/Grid';
6+
import Alert from '../../src/Alert';
7+
import Glyphicon from '../../src/Glyphicon';
58

69
const HomePage = React.createClass({
710
render: function () {
811
return (
9-
<div>
10-
<NavMain activePage="home" />
12+
<div>
13+
<NavMain activePage="home" />
1114

12-
<main className="bs-docs-masthead" id="content" role="main">
13-
<div className="container">
14-
<span className="bs-docs-booticon bs-docs-booticon-lg bs-docs-booticon-outline"></span>
15-
<p className="lead">The most popular front-end framework, rebuilt for React.</p>
16-
</div>
17-
</main>
15+
<main className="bs-docs-masthead" id="content" role="main">
16+
<div className="container">
17+
<span className="bs-docs-booticon bs-docs-booticon-lg bs-docs-booticon-outline"></span>
18+
<p className="lead">The most popular front-end framework, rebuilt for React.</p>
19+
</div>
20+
</main>
1821

19-
<PageFooter />
20-
</div>
21-
);
22+
<Grid>
23+
<Alert bsStyle='danger'>
24+
<Glyphicon glyph='warning-sign' /> The project is under active
25+
development, and APIs will change. Check out the <a
26+
href='https://github.com/react-bootstrap/react-bootstrap/wiki#100-roadmap'>1.0.0
27+
Roadmap</a> and <a
28+
href='https://github.com/react-bootstrap/react-bootstrap/blob/master/CONTRIBUTING.md'>Contributing
29+
Guidelines</a> to see where you can help out.
30+
</Alert>
31+
</Grid>
32+
33+
<PageFooter />
34+
</div>
35+
);
2236
}
2337
});
2438

0 commit comments

Comments
 (0)