Skip to content

Commit

Permalink
Minimal style in instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
nacmartin committed Mar 12, 2023
1 parent 7dc680e commit 7755ff4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
4 changes: 1 addition & 3 deletions examples/ui-react/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,7 @@ function App() {
</div>
</div>
</div>
<center>
<Instructions />
</center>
<Instructions />
</>
);
}
Expand Down
20 changes: 14 additions & 6 deletions examples/ui-react/src/Instructions.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export function Instructions() {
return (
<div>
<div style={{ width: 1280, margin: "0 auto", paddingBottom: 100 }}>
<h2>Usage</h2>
<h3>Selecting/Moving</h3>
<p>
Expand All @@ -16,15 +16,15 @@ export function Instructions() {
So, in the following image, the left one is an event, and the right one
is not.
</p>
<p>
<center>
<center>
<p>
<img
src="https://user-images.githubusercontent.com/154258/224560435-988c4649-9ec6-46f2-90a9-57ba58871595.png"
alt="hands"
width={600}
/>
</center>
</p>
</p>
</center>
<h3>Gestures</h3>
<p>You can use some gestures:</p>
<ul>
Expand All @@ -36,7 +36,15 @@ export function Instructions() {
<li>✌️: Confetti!</li>
</ul>
<h2>Code</h2>
This is an example of usage of manitas.
This is an example of usage of{" "}
<a
href="
https://github.com/nacmartin/manitas
"
>
manitas
</a>{" "}
with React.{" "}
<a href="https://github.com/nacmartin/manitas">See the code</a>
</div>
);
Expand Down

0 comments on commit 7755ff4

Please sign in to comment.