Skip to content

Commit

Permalink
creating core component for educational example disclaimer
Browse files Browse the repository at this point in the history
  • Loading branch information
gfletcher-cll committed Feb 7, 2025
1 parent 0ffd661 commit bd8eda7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
13 changes: 13 additions & 0 deletions src/components/EducationalDisclaimer.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
import Aside from "./Aside.astro"
---

<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>
5 changes: 4 additions & 1 deletion src/content/ccip/ccip-javascript-sdk.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ title: "Using the CCIP JavaScript SDK"

import { Aside, ClickToZoom } from "@components"
import { Tabs } from "@components/Tabs"
import { EducationalDisclaimer } from "@components"

The [CCIP JavaScript SDK](https://github.com/smartcontractkit/ccip-javascript-sdk/tree/main) is a tool that helps you to simplify management of cross-chain token transfers, and to integrate CCIP with the frontend of your own app.
The [CCIP JavaScript SDK][def] is a tool that helps you to simplify management of cross-chain token transfers, and to integrate CCIP with the frontend of your own app.

The CCIP JavaScript SDK includes two packages:

Expand Down Expand Up @@ -283,3 +284,5 @@ You can use `pnpm build` to build both packages together. If you're building eac
"@chainlink/ccip-js": "link:../../packages/ccip-js",
"@chainlink/ccip-react-components": "link:../../packages/ccip-react-components",
```

<EducationalDisclaimer />

0 comments on commit bd8eda7

Please sign in to comment.