-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #310 from alleslabs/feat/amp-blocks-tx-net
feat: add landing amp on block(s), txs, network overview
- Loading branch information
Showing
6 changed files
with
48 additions
and
11 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,29 @@ | ||
import { Heading, Text } from "@chakra-ui/react"; | ||
import { useRouter } from "next/router"; | ||
import { useEffect } from "react"; | ||
|
||
import PageContainer from "lib/components/PageContainer"; | ||
import { AmpEvent, AmpTrack } from "lib/services/amplitude"; | ||
|
||
import { TxsTable } from "./components/TxsTable"; | ||
|
||
const Txs = () => ( | ||
<PageContainer> | ||
<Heading variant="h5" as="h5"> | ||
Transactions | ||
</Heading> | ||
<Text variant="body2" color="text.dark" mb={8} mt={1}> | ||
This page displays all transactions in this network sorted by recency | ||
</Text> | ||
<TxsTable isViewMore={false} /> | ||
</PageContainer> | ||
); | ||
const Txs = () => { | ||
const router = useRouter(); | ||
useEffect(() => { | ||
if (router.isReady) AmpTrack(AmpEvent.TO_TXS); | ||
}, [router.isReady]); | ||
|
||
return ( | ||
<PageContainer> | ||
<Heading variant="h5" as="h5"> | ||
Transactions | ||
</Heading> | ||
<Text variant="body2" color="text.dark" mb={8} mt={1}> | ||
This page displays all transactions in this network sorted by recency | ||
</Text> | ||
<TxsTable isViewMore={false} /> | ||
</PageContainer> | ||
); | ||
}; | ||
|
||
export default Txs; |
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
c8d8e8d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
terra-celatone-frontend-staging – ./
terra-celatone-frontend-staging-git-develop-alleslabs.vercel.app
terra-celatone-frontend-staging.vercel.app
terra-celatone-frontend-staging-alleslabs.vercel.app
terra-staging.celat.one
c8d8e8d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
osmosis-celatone-frontend-staging – ./
celatone-staging.osmosis.zone
osmosis-celatone-frontend-staging-git-develop-alleslabs.vercel.app
osmosis-staging.celat.one
celatone-frontend-staging.vercel.app
osmosis-celatone-frontend-staging-alleslabs.vercel.app