forked from rooch-network/rooch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* finish * fix * fix ui * fix * switch testnet * fix * fix build
- Loading branch information
1 parent
1b882e7
commit f429275
Showing
20 changed files
with
891 additions
and
85 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
infra/rooch-portal-v2/src/app/faucet/inviter/[address]/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import WalletGuard from 'src/components/guard/WalletGuard'; | ||
|
||
import { InviterFaucetView } from 'src/sections/faucet/inviter'; | ||
|
||
export const metadata = { title: `Faucet` }; | ||
|
||
export default function Page({ params }: { params: { address: string } }) { | ||
return <WalletGuard> | ||
<InviterFaucetView inviterAddress={params.address} /> | ||
</WalletGuard> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { InvitationsView } from 'src/sections/invitations/index'; | ||
|
||
export const metadata = { title: `Invitation` }; | ||
|
||
export default function Page({ params }: { params: { address: string } }) { | ||
return <InvitationsView />; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
import { InvitationsView } from 'src/sections/invitations/index'; | ||
|
||
export const metadata = { title: `Invitation` }; | ||
|
||
export default function Page() { | ||
return <InvitationsView />; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,6 @@ | ||
import WalletGuard from 'src/components/guard/WalletGuard'; | ||
|
||
import { SettingsView } from 'src/sections/settings/view'; | ||
import { InviterView } from 'src/sections/inviter/index'; | ||
|
||
export default function Page({ params }: { params: { address: string } }) { | ||
// window.localStorage.setItem('inviter', params.address) | ||
console.log(params) | ||
return ( | ||
<WalletGuard> | ||
<SettingsView /> | ||
</WalletGuard> | ||
); | ||
return <InviterView inviterAddress={params.address} />; | ||
} | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
|
||
import { InviterView } from 'src/sections/inviter/index'; | ||
|
||
export default function Page() { | ||
return <InviterView />; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.