Skip to content

Commit

Permalink
update shareimage, fix font
Browse files Browse the repository at this point in the history
  • Loading branch information
reigj1 authored and reigj1 committed May 17, 2024
1 parent 533c51e commit 7e9cb63
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 13 deletions.
58 changes: 45 additions & 13 deletions src/pages/what-is-the-ic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function WhatIsIcpPage() {
description={`The Internet Computer adds autonomous serverless cloud functionality to the public Internet - making it possible to build almost any system or service entirely on a decentralized network using “canister software,” an evolution of smart contracts.`}
editPath={`https://github.com/dfinity/portal/edit/master/${__filename}`}
>
<ShareMeta image="/img/shareImages/share-what-is-the-ic.jpg"></ShareMeta>
<ShareMeta image="/img/shareImages/share-what-is-the-ic.webp"></ShareMeta>

<main
className="text-black relative overflow-hidden"
Expand Down Expand Up @@ -277,7 +277,7 @@ function WhatIsIcpPage() {
className="link-primary link-with-icon !text-white hover:text-white hover:opacity-80 duration-200 ease-in-out"
href="/docs/current/developer-docs/cost-estimations-and-examples"
>
<LinkArrowRight /> Learn more about ICP costs
<DocsIcon /> Learn more about ICP costs
</Link>
</TranslatedLayout>

Expand Down Expand Up @@ -341,8 +341,8 @@ function WhatIsIcpPage() {
className="link-primary link-with-icon !text-white hover:text-white hover:opacity-80 duration-200 ease-in-out"
href="/docs/current/developer-docs/smart-contracts/encryption/t-ecdsa/"
>
<LinkArrowRight /> Learn more about ICP contracts threshold
signing
<DocsIcon className="mr-1 ml-1 md:ml-0" /> Learn more about
ICP contracts threshold signing
</Link>
</TranslatedLayout>
<TranslatedLayout
Expand Down Expand Up @@ -433,7 +433,12 @@ function WhatIsIcpPage() {
alt=""
className="h-24"
/>
<h3 className="tw-lead my-3 md:tw-title-sm">DAO control </h3>
<h3
className="tw-lead my-3 lg:text-[2rem] xl:tw-title-sm
"
>
DAO control{" "}
</h3>
<p className="tw-paragraph-sm text-black/60 md:tw-paragraph-sm mb-2 md:text-center">
Protocols often evolve slowly due to the need for consensus.
ICP stands out by enabling frequent, decentralized updates
Expand All @@ -452,7 +457,10 @@ function WhatIsIcpPage() {
alt=""
className="h-24"
/>
<h3 className="tw-lead my-3 md:tw-title-sm">
<h3
className="tw-lead my-3 lg:text-[2rem] xl:tw-title-sm
"
>
Scale out via subnets
</h3>
<p className="tw-paragraph-sm text-black/60 md:tw-paragraph-sm mb-2 md:text-center">
Expand All @@ -472,7 +480,10 @@ function WhatIsIcpPage() {
alt=""
className="h-24"
/>
<h3 className="tw-lead my-3 md:tw-title-sm">
<h3
className="tw-lead my-3 lg:text-[2rem] xl:tw-title-sm
"
>
Powerful node hardware{" "}
</h3>
<p className="tw-paragraph-sm text-black/60 md:tw-paragraph-sm mb-2 md:text-center">
Expand All @@ -493,7 +504,12 @@ function WhatIsIcpPage() {
alt=""
className="h-24"
/>
<h3 className="tw-lead my-3 md:tw-title-sm">Asynchronous </h3>
<h3
className="tw-lead my-3 lg:text-[2rem] xl:tw-title-sm
"
>
Asynchronous{" "}
</h3>
<p className="tw-paragraph-sm text-black/60 md:tw-paragraph-sm mb-2 md:text-center">
ICP's smart contracts operate asynchronously, unlike
Ethereum’s synchronous model which causes delays as
Expand All @@ -513,7 +529,7 @@ function WhatIsIcpPage() {
alt=""
className="h-24"
/>
<h3 className="tw-lead my-3 md:tw-title-sm">
<h3 className="tw-lead my-3 lg:text-[2rem] xl:tw-title-sm">
Decentralization
</h3>
<p className="tw-paragraph-sm text-black/60 md:tw-paragraph-sm mb-2 md:text-center">
Expand All @@ -535,7 +551,12 @@ function WhatIsIcpPage() {
alt=""
className="h-24"
/>
<h3 className="tw-lead my-3 md:tw-title-sm">WebAssembly</h3>
<h3
className="tw-lead my-3 lg:text-[2rem] xl:tw-title-sm
"
>
WebAssembly
</h3>
<p className="tw-paragraph-sm text-black/60 md:tw-paragraph-sm mb-2 md:text-center">
ICP uses WebAssembly, an open standard for binary formats, for
its smart contracts. This enables developers to use various
Expand All @@ -553,7 +574,12 @@ function WhatIsIcpPage() {
alt=""
className="h-24"
/>
<h3 className="tw-lead my-3 md:tw-title-sm">Reverse gas</h3>
<h3
className="tw-lead my-3 lg:text-[2rem] xl:tw-title-sm
"
>
Reverse gas
</h3>
<p className="tw-paragraph-sm text-black/60 md:tw-paragraph-sm mb-2 md:text-center">
The reverse gas model allows developers to prepay gas fees by
loading their smart contracts with 'cycles,' enabling users to
Expand All @@ -573,7 +599,10 @@ function WhatIsIcpPage() {
alt=""
className="h-24"
/>
<h3 className="tw-lead my-3 md:tw-title-sm">
<h3
className="tw-lead my-3 lg:text-[2rem] xl:tw-title-sm
"
>
Smart contracts serve web assets{" "}
</h3>
<p className="tw-paragraph-sm text-black/60 md:tw-paragraph-sm mb-2 md:text-center">
Expand All @@ -592,7 +621,10 @@ function WhatIsIcpPage() {
alt=""
className="h-24"
/>
<h3 className="tw-lead my-3 md:tw-title-sm">
<h3
className="tw-lead my-3 lg:text-[2rem] xl:tw-title-sm
"
>
Chain key cryptography
</h3>
<p className="tw-paragraph-sm text-black/60 md:tw-paragraph-sm mb-2 md:text-center">
Expand Down
Binary file removed static/img/shareImages/share-what-is-the-ic.jpg
Binary file not shown.
Binary file added static/img/shareImages/share-what-is-the-ic.webp
Binary file not shown.

0 comments on commit 7e9cb63

Please sign in to comment.