Skip to content

Commit

Permalink
Landing Page for "Monitor" page (#1483)
Browse files Browse the repository at this point in the history
* Restructured indexing

* fixed links

* Update sidebars navigation

---------

Co-authored-by: Damián Parrino <bucanero@users.noreply.github.com>
  • Loading branch information
gagdiez and bucanero committed Sep 6, 2023
1 parent 4316162 commit b7984f8
Show file tree
Hide file tree
Showing 7 changed files with 65 additions and 37 deletions.
33 changes: 33 additions & 0 deletions docs/2.develop/monitor.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
id: monitor
title: Monitor the Network
sidebar_label: Home
hide_table_of_contents: true
---
import {FeatureList, Column, Feature} from "@site/components/featurelist"
import ContactUs from '@site/components/ContactUs.mdx';


Welcome! Here you will find documentation on how to query past data and real time events from the NEAR network.

<FeatureList>
<Column title="Realtime Tracking">
<Feature url="/tools/realtime" title="Events (Websocket)" subtitle="Simplest way to listen for events" image="smart-contracts.png" />
<Feature url="/tutorials/indexer/nft-indexer" title="Events (NEAR Lake)" subtitle="Use our Data Lake to listen for events" image="multiple.png" />
</Column>
<Column title="Data Analytics">
<Feature url="/bos/queryapi/big-query" title="Google BigQuery" subtitle="Query network data in a cost efficient way" image="experiment.png" />
</Column>
<Column title="NEAR Lake Framework">
<Feature url="/tools/near-lake" title="Overview" subtitle="Learn about our Data Lake" image="near-logo.png" />
<Feature url="/develop/lake/primitives" title="Primitives" subtitle="Data Lake Primitives" image="guest-book.png" />
<Feature url="/tutorials/indexer/js-lake-indexer" title="JS Tutorial" subtitle="Learn how to consume data from our Lake using JS" image="near-api-js.png" />

</Column>
</FeatureList>

<br/>

---

<ContactUs />
2 changes: 1 addition & 1 deletion docs/3.tutorials/indexer/nft-indexer.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_label: NFT indexer
sidebar_label: NFT Indexer
---

# Building an NFT indexer
Expand Down
2 changes: 1 addition & 1 deletion docs/4.tools/events.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
id: realtime
title: Track Real Time Events
title: Real-time Events (WebSocket)
---

While developing a decentralized app you might want track specific events in real time. For example, you could want
Expand Down
3 changes: 1 addition & 2 deletions docs/4.tools/indexer4explorer.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
id: indexer-for-explorer
title: NEAR Indexer for Explorer
sidebar_label: Indexer for Explorer
title: Indexer for Explorer (Deprecated)
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
Expand Down
2 changes: 1 addition & 1 deletion website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ module.exports = {
items: [
{ label: "Smart Contracts", href: "/develop/contracts/welcome" },
{ label: "Web3 Applications", href: "/develop/integrate/welcome" },
{ label: "Monitor the Chain", href: "/bos/queryapi/intro" },
{ label: "Monitor the Chain", href: "/develop/monitor" },
{
type: 'html',
value: '<hr/>',
Expand Down
60 changes: 28 additions & 32 deletions website/sidebars.json
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@
"bos/tutorial/bos-gateway",
{
"type": "category",
"label": "Components",
"label": "Built-in Components",
"link": {
"type": "doc",
"id": "bos/components"
Expand All @@ -568,7 +568,7 @@
]
},
{
"BOS API": [
"Component API": [
"bos/api/home",
"bos/api/cache",
"bos/api/clipboard",
Expand All @@ -577,33 +577,33 @@
"bos/api/primitives",
"bos/api/social",
"bos/api/state",
"bos/api/storage",
"bos/api/storage"
]
},
{
"Indexing": [
"bos/queryapi/intro",
"bos/queryapi/index-functions",
"bos/community/indexers",
{
"Indexing": [
"bos/queryapi/intro",
"bos/queryapi/index-functions",
"bos/community/indexers"
"Tutorials": [
"bos/tutorial/indexer-tutorials/posts-indexer",
"bos/tutorial/indexer-tutorials/hype-indexer",
"bos/tutorial/indexer-tutorials/feed-indexer"
]
}
]
},
{
"Tutorials": [
"Examples & Tutorials": [
"bos/tutorial/quickstart",
"bos/dev/bos-loader",
"bos/tutorial/interaction",
"bos/tutorial/ds-components",
"bos/tutorial/using-iframes",
"bos/tutorial/bos-gateway",
"bos/tutorial/ethers-js",
"bos/tutorial/lido",
{
"Indexer": [
"bos/tutorial/indexer-tutorials/posts-indexer",
"bos/tutorial/indexer-tutorials/hype-indexer",
"bos/tutorial/indexer-tutorials/feed-indexer"
]
}
"bos/tutorial/lido"
]
},
{
Expand Down Expand Up @@ -645,7 +645,7 @@
{
"type": "link",
"label": "Wallet Selector ↗",
"href": "tools/wallet-selector"
"href": "/tools/wallet-selector"
},
{
"type": "link",
Expand All @@ -655,35 +655,31 @@
"bos/dev/vscode"
],
"indexers": [
"tools/realtime",
"develop/monitor",
{
"type": "html",
"value": "<hr/>"
},
{
"type": "html",
"value": "<span class='menu__link'><b><small> Data Analytics </small></b></span>"
"value": "<span class='menu__link'><b><small> Track Real-time Events </small></b></span>"
},
"bos/queryapi/big-query",
"tools/indexer-for-explorer",
"tools/realtime",
{
"type": "html",
"value": "<hr/>"
"type": "link",
"label": "Real-time Events (Lake)",
"href": "/tutorials/indexer/nft-indexer"
},
{
"type": "html",
"value": "<span class='menu__link'><b><small> QueryAPI Indexing </small></b></span>"
"value": "<hr/>"
},
"bos/queryapi/intro",
"bos/queryapi/index-functions",
"bos/community/indexers",
{
"Examples": [
"bos/tutorial/indexer-tutorials/posts-indexer",
"bos/tutorial/indexer-tutorials/hype-indexer",
"bos/tutorial/indexer-tutorials/feed-indexer"
]
"type": "html",
"value": "<span class='menu__link'><b><small> Data Analytics </small></b></span>"
},
"bos/queryapi/big-query",
"tools/indexer-for-explorer",
{
"type": "html",
"value": "<hr/>"
Expand Down
Binary file modified website/static/docs/assets/welcome-pages/examples.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b7984f8

Please sign in to comment.