Skip to content

Commit d3bbb32

Browse files
committed
feat: remove Callout component and replace with InfoBox
1 parent 0b9ba45 commit d3bbb32

File tree

18 files changed

+46
-255
lines changed

18 files changed

+46
-255
lines changed

apps/developer-hub/content/docs/pyth-core/api-instances-and-providers/hermes.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ Network:
2323

2424
URL: https://hermes.pyth.network
2525

26-
<Callout variant="info" icon="⚠️">
26+
<InfoBox variant="warning">
2727
For developers building on **Aptos testnet**, **Sui testnet** or **Near testnet**, please use the Hermes Beta endpoint:
2828

2929
URL: https://hermes-beta.pyth.network
3030

31-
</Callout>
31+
</InfoBox>
3232

3333
For production deployments, developers integrating with Pyth Network are **strongly encouraged** to use Node Providers
3434
for maximum resilience and decentralization. Moreover, Hermes is designed to be self-hosted, so developers can run their own

apps/developer-hub/content/docs/pyth-core/contract-addresses/pythnet.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ index: false
1010

1111
# Price Feed Program Addresses on Pythnet
1212

13-
<Callout variant="warning" icon="⚠️">
13+
<InfoBox variant="warning">
1414
**Important:** The addresses on this page are for the Pythnet network itself,
1515
which is used to construct and deliver Pyth prices to other blockchains. If
1616
you are building an application on EVM, Solana, SVM, or another chain, you
1717
should use the Pyth program deployed on your target chain instead. Please
1818
refer to the [Contract Addresses](/price-feeds/contract-addresses) page and
1919
select your specific blockchain environment.
20-
</Callout>
20+
</InfoBox>
2121

2222
The following table contains the addresses of the programs deployed on Pythnet that operate together to construct Pyth prices and deliver them to other blockchains:
2323

apps/developer-hub/content/docs/pyth-core/create-your-first-pyth-app.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ index: false
1313
This tutorial walks through creating a complete application that uses Pyth Price feeds.
1414
The application includes a smart contract and an off-chain code invoking the contract.
1515

16-
<Callout variant="info" icon="ℹ️">
16+
<InfoBox variant="info">
1717
The tutorial is an in-depth walkthrough of contract development; more
1818
experienced developers may want to refer to [Use Real-time Price
1919
Data](./use-real-time-data) for a more concise version.
20-
</Callout>
20+
</InfoBox>
2121

2222
Please choose your environment to get started:
2323

apps/developer-hub/content/docs/pyth-core/create-your-first-pyth-app/evm/part-2.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ This part of the tutorial will conver the following:
1818
- Interact with the contract from the command line.
1919
- Update and fetch the price from the contract using [hermes-client](https://github.com/pyth-network/pyth-crosschain/tree/main/apps/hermes/client/js).
2020

21-
<Callout variant="info" icon="ℹ️">
21+
<InfoBox variant="info">
2222
This tutorial is continuation of the [Part 1: Create a Contract](./part-1). If
2323
you haven't completed that part yet, please do so before continuing.
24-
</Callout>
24+
</InfoBox>
2525

2626
## Deploy the contract
2727

apps/developer-hub/content/docs/pyth-core/current-fees.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ index: false
1212
The following tables shows the total fees payable when updating a price feed.
1313
Please note the fees shown below is the amount paid in `msg.value` per price feed update.
1414

15-
<Callout variant="info" icon="💡">
15+
<InfoBox variant="info">
1616
**Note**: The default fee of all chains **not** mentioned below is **1(one)**
1717
unit of the smallest denomination of the blockchain's native token (e.g., **1
1818
wei on Ethereum**).
19-
</Callout>
19+
</InfoBox>
2020

2121
| **Network** | **Fees** |
2222
| ----------- | ---------------- |

