Skip to content

Commit

Permalink
Merge pull request #2294 from dfinity/akos/add-buttons
Browse files Browse the repository at this point in the history
ckbtc: add links to support page
  • Loading branch information
artkorotkikh-dfinity authored Dec 19, 2023
2 parents 97313e8 + d04bda7 commit 8c15909
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 44 deletions.
14 changes: 5 additions & 9 deletions src/components/BitcoinIntegrationPage/Content/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,22 +154,18 @@ const Content: React.FC = () => {
on ICP.
</p>
<p className="mb-0 mt-8 flex gap-6 flex-col md:flex-row items-start md:items-center">
<Link className="button-outline" href="/ckbtc">
More on ckBTC
</Link>
<Link
href="https://internetcomputer.org/docs/current/developer-docs/integrations/bitcoin/ckbtc"
className="link-primary link-with-icon"
href="/docs/current/developer-docs/integrations/bitcoin/ckbtc"
className="button-outline"
>
<LinkArrowRight></LinkArrowRight>
Code ckBTC
</Link>
<Link
href="https://medium.com/dfinity/taking-security-seriously-two-top-icp-features-assessed-by-trail-of-bits-4a0023ab1e68"
href="https://support.dfinity.org/hc/en-us/articles/20708056282132-What-is-ckBTC-#h_01HE64A4QKANB6JX8VERRP5Y80"
className="link-primary link-with-icon"
>
<LinkArrowUpRight></LinkArrowUpRight>
ckBTC security audit
<LinkArrowRight></LinkArrowRight>
BTC &lt;&gt; ICP user guide
</Link>
</p>
</div>
Expand Down
60 changes: 31 additions & 29 deletions src/pages/ckbtc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,10 @@ function CkbtcPage(): JSX.Element {
className="tw-lead-sm md:tw-lead mb-0 relative"
variants={transitions.item}
>
ckBTC — a multi-chain bitcoin twin, trustlessly created by chain-key
cryptography and Internet Computer smart contracts that directly hold
raw bitcoin. Send and receive ckBTC with 1-2 second finality and negligible fees.
ckBTC — a multi-chain bitcoin twin, trustlessly created by
chain-key cryptography and Internet Computer smart contracts
that directly hold raw bitcoin. Send and receive ckBTC with
1-2 second finality and negligible fees.
</motion.p>
</div>
</AnimateSpawn>
Expand Down Expand Up @@ -117,19 +118,23 @@ function CkbtcPage(): JSX.Element {
reverse={true}
>
<div className="tw-heading-6 md:tw-heading-5 mb-2 md:mb-6">
MyLugano
MyLugano
</div>
<h3 className="tw-heading-4 md:tw-heading-60 mb-6">
ckBTC comes to Lugano
ckBTC comes to Lugano
</h3>

<p className="tw-paragraph md:tw-lead-sm mb-6 md:mb-10">
As part of a multi-chain, multi-wallet upgrade, ckBTC has been
integrated into the MyLugano crypto payment app developed by NOKU.
This is a major step towards the Internet Computer infrastructure integrating
with the city of Lugano to eventually enable a plethora of municipal services using bitcoin.
As part of a multi-chain, multi-wallet upgrade, ckBTC has been
integrated into the MyLugano crypto payment app developed by
NOKU. This is a major step towards the Internet Computer
infrastructure integrating with the city of Lugano to eventually
enable a plethora of municipal services using bitcoin.
</p>
<Link className="link-primary link-with-icon" href="https://medium.com/dfinity/the-dfinity-foundation-announces-partnership-with-the-municipality-of-lugano-and-a-1-million-fund-c6dce1fd24ae">
<Link
className="link-primary link-with-icon"
href="https://medium.com/dfinity/the-dfinity-foundation-announces-partnership-with-the-municipality-of-lugano-and-a-1-million-fund-c6dce1fd24ae"
>
<LinkArrowRight /> Read the press release
</Link>
</TranslatedLayout>
Expand Down Expand Up @@ -244,8 +249,8 @@ function CkbtcPage(): JSX.Element {
</span>
</h3>
<p className="tw-lead mb-6">
Send and receive ckBTC value to and from addresses
on either network
Send and receive ckBTC value to and from addresses on either
network
</p>
<ul className="checklist space-y-3 mb-0">
<li className="checklist-item pl-8">
Expand Down Expand Up @@ -500,19 +505,13 @@ function CkbtcPage(): JSX.Element {
</p>
<p className="mt-10">
<Link
className="button-outline"
href="https://dashboard.internetcomputer.org/bitcoin"
className="link-primary"
href="https://support.dfinity.org/hc/en-us/articles/20708056282132-What-is-ckBTC-#h_01HE64A4QKANB6JX8VERRP5Y80"
>
ckBTC dashboard
<LinkArrowRight />
ckBTC &lt;&gt; ICP user guide
</Link>
</p>
<Link
className="link-primary link-with-icon"
href="https://medium.com/dfinity/threshold-ecdsa-the-key-ingredient-behind-the-internet-computers-bitcoin-and-ethereum-cf22649b98a1"
>
<LinkArrowRight />
Chain-key ECDSA blog
</Link>
</div>
<div>
<h3 className="tw-heading-5 md:tw-heading-3 mb-6">
Expand Down Expand Up @@ -542,17 +541,20 @@ function CkbtcPage(): JSX.Element {
</h3>

<p className="tw-paragraph mb-3">
Several security assessments are taken on critical components of
the Internet Computer such as ckBTC to ensure robust security. These
include{" "}
Several security assessments are taken on critical
components of the Internet Computer such as ckBTC to ensure
robust security. These include{" "}
<Link href="https://medium.com/dfinity/eliminating-smart-contract-bugs-with-tla-e986aeb6da24/">
TLA+ models
</Link> to formally verify some guarantees, several internal
and external security assessments. In 2023, both Bitcoin integration and
ckBTC have undergone an external security audit conducted by{" "}
</Link>{" "}
to formally verify some guarantees, several internal and
external security assessments. In 2023, both Bitcoin
integration and ckBTC have undergone an external security
audit conducted by{" "}
<Link href="https://www.trailofbits.com/">
Trail of Bits
</Link> with no severe issues found.
</Link>{" "}
with no severe issues found.
</p>

<Link
Expand Down
18 changes: 12 additions & 6 deletions src/pages/defi.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -197,13 +197,19 @@ function DefiPage() {
between BTC/ETH in seconds for a few cents with 0 gas fees by
using ckBTC, ckETH, and soon ckERC-20 tokens.{" "}
</p>
<p className="mb-0">
<p className="mb-0 flex flex-col gap-6 items-start">
<Link
href="https://support.dfinity.org/hc/en-us/articles/20708056282132-What-is-ckBTC-#h_01HE64A4QKANB6JX8VERRP5Y80"
className="link-primary"
>
<LinkArrowRight />
BTC &lt;&gt; ICP user guide
</Link>
<Link
href="https://dashboard.internetcomputer.org/bitcoin/transactions"
className="link-primary link-with-icon"
className="button-primary"
>
Track TX activity on the ICP Dashboard
<LinkArrowUpRight />
Track TX activity
</Link>
</p>
</div>
Expand Down Expand Up @@ -370,8 +376,8 @@ function DefiPage() {
<img src="/img/defi/plug.webp" alt="" className="w-20" />
<h3 className="tw-heading-5 mb-2 mt-4">Plug</h3>
<p className="text-white/60 tw-lead-sm mb-0">
Store, swap and manage digital assets, inlcuding ckBTC and ckETH on a
simple mobile app or use your favorite browser.
Store, swap and manage digital assets, inlcuding ckBTC and
ckETH on a simple mobile app or use your favorite browser.
</p>
</Link>
</motion.div>
Expand Down

0 comments on commit 8c15909

Please sign in to comment.