Skip to content

Commit

Permalink
Add GitHub links to demo page
Browse files Browse the repository at this point in the history
  • Loading branch information
dphilipson committed Jan 3, 2019
1 parent 8f0d098 commit 8555b0d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
1 change: 1 addition & 0 deletions demo/src/App.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
}

.app-copyright {
margin-top: 4 * $pt-grid-size;
margin-bottom: 2 * $pt-grid-size;
}
}
13 changes: 12 additions & 1 deletion demo/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ class App extends Component {
<div className={classNames(Classes.DARK, "app")}>
<h1 className="app-title">Resentence</h1>
<p className="app-explanation">
Easy-to-use React component for morphing one string into another.
Easy-to-use React component for morphing one string into another.{" "}
<a href="https://github.com/dphilipson/resentence">GitHub</a>
</p>
<SeussDemo className="app-seuss-demo" />
<h3 className="app-section-header">
Expand Down Expand Up @@ -42,6 +43,16 @@ class App extends Component {
experiment with different edit types using the interactive demo below.
</p>
<ConfirmDemo className="app-confirm-demo" initialText="Edit me…" />
<h3 className="app-section-header">How to use</h3>
<p className="app-section-body">
Using Resentence is as simple as wrapping your text in a{" "}
<code>&lt;Resentence&gt;</code> component, with no additional
integration required.{" "}
<a href="https://github.com/dphilipson/resentence">
See the GitHub repo
</a>{" "}
for details.
</p>
<p className="app-section-body app-copyright">
Copyright © 2019 David Philipson
</p>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"lint-file": "tslint",
"lint": "tslint --project .",
"prepublishOnly": "yarn run test && yarn run build",
"test": "yarn run lint && tsc --noEmit && yarn run jest"
"test": "yarn run lint && tsc --noEmit"
},
"husky": {
"hooks": {
Expand Down

0 comments on commit 8555b0d

Please sign in to comment.