Skip to content

Commit

Permalink
Playground: Add link to components storybook. (#17982)
Browse files Browse the repository at this point in the history
  • Loading branch information
epiqueras authored Oct 17, 2019
1 parent a284f26 commit 5991eeb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
9 changes: 5 additions & 4 deletions playground/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {
ObserveTyping,
} from '@wordpress/block-editor';
import {
Button,
Popover,
SlotFillProvider,
DropZoneProvider,
Expand Down Expand Up @@ -40,6 +41,9 @@ function App() {
<Fragment>
<div className="playground__header">
<h1 className="playground__logo">Gutenberg Playground</h1>
<Button isLarge href="design-system/components" target="_blank">
Design System Components
</Button>
</div>
<div className="playground__body">
<SlotFillProvider>
Expand Down Expand Up @@ -67,7 +71,4 @@ function App() {
}

registerCoreBlocks();
render(
<App />,
document.querySelector( '#app' )
);
render( <App />, document.querySelector( '#app' ) );
5 changes: 4 additions & 1 deletion playground/src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@


.playground__header {
padding: 20px;
align-items: center;
border-bottom: 1px solid #ddd;
display: flex;
justify-content: space-between;
padding: 20px;
}

.playground__logo {
Expand Down

0 comments on commit 5991eeb

Please sign in to comment.