apps/developer-hub/content/docs/pyth-core/fetch-price-updates.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ provides three different ways to fetch price updates:
2020
1. [Streaming](#streaming)
2121
1. [SDK](#sdk)
2222

23-
<Callout icon="ℹ️">
23+
<InfoBox variant="info">
2424
Fetching a price from Hermes requires a price feed ID. This ID serves as a
2525
unique identifier for each price feed (e.g., BTC/USD). The complete list of
2626
Pyth price feed IDs is available at
2727
https://pyth.network/developers/price-feed-ids
28-
</Callout>
28+
</InfoBox>
2929

3030
## REST API
3131

apps/developer-hub/content/docs/pyth-core/pythnet-reference/schedule-format.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ If `weekly_schedule` is also undefined, pyth-agent will default to 24/7 publishi
3131

3232
- `Timezone` - A human-readable tz database TZ identifier of the market’s local timezone, such as `America/New_York`.
3333
**Full list of identifiers can be found [here](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)**.
34-
<Callout variant="info">
34+
<InfoBox variant="info">
3535
Daylight-saving time is automatically handled by the pyth-agent.
36-
</Callout>
36+
</InfoBox>
3737
- `WeeklySchedule` - A list of seven comma-separated `DaySchedule` entries that define the recurring weekly schedule of a product’s market hours.
3838
Each `DaySchedule` entry corresponds to a day of the week, starting from Monday.
3939
None of the comma-separated values can be omitted.
@@ -70,9 +70,9 @@ If `weekly_schedule` is also undefined, pyth-agent will default to 24/7 publishi
7070

7171
## Weekly Schedule Format (Deprecated)
7272

73-
<Callout variant="warning" icon="⚠️">
73+
<InfoBox variant="warning">
7474
This field is deprecated in favor of `schedule`.
75-
</Callout>
75+
</InfoBox>
7676

7777
This document outlines the rules for specifying contents of a new Pyth product metadata field - `weekly_schedule` . The field specifies the recurring weekly schedule of a product’s market hours. It serves as a reference for `pyth-agent` to stop publishing outside the hours specified in the schedule. Notable use cases include:
7878

apps/developer-hub/content/docs/pyth-core/sponsored-feeds.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ The sponsored feeds can vary by network. Please see the relevant section below f
2222
- [Sui](sponsored-feeds/sui)
2323
- [Movement](sponsored-feeds/movement)
2424

25-
<Callout variant="info" icon="⚠️">
25+
<InfoBox variant="warning">
2626
DISCLAIMER: While the Pyth Data Association strives to deliver timely updates,
2727
these sponsored feeds may occasionally experience delays in updates caused by
2828
chain halts, gas estimations and other issues. Applications are advised to run
2929
their own scheduler. Find out how you can run your own scheduler
3030
[here](/price-feeds/schedule-price-updates/using-scheduler).
31-
</Callout>
31+
</InfoBox>
3232

3333
If you would like to see additional feeds on this list, please fill in this [form](https://tally.so/r/nGz2jj) to signal your interest.

apps/developer-hub/content/docs/pyth-core/use-real-time-data/aptos.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ module example::example {
6262

6363
```
6464

65-
<Callout variant="info" icon="ℹ️">
65+
<InfoBox variant="info">
6666
The `pyth_price_update` argument contains verified prices from Pyth. Calling
6767
`pyth::update_price_feeds` with this value updates the on-chain Pyth price and
6868
ensures your application has recent price data. The pyth_price_update can be
6969
fetched from Hermes; Consult [Fetch Price Updates](../fetch-price-updates) for
7070
more information on how to fetch the `pyth_price_update`.
71-
</Callout>
71+
</InfoBox>
7272

7373
The code snippet above does the following things:
7474

apps/developer-hub/content/docs/pyth-core/use-real-time-data/fuel.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,11 @@ The `update_data` argument contains verified prices from Pyth.
8989
Calling `pyth_contract.update_price_feeds` with this value updates the on-chain Pyth price and ensures your application has recent price data.
9090
The `update_data` can be fetched from Hermes; Consult [Fetch Price Updates](https://docs.pyth.network/price-feeds/fetch-price-updates) for more information on how to fetch the `update_data`.
9191

92-
<Callout variant="info" icon="ℹ️">
92+
<InfoBox variant="info">
9393
Regarding the Pyth contract on Fuel, the caller must pay the fee in the base
9494
asset for functions like `update_price_feeds`. The fee is currently set to the
9595
minimum possible value (1 wei).
96-
</Callout>
96+
</InfoBox>
9797

9898
The code snippet above does the following things:
9999

0 commit comments

Comments
 (0)