Skip to content

Commit 86f3d0e

Browse files
authored
Merge pull request #843 from ethereum-optimism/callout-warning
2 parents 18a62dd + bffbf3f commit 86f3d0e

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

components/WipCallout.tsx

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,24 @@ export function WipCallout({ context }: Props): ReactElement {
3737
</div>
3838
);
3939
}
40+
41+
export function InfoCallout({ context }: Props): ReactElement {
42+
return (
43+
<div className="custom-callouts nx-w-full nx-mt-6 nx-flex nx-justify-center nx-items-center nx-bg-white dark:nx-bg-black">
44+
<div className="nx-w-full nx-px-4 nx-text-center nx-font-medium nx-text-sm nx-text-left">
45+
{context ? (
46+
context
47+
) : (
48+
<div className="nx-text-left">
49+
Interop is currently in <strong>active development</strong> and not yet ready for production use.
50+
The information provided here may change frequently.
51+
<p>
52+
We recommend checking back
53+
regularly for the most up-to-date information.
54+
</p>
55+
</div>
56+
)}
57+
</div>
58+
</div>
59+
);
60+
}

pages/stack/protocol/interop/explainer.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ description: Learn the basics of interoperability on the OP Stack.
77
import { Callout } from 'nextra/components'
88
import Image from 'next/image'
99

10-
# Interoperability Explainer
10+
import { InfoCallout } from '@/components/WipCallout'
11+
12+
<InfoCallout />
13+
14+
# Interoperability Explainer
1115

1216
Interoperability is the ability for a blockchain to securely read the state of another blockchain.
1317
Native OP Stack interoperability provides the ability to read messages and transfer assets across the Superchain (without having to go through L1) via secure message passing. This results in the following benefits:

0 commit comments

Comments
 (0)