Skip to content

Commit

Permalink
replace index
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotBraem committed May 29, 2024
1 parent a35ad0f commit a9f1da5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion data.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"trylivepeer.testnet": {}
"trylivepeer.near": {}
}
14 changes: 8 additions & 6 deletions widget/Index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,17 @@ const config = {
<div className="header-container">
<div></div>
<div className="header-content">
<h1 className="header-title">trylivepeer</h1>
<Link to={`/${config_index}`}>
<h1 className="header-title">trylivepeer</h1>
</Link>
<div className="flex gap-4">
<Link to={`/${config_account}/widget/index?page=social`}>
<Link to={`/${config_index}?page=social`}>
<button className="header-button">Social</button>
</Link>
<Link to={`/${config_account}/widget/index?page=sandbox`}>
<Link to={`/${config_index}?page=sandbox`}>
<button className="header-button">Sandbox</button>
</Link>
<Link to={`/${config_account}/widget/index?page=library`}>
<Link to={`/${config_index}?page=library`}>
<button className="header-button">Library</button>
</Link>
</div>
Expand All @@ -40,7 +42,7 @@ const config = {
router: {
param: "page",
routes: {
index: {
Index: {
path: "${config_account}/widget/page.home", // edit this locally
blockHeight: "final",
init: {
Expand All @@ -56,7 +58,7 @@ const config = {
},
},
library: {
path: "${config_account}/widget/Library.index",
path: "${config_account}/widget/Library.Index",
blockHeight: "final",
init: {
name: "Library",
Expand Down

0 comments on commit a9f1da5

Please sign in to comment.