Skip to content

Commit

Permalink
Merge pull request #3437 from dfinity/rei/cf-7
Browse files Browse the repository at this point in the history
update chain fusion page
  • Loading branch information
reigj1 authored Sep 10, 2024
2 parents 36e84de + 932bde6 commit c95494b
Showing 1 changed file with 9 additions and 39 deletions.
48 changes: 9 additions & 39 deletions src/pages/chainfusion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ function ChainFusion() {
Unifying Web3
</div>
<Link
href="/docs/current/developer-docs/multi-chain/overview"
href="#code-snippets"
className="button-white self-start mt-8 md:mt-12"
>
Build Multichain dapps
Expand Down Expand Up @@ -1727,7 +1727,10 @@ function ChainFusion() {
</section>

{/* Code Snippets Section */}
{/* <section className="pt-20 md:pt-30 text-left md:text-center">
<section
id="code-snippets"
className="pt-20 md:pt-30 text-left md:text-center mb-20"
>
{" "}
<AnimateSpawn
className="container-6 "
Expand All @@ -1745,17 +1748,16 @@ function ChainFusion() {
)}
enables Bitcoin and Ethereum to talk to each other
</motion.h3>

<motion.p className="tw-paragraph md:tw-lead mt-3 md:mt-6">
This code snippet is written in both Rust and the Motoko programming language but is also possible for Solidity, TypeScript, Python, and other languages.
This code snippet is written in both Rust and the Motoko
programming language but is also possible for Solidity,
TypeScript, Python, and other languages.
</motion.p>

<CodeSnippets />
</AnimateSpawn>
</section> */}

</section>

<section className="container-12 block md:flex gap-4 mt-24 md:mt-32">
<article className="basis-1/2 bg-black rounded-[32px] text-white overflow-clip mt-6">
Expand Down Expand Up @@ -1848,36 +1850,6 @@ function ChainFusion() {
</AnimateSpawn>
</section>

{/* Code Snippets Section */}
<section className="pt-20 md:pt-30 text-left md:text-center mb-20">
{" "}
<AnimateSpawn
className="container-6 "
variants={transitions.container}
el={motion.section}
>
<motion.h3 className="tw-heading-3 md:tw-heading-60 mb-1 text-gradient-purple">
{isMobile ? (
<LogoNewLine
className="block w-2/3 mb-2"
color="text-gradient-purple"
/>
) : (
<LogoSm className="w-full" color="text-gradient-purple" />
)}
enables Bitcoin and Ethereum to talk to each other
</motion.h3>



<motion.p className="tw-paragraph md:tw-lead mt-3 md:mt-6">
This code snippet is written in both Rust and the Motoko programming language but is also possible for Solidity, TypeScript, Python, and other languages.
</motion.p>

<CodeSnippets />
</AnimateSpawn>
</section>

<AnimateSpawn
className="container-12 pb-16 md:pb-40"
el={motion.section}
Expand Down Expand Up @@ -2026,8 +1998,6 @@ function ChainFusion() {
<ReadCard key={index} {...data} />
))}
</AnimateSpawn>


</section>

<News content="chainfusion" />
Expand Down

0 comments on commit c95494b

Please sign in to comment.