Skip to content

Commit

Permalink
add ccipCommon for Educational Disclaimer
Browse files Browse the repository at this point in the history
  • Loading branch information
khadni committed Feb 7, 2025
1 parent bd8eda7 commit 5ee4864
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/features/ccip/CcipCommon.astro
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ const GasLimitPool = await Astro.glob("./GasLimitPool.mdx")
const GasLimitPoolComponent = GasLimitPool[0].Content
const TokenPoolOwnership = await Astro.glob("./TokenPoolOwnership.mdx")
const TokenPoolOwnershipComponent = TokenPoolOwnership[0].Content
const EducationalDisclaimer = await Astro.glob("./EducationalDisclaimer.mdx")
const EducationalDisclaimerComponent = EducationalDisclaimer[0].Content
export type Props = {
callout?:
| "senderContractCallout"
Expand All @@ -42,6 +45,7 @@ export type Props = {
| "registerLockMintFromEOAIntro"
| "gasLimitPool"
| "tokenPoolOwnership"
| "educationalDisclaimer"
}
const { callout } = Astro.props as Props
---
Expand All @@ -60,3 +64,4 @@ const { callout } = Astro.props as Props
{callout === "registerLockMintFromEOAIntro" && <RegisterLockMintFromEOAIntroComponent />}
{callout === "gasLimitPool" && <GasLimitPoolComponent />}
{callout === "tokenPoolOwnership" && <TokenPoolOwnershipComponent />}
{callout === "educationalDisclaimer" && <EducationalDisclaimerComponent />}
11 changes: 11 additions & 0 deletions src/features/ccip/EducationalDisclaimer.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { Aside } from "@components"

<Aside type="caution" title="Educational Example Disclaimer">
This page includes an educational example to use a Chainlink system, product, or service and is provided to
demonstrate how to interact with Chainlink's systems, products, and services to integrate them into your own. This
template is provided "AS IS" and "AS AVAILABLE" without warranties of any kind, it has not been audited, and it may be
missing key checks or error handling to make the usage of the system, product or service more clear. Do not use the
code in this example in a production environment without completing your own audits and application of best practices.
Neither Chainlink Labs, the Chainlink Foundation, nor Chainlink node operators are responsible for unintended outputs
that are generated due to errors in code.
</Aside>

0 comments on commit 5ee4864

Please sign in to comment.