Skip to content

Commit

Permalink
Add KUI deprecation notice to docs site.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcenizal committed Dec 19, 2017
1 parent a91abe9 commit 003c9f7
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 77 deletions.
10 changes: 10 additions & 0 deletions ui_framework/doc_site/src/components/guide_page/guide_page.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,16 @@ export class GuidePage extends Component {
</GuidePageSideNav>

<div className="guidePageBody">
<div style={{ marginBottom: 40, backgroundColor: '#ffec9d', padding: 20 }}>
<h1 className="guideTitle">
The Kibana UI Framework has been DEPRECATED.
</h1>

<h2 className="guideTitle">
Please use the <a href="https://github.com/elastic/eui">EUI Framework instead</a>.
</h2>
</div>

{this.props.children}
</div>
</div>
Expand Down
86 changes: 9 additions & 77 deletions ui_framework/doc_site/src/views/home/home_view.js
Original file line number Diff line number Diff line change
@@ -1,85 +1,17 @@
import React from 'react';

import {
Link,
} from 'react-router';

export const HomeView = () => (
<div className="guideContentPage guideHomePage">
<div className="guideContentPage__hint">
<p className="guideText guideText--noMargin">
You can navigate the docs with this little menu button.
</p>

<div className="guideHintArrow" />
</div>

<div className="guideContentPage__content">
<h1 className="guideTitle">
Welcome to the Kibana UI Framework docs!
</h1>

<p className="guideText">
The Kibana team uses the UI Framework to build Kibana&rsquo;s user interface. Please see
the <a href="https://www.elastic.co/guide/en/kibana/current/index.html" className="guideLink">general Kibana docs</a> for information on how to use Kibana, and
the <a href="https://www.elastic.co/guide/en/kibana/current/kibana-plugins.html" className="guideLink">plugin-specific section</a> for
help developing Kibana plugins.
</p>

<p className="guideText">
You can find the source for the UI Framework
at the <a href="https://github.com/elastic/kibana/tree/master/ui_framework" className="guideLink">Kibana repo</a>.
</p>

<p className="guideText">
If you&rsquo;re just getting started with the UI Framework for the first time, you may
be interested in some of the more commonly-used components:
</p>

<p className="guideText">
<Link
className="guideLink"
to="button"
>
<span className="fa fa-angle-double-right" /> Buttons
</Link>
</p>

<p className="guideText">
<Link
className="guideLink"
to="form"
>
<span className="fa fa-angle-double-right" /> Form elements
</Link>
</p>

<p className="guideText">
<Link
className="guideLink"
to="table"
>
<span className="fa fa-angle-double-right" /> Tables
</Link>
</p>

<p className="guideText">
<Link
className="guideLink"
to="typography"
>
<span className="fa fa-angle-double-right" /> Typography
</Link>
</p>

<p className="guideText">
<Link
className="guideLink"
to="infopanel"
>
<span className="fa fa-angle-double-right" /> InfoPanels
</Link>
</p>
<div style={{ marginBottom: 40, backgroundColor: '#ffec9d', padding: 20 }}>
<h1 className="guideTitle">
The Kibana UI Framework has been DEPRECATED.
</h1>

<h2 className="guideTitle">
Please use the <a href="https://github.com/elastic/eui">EUI Framework instead</a>.
</h2>
</div>
</div>
</div>
);

0 comments on commit 003c9f7

Please sign in to comment.