Skip to content

Commit

Permalink
feat:initial navigation and recompose testing
Browse files Browse the repository at this point in the history
  • Loading branch information
hcho112 committed Dec 5, 2023
1 parent 434e7cb commit bb2e8c1
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/App/Landing.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
return <p>Landing Page!</p>;
1 change: 1 addition & 0 deletions src/App/Main.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
return <p>Main Page</p>;
9 changes: 8 additions & 1 deletion src/HelloWorld.jsx
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
return <p>Hello world!</p>;
return (
<>
<p>Hello world</p>
<a href="/monkeypatcher.near/App.Landing" >Click here to navigate to landing page</a>
<a href="/monkeypatcher.near/App.Main" >Click here to navigate to main page</a>
<Widget src="monkeypatcher.near/RootContent" trust={{ mode: "trusted-author" }} />
</>
);
3 changes: 3 additions & 0 deletions src/RootContent.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
return (
<p>Something to display as root content</p>
);

0 comments on commit bb2e8c1

Please sign in to comment.